aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-12-02 15:33:00 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-02 09:55:04 -0800
commit7ce12f1e8b4614a7b77bf4f05668ff5c79e7f541 (patch)
treed2bb00121b006683b7c487645fb1d47c5c45efe2 /qt-ui/maintab.ui
parentd26f109fba9d5f6f3a78b907334affacce4ffaeb (diff)
downloadsubsurface-7ce12f1e8b4614a7b77bf4f05668ff5c79e7f541.tar.gz
Removed The button box from mainwindow, buttons are now on the message.
The button box on the bottom of the window made it a bit cluttered on small screens, this patch uses the window of the MessageWidget to show the butons - this way less space is used and things are better spaced on screen. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r--qt-ui/maintab.ui54
1 files changed, 19 insertions, 35 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui
index 90bcf57b7..8133afb03 100644
--- a/qt-ui/maintab.ui
+++ b/qt-ui/maintab.ui
@@ -34,8 +34,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>501</width>
- <height>535</height>
+ <width>493</width>
+ <height>586</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
@@ -170,6 +170,13 @@
</property>
</widget>
</item>
+ <item row="14" column="0" colspan="2">
+ <widget class="QTextEdit" name="notes">
+ <property name="readOnly">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
<item row="10" column="1">
<widget class="QLineEdit" name="suit">
<property name="readOnly">
@@ -195,10 +202,10 @@
</item>
</layout>
</item>
- <item row="14" column="0" colspan="2">
- <widget class="QTextEdit" name="notes">
- <property name="readOnly">
- <bool>false</bool>
+ <item row="13" column="0">
+ <widget class="QLabel" name="NotesLabel">
+ <property name="text">
+ <string>Notes</string>
</property>
</widget>
</item>
@@ -219,20 +226,6 @@
</item>
</layout>
</item>
- <item row="13" column="0">
- <widget class="QLabel" name="NotesLabel">
- <property name="text">
- <string>Notes</string>
- </property>
- </widget>
- </item>
- <item row="15" column="0" colspan="2">
- <widget class="QDialogButtonBox" name="notesButtonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
- </property>
- </widget>
- </item>
<item row="12" column="0" colspan="2">
<widget class="TagWidget" name="tagWidget">
<property name="sizePolicy">
@@ -285,8 +278,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>515</width>
- <height>473</height>
+ <width>507</width>
+ <height>459</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_5">
@@ -338,13 +331,6 @@
</layout>
</widget>
</item>
- <item row="2" column="0">
- <widget class="QDialogButtonBox" name="equipmentButtonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
- </property>
- </widget>
- </item>
</layout>
</widget>
</widget>
@@ -372,8 +358,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>515</width>
- <height>473</height>
+ <width>492</width>
+ <height>375</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_6">
@@ -679,8 +665,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>515</width>
- <height>473</height>
+ <width>323</width>
+ <height>130</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_7">
@@ -857,9 +843,7 @@
<tabstop>suit</tabstop>
<tabstop>tagWidget</tabstop>
<tabstop>notes</tabstop>
- <tabstop>notesButtonBox</tabstop>
<tabstop>scrollArea_2</tabstop>
- <tabstop>equipmentButtonBox</tabstop>
<tabstop>scrollArea_3</tabstop>
<tabstop>scrollArea_4</tabstop>
</tabstops>