Browse Source

Use spinbox suffix to display rate unit

adaptive-webui-19844
thalieht 7 years ago
parent
commit
0b185e347b
  1. 50
      src/gui/optionsdlg.ui

50
src/gui/optionsdlg.ui

@ -1774,6 +1774,9 @@ @@ -1774,6 +1774,9 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string> KiB/s</string>
</property>
<property name="minimum">
<number>1</number>
</property>
@ -1792,18 +1795,14 @@ @@ -1792,18 +1795,14 @@
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_10">
<property name="text">
<string>KiB/s</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="spinDownloadLimit">
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string> KiB/s</string>
</property>
<property name="minimum">
<number>1</number>
</property>
@ -1815,13 +1814,6 @@ @@ -1815,13 +1814,6 @@
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="label_13">
<property name="text">
<string>KiB/s</string>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="2">
<widget class="QLabel" name="labelGlobalRate"/>
</item>
@ -1832,7 +1824,7 @@ @@ -1832,7 +1824,7 @@
</property>
</widget>
</item>
<item row="0" column="4">
<item row="0" column="3">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -1854,7 +1846,10 @@ @@ -1854,7 +1846,10 @@
<string>Alternative Rate Limits</string>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="2" column="0" colspan="5">
<item row="0" column="0" rowspan="2">
<widget class="QLabel" name="labelAltRate"/>
</item>
<item row="2" column="0" colspan="4">
<widget class="QGroupBox" name="check_schedule">
<property name="title">
<string>Schedule &amp;the use of alternative rate limits</string>
@ -1965,9 +1960,6 @@ @@ -1965,9 +1960,6 @@
</layout>
</widget>
</item>
<item row="0" column="0" rowspan="2">
<widget class="QLabel" name="labelAltRate"/>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="checkUploadLimitAlt">
<property name="text">
@ -1987,6 +1979,9 @@ @@ -1987,6 +1979,9 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string> KiB/s</string>
</property>
<property name="minimum">
<number>1</number>
</property>
@ -2003,6 +1998,9 @@ @@ -2003,6 +1998,9 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string> KiB/s</string>
</property>
<property name="minimum">
<number>1</number>
</property>
@ -2015,20 +2013,6 @@ @@ -2015,20 +2013,6 @@
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_14">
<property name="text">
<string>KiB/s</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="label_15">
<property name="text">
<string>KiB/s</string>
</property>
</widget>
</item>
<item row="0" column="4">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>

Loading…
Cancel
Save