Making alternate download/upload configuration behave like global download/upload configuration so as to allow boundless down/up

This commit is contained in:
LazyBui
2015-05-13 00:59:16 -05:00
parent 2c1d76c87f
commit 23ec562375
3 changed files with 137 additions and 61 deletions

View File

@@ -181,7 +181,7 @@
<x>0</x>
<y>0</y>
<width>458</width>
<height>587</height>
<height>611</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_9">
@@ -520,7 +520,7 @@
<x>0</x>
<y>0</y>
<width>458</width>
<height>905</height>
<height>933</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
@@ -1037,8 +1037,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>357</width>
<height>498</height>
<width>458</width>
<height>556</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_20">
@@ -1538,8 +1538,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>275</width>
<height>396</height>
<width>458</width>
<height>407</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_33">
@@ -1716,13 +1716,6 @@
</item>
<item row="0" column="1">
<layout class="QGridLayout" name="gridLayout_8">
<item row="0" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Upload:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="spinUploadLimitAlt">
<property name="minimum">
@@ -1743,15 +1736,11 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Download:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="spinDownloadLimitAlt">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimum">
<number>1</number>
</property>
@@ -1770,6 +1759,23 @@
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="checkUploadLimitAlt">
<property name="text">
<string>Upload:</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="checkDownloadLimitAlt">
<property name="text">
<string>Download:</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="2">
@@ -1816,6 +1822,12 @@
<property name="wrapping">
<bool>true</bool>
</property>
<property name="displayFormat">
<string notr="true">hh:mm</string>
</property>
<property name="calendarPopup">
<bool>false</bool>
</property>
<property name="time">
<time>
<hour>8</hour>
@@ -1823,12 +1835,6 @@
<second>0</second>
</time>
</property>
<property name="displayFormat">
<string notr="true">hh:mm</string>
</property>
<property name="calendarPopup">
<bool>false</bool>
</property>
</widget>
</item>
<item>
@@ -1846,6 +1852,9 @@
<property name="wrapping">
<bool>true</bool>
</property>
<property name="displayFormat">
<string notr="true">hh:mm</string>
</property>
<property name="time">
<time>
<hour>20</hour>
@@ -1853,9 +1862,6 @@
<second>0</second>
</time>
</property>
<property name="displayFormat">
<string notr="true">hh:mm</string>
</property>
</widget>
</item>
<item>
@@ -1956,8 +1962,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>418</width>
<height>442</height>
<width>458</width>
<height>381</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
@@ -2310,8 +2316,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>330</width>
<height>480</height>
<width>458</width>
<height>494</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_23">
@@ -2687,8 +2693,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>98</width>
<height>28</height>
<width>474</width>
<height>316</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_36"/>
@@ -2791,12 +2797,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>496</x>
<y>66</y>
<x>544</x>
<y>172</y>
</hint>
<hint type="destinationlabel">
<x>643</x>
<y>74</y>
<x>603</x>
<y>171</y>
</hint>
</hints>
</connection>
@@ -2807,12 +2813,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>494</x>
<y>97</y>
<x>544</x>
<y>198</y>
</hint>
<hint type="destinationlabel">
<x>611</x>
<y>99</y>
<x>603</x>
<y>197</y>
</hint>
</hints>
</connection>
@@ -2823,12 +2829,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>510</x>
<y>123</y>
<x>544</x>
<y>250</y>
</hint>
<hint type="destinationlabel">
<x>616</x>
<y>126</y>
<x>603</x>
<y>249</y>
</hint>
</hints>
</connection>
@@ -2839,12 +2845,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>552</x>
<y>441</y>
<x>509</x>
<y>372</y>
</hint>
<hint type="destinationlabel">
<x>612</x>
<y>443</y>
<x>584</x>
<y>373</y>
</hint>
</hints>
</connection>
@@ -2855,12 +2861,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>552</x>
<y>441</y>
<x>509</x>
<y>372</y>
</hint>
<hint type="destinationlabel">
<x>788</x>
<y>444</y>
<x>721</x>
<y>373</y>
</hint>
</hints>
</connection>
@@ -2875,8 +2881,8 @@
<y>147</y>
</hint>
<hint type="destinationlabel">
<x>430</x>
<y>176</y>
<x>711</x>
<y>172</y>
</hint>
</hints>
</connection>
@@ -2896,5 +2902,37 @@
</hint>
</hints>
</connection>
<connection>
<sender>checkDownloadLimitAlt</sender>
<signal>toggled(bool)</signal>
<receiver>spinDownloadLimitAlt</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>398</x>
<y>292</y>
</hint>
<hint type="destinationlabel">
<x>477</x>
<y>292</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkUploadLimitAlt</sender>
<signal>toggled(bool)</signal>
<receiver>spinUploadLimitAlt</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>398</x>
<y>263</y>
</hint>
<hint type="destinationlabel">
<x>477</x>
<y>263</y>
</hint>
</hints>
</connection>
</connections>
</ui>