Browse Source

- Set refresh list interval to 30ms min (instead of 10ms)

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
8b78096366
  1. 1
      src/transferlistwidget.cpp
  2. 46
      src/ui/options.ui

1
src/transferlistwidget.cpp

@ -380,6 +380,7 @@ void TransferListWidget::setFinished(QTorrentHandle &h) {
} }
void TransferListWidget::setRefreshInterval(int t) { void TransferListWidget::setRefreshInterval(int t) {
qDebug("Settings transfer list refresh interval to %dms", t);
refreshTimer->start(t); refreshTimer->start(t);
} }

46
src/ui/options.ui

@ -98,7 +98,7 @@
<set>AlignHCenter|AlignVCenter|AlignCenter</set> <set>AlignHCenter|AlignVCenter|AlignCenter</set>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/preferences-desktop.png</normaloff>:/Icons/oxygen/preferences-desktop.png</iconset> <normaloff>:/Icons/oxygen/preferences-desktop.png</normaloff>:/Icons/oxygen/preferences-desktop.png</iconset>
</property> </property>
<property name="flags"> <property name="flags">
@ -113,7 +113,7 @@
<set>AlignHCenter|AlignVCenter|AlignCenter</set> <set>AlignHCenter|AlignVCenter|AlignCenter</set>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/download.png</normaloff>:/Icons/oxygen/download.png</iconset> <normaloff>:/Icons/oxygen/download.png</normaloff>:/Icons/oxygen/download.png</iconset>
</property> </property>
<property name="flags"> <property name="flags">
@ -128,7 +128,7 @@
<set>AlignHCenter|AlignVCenter|AlignCenter</set> <set>AlignHCenter|AlignVCenter|AlignCenter</set>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/connection.png</normaloff>:/Icons/oxygen/connection.png</iconset> <normaloff>:/Icons/oxygen/connection.png</normaloff>:/Icons/oxygen/connection.png</iconset>
</property> </property>
<property name="flags"> <property name="flags">
@ -143,7 +143,7 @@
<set>AlignHCenter|AlignVCenter|AlignCenter</set> <set>AlignHCenter|AlignVCenter|AlignCenter</set>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/bt_settings.png</normaloff>:/Icons/oxygen/bt_settings.png</iconset> <normaloff>:/Icons/oxygen/bt_settings.png</normaloff>:/Icons/oxygen/bt_settings.png</iconset>
</property> </property>
<property name="flags"> <property name="flags">
@ -155,7 +155,7 @@
<string>Proxy</string> <string>Proxy</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/proxy.png</normaloff>:/Icons/oxygen/proxy.png</iconset> <normaloff>:/Icons/oxygen/proxy.png</normaloff>:/Icons/oxygen/proxy.png</iconset>
</property> </property>
</item> </item>
@ -167,7 +167,7 @@
<set>AlignHCenter|AlignVCenter|AlignCenter</set> <set>AlignHCenter|AlignVCenter|AlignCenter</set>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/filter.png</normaloff>:/Icons/oxygen/filter.png</iconset> <normaloff>:/Icons/oxygen/filter.png</normaloff>:/Icons/oxygen/filter.png</iconset>
</property> </property>
<property name="flags"> <property name="flags">
@ -182,7 +182,7 @@
<set>AlignHCenter|AlignVCenter|AlignCenter</set> <set>AlignHCenter|AlignVCenter|AlignCenter</set>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/webui.png</normaloff>:/Icons/oxygen/webui.png</iconset> <normaloff>:/Icons/oxygen/webui.png</normaloff>:/Icons/oxygen/webui.png</iconset>
</property> </property>
<property name="flags"> <property name="flags">
@ -197,7 +197,7 @@
<set>AlignHCenter|AlignVCenter|AlignCenter</set> <set>AlignHCenter|AlignVCenter|AlignCenter</set>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/rss32.png</normaloff>:/Icons/rss32.png</iconset> <normaloff>:/Icons/rss32.png</normaloff>:/Icons/rss32.png</iconset>
</property> </property>
<property name="flags"> <property name="flags">
@ -389,7 +389,7 @@
<item> <item>
<widget class="QSpinBox" name="spinRefreshInterval"> <widget class="QSpinBox" name="spinRefreshInterval">
<property name="minimum"> <property name="minimum">
<number>10</number> <number>30</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>99999</number> <number>99999</number>
@ -626,8 +626,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>620</width> <width>216</width>
<height>149</height> <height>147</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_17"> <layout class="QVBoxLayout" name="verticalLayout_17">
@ -691,7 +691,7 @@
</size> </size>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset> <normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset>
</property> </property>
</widget> </widget>
@ -740,7 +740,7 @@
</size> </size>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset> <normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset>
</property> </property>
</widget> </widget>
@ -813,7 +813,7 @@
</size> </size>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset> <normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset>
</property> </property>
</widget> </widget>
@ -1082,7 +1082,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>602</width> <width>451</width>
<height>513</height> <height>513</height>
</rect> </rect>
</property> </property>
@ -1503,8 +1503,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>620</width> <width>468</width>
<height>488</height> <height>347</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_19"> <layout class="QVBoxLayout" name="verticalLayout_19">
@ -1804,8 +1804,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>620</width> <width>363</width>
<height>488</height> <height>424</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_20"> <layout class="QVBoxLayout" name="verticalLayout_20">
@ -2360,7 +2360,7 @@
</size> </size>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="icons.qrc"> <iconset>
<normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset> <normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset>
</property> </property>
</widget> </widget>
@ -2583,8 +2583,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>620</width> <width>451</width>
<height>488</height> <height>195</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_24"> <layout class="QVBoxLayout" name="verticalLayout_24">
@ -2630,7 +2630,7 @@
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap resource="icons.qrc">:/Icons/rss32.png</pixmap> <pixmap>:/Icons/rss32.png</pixmap>
</property> </property>
<property name="scaledContents"> <property name="scaledContents">
<bool>true</bool> <bool>true</bool>

Loading…
Cancel
Save