- Fix issue with speed limiting (Infinite value was not handled properly)

- Improved bandwith limiting dialog by adding a SpinBox so that the user can input the value manually
This commit is contained in:
Christophe Dumez
2009-12-22 17:39:12 +00:00
parent fab58296af
commit 4252832ba5
3 changed files with 45 additions and 37 deletions

View File

@@ -33,28 +33,17 @@
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
<widget class="QSpinBox" name="spinBandwidth">
<property name="suffix">
<string/>
</property>
<property name="margin">
<property name="maximum">
<number>10000</number>
</property>
<property name="value">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="limit_lbl">
<property name="text">
<string notr="true">∞</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="kb_lbl">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
@@ -69,9 +58,6 @@
</widget>
</item>
</layout>
<zorder>bandwidthSlider</zorder>
<zorder>buttonBox</zorder>
<zorder>kb_lbl</zorder>
</widget>
<resources/>
<connections>