summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r--qt-ui/maintab.ui134
1 files changed, 108 insertions, 26 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui
index 70f88caec..74a9b15ad 100644
--- a/qt-ui/maintab.ui
+++ b/qt-ui/maintab.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>400</width>
- <height>325</height>
+ <height>368</height>
</rect>
</property>
<property name="windowTitle">
@@ -21,66 +21,106 @@
<string>Dive Notes</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_3">
- <item row="0" column="0">
+ <item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Location</string>
</property>
</widget>
</item>
- <item row="1" column="0" colspan="2">
- <widget class="QLineEdit" name="location"/>
+ <item row="2" column="0" colspan="2">
+ <widget class="QLineEdit" name="location">
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
</item>
- <item row="2" column="0">
+ <item row="3" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Divemaster</string>
</property>
</widget>
</item>
- <item row="2" column="1">
+ <item row="3" column="1">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Buddy</string>
</property>
</widget>
</item>
- <item row="3" column="0">
- <widget class="QLineEdit" name="divemaster"/>
+ <item row="4" column="0">
+ <widget class="QLineEdit" name="divemaster">
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
</item>
- <item row="3" column="1">
- <widget class="QLineEdit" name="buddy"/>
+ <item row="6" column="1">
+ <widget class="QLineEdit" name="suit">
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
</item>
- <item row="4" column="0">
+ <item row="4" column="1">
+ <widget class="QLineEdit" name="buddy">
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="0" colspan="2">
+ <widget class="QTextEdit" name="notes">
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Rating</string>
</property>
</widget>
</item>
- <item row="4" column="1">
+ <item row="5" column="1">
<widget class="QLabel" name="label_19">
<property name="text">
<string>Suit</string>
</property>
</widget>
</item>
- <item row="5" column="1">
- <widget class="QLineEdit" name="suit"/>
- </item>
- <item row="6" column="0">
+ <item row="7" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Notes</string>
</property>
</widget>
</item>
- <item row="7" column="0" colspan="2">
- <widget class="QTextEdit" name="notes"/>
- </item>
- <item row="5" column="0">
+ <item row="6" column="0">
<widget class="StarWidget" name="rating" native="true"/>
</item>
+ <item row="10" column="1">
+ <widget class="QPushButton" name="resetNotes">
+ <property name="text">
+ <string>reset</string>
+ </property>
+ </widget>
+ </item>
+ <item row="10" column="0">
+ <widget class="QPushButton" name="editNotes">
+ <property name="text">
+ <string>edit</string>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0" colspan="2">
+ <widget class="KMessageWidget" name="diveNotesMessage" native="true"/>
+ </item>
</layout>
</widget>
<widget class="QWidget" name="equipmentTab">
@@ -213,15 +253,24 @@
</item>
<item>
<layout class="QGridLayout" name="diveInfoUpperGridLayout">
+ <property name="leftMargin">
+ <number>10</number>
+ </property>
+ <property name="topMargin">
+ <number>10</number>
+ </property>
+ <property name="rightMargin">
+ <number>10</number>
+ </property>
+ <property name="bottomMargin">
+ <number>10</number>
+ </property>
<property name="horizontalSpacing">
<number>10</number>
</property>
<property name="verticalSpacing">
<number>15</number>
</property>
- <property name="margin">
- <number>10</number>
- </property>
<item row="0" column="0">
<widget class="QLabel" name="sacLabel">
<property name="font">
@@ -319,7 +368,16 @@
</item>
<item>
<layout class="QGridLayout" name="diveInfoLowerGridLayout">
- <property name="margin">
+ <property name="leftMargin">
+ <number>10</number>
+ </property>
+ <property name="topMargin">
+ <number>10</number>
+ </property>
+ <property name="rightMargin">
+ <number>10</number>
+ </property>
+ <property name="bottomMargin">
<number>10</number>
</property>
<property name="spacing">
@@ -542,7 +600,16 @@
</item>
<item>
<layout class="QGridLayout" name="statsUpperGridLayout">
- <property name="margin">
+ <property name="leftMargin">
+ <number>10</number>
+ </property>
+ <property name="topMargin">
+ <number>10</number>
+ </property>
+ <property name="rightMargin">
+ <number>10</number>
+ </property>
+ <property name="bottomMargin">
<number>10</number>
</property>
<property name="spacing">
@@ -685,7 +752,16 @@
</item>
<item>
<layout class="QGridLayout" name="statsLowerGridLayout">
- <property name="margin">
+ <property name="leftMargin">
+ <number>10</number>
+ </property>
+ <property name="topMargin">
+ <number>10</number>
+ </property>
+ <property name="rightMargin">
+ <number>10</number>
+ </property>
+ <property name="bottomMargin">
<number>10</number>
</property>
<property name="spacing">
@@ -874,6 +950,12 @@
</widget>
<customwidgets>
<customwidget>
+ <class>KMessageWidget</class>
+ <extends>QWidget</extends>
+ <header>kmessagewidget.h</header>
+ <container>1</container>
+ </customwidget>
+ <customwidget>
<class>StarWidget</class>
<extends>QWidget</extends>
<header>starwidget.h</header>