Changeset 38b9185 in subsurface


Ignore:
Timestamp:
May 6, 2017, 1:11:04 PM (8 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
876b479
Parents:
ad5819c
Message:

Add UI for duration preference

This isn't hooked up, yet.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • desktop-widgets/preferences/preferences_units.ui

    r67bba5d r38b9185  
    233233   </item>
    234234   <item>
     235    <widget class="QGroupBox">
     236     <property name="title">
     237      <string>Duration units</string>
     238     </property>
     239     <layout class="QGridLayout">
     240      <item row="0" column="0">
     241       <widget class="QLabel" >
     242        <property name="text">
     243         <string>Show hours in duration</string>
     244        </property>
     245       </widget>
     246      </item>
     247      <item row="0" column="1">
     248       <widget class="QRadioButton" name="duration_show_hours">
     249        <property name="text">
     250         <string>hh:mm (always)</string>
     251        </property>
     252       </widget>
     253      </item>
     254      <item row="1" column="1">
     255       <widget class="QRadioButton" name="duration_no_hours">
     256        <property name="text">
     257         <string>mm (always)</string>
     258        </property>
     259       </widget>
     260      </item>
     261      <item row="2" column="1">
     262       <widget class="QRadioButton" name="duration_mixed">
     263        <property name="text">
     264         <string>mm (for dives shorter than 1 hour), hh:mm (otherwise)</string>
     265        </property>
     266       </widget>
     267      </item>
     268     </layout>
     269    </widget>
     270   </item>
     271   <item>
    235272    <widget class="QGroupBox" name="groupBox_11">
    236273     <property name="title">
Note: See TracChangeset for help on using the changeset viewer.