Commit bba8d132 authored by Pierre Kraemer's avatar Pierre Kraemer

set plugin tabs movable

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