Commit 6d6accaa authored by Pierre Kraemer's avatar Pierre Kraemer

SCHNApps: update control dock width

parent 8fdc9e4c
......@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>200</width>
<width>220</width>
<height>673</height>
</rect>
</property>
......@@ -84,7 +84,7 @@
</size>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="dartInfo">
<attribute name="title">
......@@ -519,103 +519,103 @@
<string>W</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QLabel" name="label_volumeNbOrbits">
<property name="text">
<string>0</string>
<item row="4" column="2">
<widget class="QPushButton" name="button_volumeAddSelector">
<property name="minimumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="maximumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>+</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<item row="0" column="2" colspan="2">
<widget class="QLabel" name="label_volumeOrbits">
<property name="text">
<string>orbits</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_volumeNbCells">
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<item row="5" column="0" colspan="4">
<widget class="QListWidget" name="list_volumeSelectors">
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_volumeCells">
<item row="4" column="3">
<widget class="QPushButton" name="button_volumeRemoveSelector">
<property name="minimumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>cells</string>
<string>-</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_volumeAttributes">
<item row="4" column="0">
<widget class="QLabel" name="label_volumeSelectors">
<property name="text">
<string>Attributes :</string>
<string>Selectors :</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="3">
<item row="3" column="0" colspan="4">
<widget class="QListWidget" name="list_volumeAttributes">
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_volumeSelectors">
<item row="2" column="0">
<widget class="QLabel" name="label_volumeAttributes">
<property name="text">
<string>Selectors :</string>
<string>Attributes :</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="button_volumeAddSelector">
<property name="minimumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<item row="1" column="2" colspan="2">
<widget class="QLabel" name="label_volumeCells">
<property name="text">
<string>+</string>
<string>cells</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QPushButton" name="button_volumeRemoveSelector">
<property name="minimumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>25</width>
<height>25</height>
</size>
</property>
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_volumeNbOrbits">
<property name="text">
<string>-</string>
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="5" column="0" colspan="3">
<widget class="QListWidget" name="list_volumeSelectors">
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="label_volumeNbCells">
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
......
......@@ -57,7 +57,7 @@ SCHNApps::SCHNApps(const QString& appPath, PythonQtObjectPtr& pythonContext, Pyt
m_controlDock = new QDockWidget("Control Dock", this);
m_controlDock->setAllowedAreas(Qt::LeftDockWidgetArea);
m_controlDock->setFeatures(QDockWidget::DockWidgetFloatable | QDockWidget::DockWidgetClosable);
m_controlDock->setMaximumWidth(200);
m_controlDock->setMaximumWidth(250);
m_controlDockTabWidget = new QTabWidget(m_controlDock);
m_controlDockTabWidget->setObjectName("ControlDockTabWidget");
......
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