Commit bba8d132 authored by Pierre Kraemer's avatar Pierre Kraemer

set plugin tabs movable

parent ea92bf90
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>200</width> <width>207</width>
<height>600</height> <height>600</height>
</rect> </rect>
</property> </property>
...@@ -131,6 +131,17 @@ ...@@ -131,6 +131,17 @@
<header>colorComboBox.h</header> <header>colorComboBox.h</header>
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<tabstops>
<tabstop>combo_positionAttribute</tabstop>
<tabstop>check_drawDarts</tabstop>
<tabstop>combo_dartsColor</tabstop>
<tabstop>check_drawPhi1</tabstop>
<tabstop>combo_phi1Color</tabstop>
<tabstop>check_drawPhi2</tabstop>
<tabstop>combo_phi2Color</tabstop>
<tabstop>slider_edgesScaleFactor</tabstop>
<tabstop>slider_facesScaleFactor</tabstop>
</tabstops>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>200</width> <width>207</width>
<height>600</height> <height>600</height>
</rect> </rect>
</property> </property>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</item> </item>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="0">
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
......
...@@ -51,6 +51,7 @@ SCHNApps::SCHNApps(const QString& appPath, PythonQtObjectPtr& pythonContext, Pyt ...@@ -51,6 +51,7 @@ SCHNApps::SCHNApps(const QString& appPath, PythonQtObjectPtr& pythonContext, Pyt
m_controlDockTabWidget->setObjectName("ControlDockTabWidget"); m_controlDockTabWidget->setObjectName("ControlDockTabWidget");
m_controlDockTabWidget->setLayoutDirection(Qt::LeftToRight); m_controlDockTabWidget->setLayoutDirection(Qt::LeftToRight);
m_controlDockTabWidget->setTabPosition(QTabWidget::North); m_controlDockTabWidget->setTabPosition(QTabWidget::North);
m_controlDockTabWidget->setMovable(true);
addDockWidget(Qt::LeftDockWidgetArea, m_controlDock); addDockWidget(Qt::LeftDockWidgetArea, m_controlDock);
m_controlDock->setVisible(true); m_controlDock->setVisible(true);
...@@ -77,6 +78,7 @@ SCHNApps::SCHNApps(const QString& appPath, PythonQtObjectPtr& pythonContext, Pyt ...@@ -77,6 +78,7 @@ SCHNApps::SCHNApps(const QString& appPath, PythonQtObjectPtr& pythonContext, Pyt
m_pluginDockTabWidget->setObjectName("PluginDockTabWidget"); m_pluginDockTabWidget->setObjectName("PluginDockTabWidget");
m_pluginDockTabWidget->setLayoutDirection(Qt::LeftToRight); m_pluginDockTabWidget->setLayoutDirection(Qt::LeftToRight);
m_pluginDockTabWidget->setTabPosition(QTabWidget::East); m_pluginDockTabWidget->setTabPosition(QTabWidget::East);
m_pluginDockTabWidget->setMovable(true);
addDockWidget(Qt::RightDockWidgetArea, m_pluginDock); addDockWidget(Qt::RightDockWidgetArea, m_pluginDock);
m_pluginDock->setVisible(false); m_pluginDock->setVisible(false);
......
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