Browse Source

Use spinbox suffix to display time unit

adaptive-webui-19844
thalieht 7 years ago
parent
commit
2eea57e609
  1. 60
      src/gui/optionsdlg.ui

60
src/gui/optionsdlg.ui

@ -2357,7 +2357,7 @@ @@ -2357,7 +2357,7 @@
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout_13">
<item row="2" column="3">
<item row="2" column="2">
<spacer name="horizontalSpacer_21">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -2410,7 +2410,7 @@ @@ -2410,7 +2410,7 @@
</property>
</widget>
</item>
<item row="0" column="3">
<item row="0" column="2">
<spacer name="horizontalSpacer_9">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -2423,7 +2423,7 @@ @@ -2423,7 +2423,7 @@
</property>
</spacer>
</item>
<item row="1" column="3">
<item row="1" column="2">
<spacer name="horizontalSpacer_15">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -2438,6 +2438,9 @@ @@ -2438,6 +2438,9 @@
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="spinSlowTorrentsInactivityTimer">
<property name="suffix">
<string extracomment="seconds"> sec</string>
</property>
<property name="minimum">
<number>1</number>
</property>
@ -2456,13 +2459,6 @@ @@ -2456,13 +2459,6 @@
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="labelSeconds">
<property name="text">
<string>seconds</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
@ -2505,23 +2501,6 @@ @@ -2505,23 +2501,6 @@
</property>
</widget>
</item>
<item row="4" column="4" colspan="2">
<widget class="QComboBox" name="comboRatioLimitAct">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<property name="text">
<string>Pause them</string>
</property>
</item>
<item>
<property name="text">
<string>Remove them</string>
</property>
</item>
</widget>
</item>
<item row="4" column="6">
<spacer name="horizontalSpacer_20">
<property name="orientation">
@ -2569,6 +2548,9 @@ @@ -2569,6 +2548,9 @@
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="suffix">
<string extracomment="minutes"> min</string>
</property>
<property name="maximum">
<number>9999999</number>
</property>
@ -2599,13 +2581,6 @@ @@ -2599,13 +2581,6 @@
</property>
</widget>
</item>
<item row="3" column="5">
<widget class="QLabel" name="label_11">
<property name="text">
<string>minutes</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="4">
<widget class="QCheckBox" name="checkMaxSeedingMinutes">
<property name="text">
@ -2613,6 +2588,23 @@ @@ -2613,6 +2588,23 @@
</property>
</widget>
</item>
<item row="4" column="4">
<widget class="QComboBox" name="comboRatioLimitAct">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<property name="text">
<string>Pause them</string>
</property>
</item>
<item>
<property name="text">
<string>Remove them</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>

Loading…
Cancel
Save