diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-06-26 14:35:53 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-26 15:48:19 -0700 |
commit | 7c037c8d0550665f6b7718d13c4a2a091b5f814b (patch) | |
tree | 21823b26721f71efbeb8adcda7fa8b030ee8efac /qt-ui | |
parent | f01fdc48bc1677034104fc468ba7625a6736776f (diff) | |
download | subsurface-7c037c8d0550665f6b7718d13c4a2a091b5f814b.tar.gz |
Added a TimeEdit
The thing that I was trying to do didn't worked, getting back
to the original Qt timeEdit.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.ui | 182 |
1 files changed, 96 insertions, 86 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index 5bfa53d0e..ff7a45862 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -57,7 +57,14 @@ <property name="spacing"> <number>2</number> </property> - <item row="1" column="1"> + <item row="5" column="0"> + <widget class="QLabel" name="CoordinatedLabel"> + <property name="text"> + <string>Coordinates</string> + </property> + </widget> + </item> + <item row="1" column="2"> <layout class="QHBoxLayout" name="temperatureLabels"> <item> <widget class="QLabel" name="airTempLabel"> @@ -75,7 +82,14 @@ </item> </layout> </item> - <item row="2" column="1"> + <item row="13" column="0"> + <widget class="QLabel" name="NotesLabel"> + <property name="text"> + <string>Notes</string> + </property> + </widget> + </item> + <item row="2" column="2"> <layout class="QHBoxLayout" name="airWaterTempLayout"> <item> <widget class="QLineEdit" name="airtemp"> @@ -93,36 +107,36 @@ </item> </layout> </item> - <item row="4" column="0" colspan="2"> + <item row="4" column="0" colspan="3"> <widget class="QLineEdit" name="location"> <property name="readOnly"> <bool>false</bool> </property> </widget> </item> - <item row="3" column="0"> - <widget class="QLabel" name="LocationLabel"> - <property name="text"> - <string>Location</string> + <item row="14" column="0" colspan="3"> + <widget class="QTextEdit" name="notes"> + <property name="readOnly"> + <bool>false</bool> </property> </widget> </item> - <item row="11" column="0"> - <widget class="QLabel" name="TagLabel"> + <item row="9" column="2"> + <widget class="QLabel" name="SuitLabel"> <property name="text"> - <string>Tags</string> + <string>Suit</string> </property> </widget> </item> - <item row="6" column="0" colspan="2"> - <widget class="QLineEdit" name="coordinates"> - <property name="readOnly"> - <bool>false</bool> + <item row="3" column="0"> + <widget class="QLabel" name="LocationLabel"> + <property name="text"> + <string>Location</string> </property> </widget> </item> - <item row="8" column="0"> - <widget class="TagWidget" name="divemaster"> + <item row="8" column="2"> + <widget class="TagWidget" name="buddy"> <property name="maximumSize"> <size> <width>16777215</width> @@ -134,28 +148,15 @@ </property> </widget> </item> - <item row="5" column="0"> - <widget class="QLabel" name="CoordinatedLabel"> - <property name="text"> - <string>Coordinates</string> - </property> - </widget> - </item> - <item row="7" column="1"> + <item row="7" column="2"> <widget class="QLabel" name="BuddyLabel"> <property name="text"> <string>Buddy</string> </property> </widget> </item> - <item row="8" column="1"> - <widget class="TagWidget" name="buddy"> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>30</height> - </size> - </property> + <item row="6" column="0" colspan="3"> + <widget class="QLineEdit" name="coordinates"> <property name="readOnly"> <bool>false</bool> </property> @@ -168,21 +169,72 @@ </property> </widget> </item> - <item row="14" column="0" colspan="2"> - <widget class="QTextEdit" name="notes"> + <item row="10" column="2"> + <widget class="QLineEdit" name="suit"> <property name="readOnly"> <bool>false</bool> </property> </widget> </item> - <item row="10" column="1"> - <widget class="QLineEdit" name="suit"> + <item row="11" column="0"> + <widget class="QLabel" name="TagLabel"> + <property name="text"> + <string>Tags</string> + </property> + </widget> + </item> + <item row="1" column="0" rowspan="2"> + <widget class="DateWidget" name="dateEdit" native="true"> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + </widget> + </item> + <item row="12" column="0" colspan="3"> + <widget class="TagWidget" name="tagWidget"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>0</width> + <height>0</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>30</height> + </size> + </property> + <property name="verticalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOff</enum> + </property> + <property name="horizontalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOff</enum> + </property> + <property name="lineWrapMode"> + <enum>QPlainTextEdit::NoWrap</enum> + </property> + </widget> + </item> + <item row="8" column="0" colspan="2"> + <widget class="TagWidget" name="divemaster"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>30</height> + </size> + </property> <property name="readOnly"> <bool>false</bool> </property> </widget> </item> - <item row="9" column="0"> + <item row="9" column="0" colspan="2"> <layout class="QHBoxLayout" name="ratingVisibilityLabels"> <item> <widget class="QLabel" name="RatingLabel"> @@ -200,21 +252,7 @@ </item> </layout> </item> - <item row="13" column="0"> - <widget class="QLabel" name="NotesLabel"> - <property name="text"> - <string>Notes</string> - </property> - </widget> - </item> - <item row="9" column="1"> - <widget class="QLabel" name="SuitLabel"> - <property name="text"> - <string>Suit</string> - </property> - </widget> - </item> - <item row="10" column="0"> + <item row="10" column="0" colspan="2"> <layout class="QHBoxLayout" name="ratingVisibilityWidgets"> <item> <widget class="StarWidget" name="rating" native="true"> @@ -232,43 +270,15 @@ </item> </layout> </item> - <item row="1" column="0" rowspan="2"> - <widget class="DateWidget" name="dateEdit" native="true"> - <property name="focusPolicy"> - <enum>Qt::StrongFocus</enum> + <item row="1" column="1"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Time</string> </property> </widget> </item> - <item row="12" column="0" colspan="2"> - <widget class="TagWidget" name="tagWidget"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>30</height> - </size> - </property> - <property name="verticalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOff</enum> - </property> - <property name="horizontalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOff</enum> - </property> - <property name="lineWrapMode"> - <enum>QPlainTextEdit::NoWrap</enum> - </property> - </widget> + <item row="2" column="1"> + <widget class="QTimeEdit" name="timeEdit"/> </item> </layout> </widget> |