Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
David Cazier
CGoGN
Commits
6d6accaa
Commit
6d6accaa
authored
Mar 06, 2015
by
Pierre Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCHNApps: update control dock width
parent
8fdc9e4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
61 deletions
+61
-61
SCHNApps/forms/controlDock_MapTabWidget.ui
SCHNApps/forms/controlDock_MapTabWidget.ui
+60
-60
SCHNApps/src/schnapps.cpp
SCHNApps/src/schnapps.cpp
+1
-1
No files found.
SCHNApps/forms/controlDock_MapTabWidget.ui
View file @
6d6accaa
...
...
@@ -6,7 +6,7 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
2
0
0
</width>
<width>
2
2
0
</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_volume
Attribute
s"
>
<item
row=
"
4
"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_volume
Selector
s"
>
<property
name=
"text"
>
<string>
Attribute
s :
</string>
<string>
Selector
s :
</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_volume
Selector
s"
>
<item
row=
"
2
"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_volume
Attribute
s"
>
<property
name=
"text"
>
<string>
Selector
s :
</string>
<string>
Attribute
s :
</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>
...
...
SCHNApps/src/schnapps.cpp
View file @
6d6accaa
...
...
@@ -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
(
2
0
0
);
m_controlDock
->
setMaximumWidth
(
2
5
0
);
m_controlDockTabWidget
=
new
QTabWidget
(
m_controlDock
);
m_controlDockTabWidget
->
setObjectName
(
"ControlDockTabWidget"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment