Commit 969a6886 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: Set Applications ToolBox as a Widget

parent b163012c
......@@ -64,7 +64,7 @@ namespace mvd
/*******************************************************************************/
ApplicationsToolBox
::ApplicationsToolBox( QWidget* parent, Qt::WindowFlags flags ):
QDockWidget( parent, flags ),
QWidget( parent, flags ),
m_UI( new mvd::Ui::ApplicationsToolBox() )
{
m_UI->setupUi( this );
......
......@@ -75,7 +75,7 @@ class ApplicationsToolBox;
* widget class.
*/
class Monteverdi2_EXPORT ApplicationsToolBox :
public QDockWidget
public QWidget
{
/*-[ QOBJECT SECTION ]-----------------------------------------------------*/
......
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>mvd::ApplicationsToolBox</class>
<widget class="QDockWidget" name="mvd::ApplicationsToolBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>225</width>
<height>444</height>
</rect>
</property>
<property name="windowTitle">
<string>OTB Applications</string>
</property>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>2</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="m_SearchLine"/>
</item>
<item>
<widget class="QTreeWidget" name="m_AlgorithmsTree">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="headerHidden">
<bool>true</bool>
</property>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>mvd::ApplicationsToolBox</class>
<widget class="QWidget" name="mvd::ApplicationsToolBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>283</width>
<height>375</height>
</rect>
</property>
<property name="windowTitle">
<string>OTB Applications</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLineEdit" name="m_SearchLine"/>
</item>
<item row="1" column="0">
<widget class="QTreeWidget" name="m_AlgorithmsTree">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="headerHidden">
<bool>true</bool>
</property>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment