1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

- Started work on temp folder

- Use a proper icon for browse buttons
This commit is contained in:
Christophe Dumez 2009-03-08 14:51:27 +00:00
parent aec32db565
commit ee99df0ba9
3 changed files with 319 additions and 197 deletions

BIN
src/Icons/oxygen/browse.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

View File

@ -42,6 +42,7 @@
<file>Icons/flags/turkey.png</file> <file>Icons/flags/turkey.png</file>
<file>Icons/flags/ukraine.png</file> <file>Icons/flags/ukraine.png</file>
<file>Icons/flags/united_kingdom.png</file> <file>Icons/flags/united_kingdom.png</file>
<file>Icons/oxygen/browse.png</file>
<file>Icons/oxygen/bt_settings.png</file> <file>Icons/oxygen/bt_settings.png</file>
<file>Icons/oxygen/bug.png</file> <file>Icons/oxygen/bug.png</file>
<file>Icons/oxygen/button_cancel.png</file> <file>Icons/oxygen/button_cancel.png</file>

View File

@ -590,7 +590,7 @@
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tabOptionPage2"> <widget class="QWidget" name="tabOptionPage2">
<layout class="QVBoxLayout" name="verticalLayout_5"> <layout class="QVBoxLayout" name="verticalLayout_13">
<item> <item>
<widget class="QGroupBox" name="fileSystemBox"> <widget class="QGroupBox" name="fileSystemBox">
<property name="sizePolicy"> <property name="sizePolicy">
@ -602,14 +602,7 @@
<property name="title"> <property name="title">
<string>File system</string> <string>File system</string>
</property> </property>
<layout class="QVBoxLayout"> <layout class="QVBoxLayout" name="verticalLayout_12">
<item>
<widget class="QLabel" name="lblSavePath">
<property name="text">
<string>Put downloads in this folder:</string>
</property>
</widget>
</item>
<item> <item>
<layout class="QHBoxLayout"> <layout class="QHBoxLayout">
<property name="spacing"> <property name="spacing">
@ -626,6 +619,13 @@
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<item>
<widget class="QLabel" name="lblSavePath">
<property name="text">
<string>Download folder:</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QLineEdit" name="textSavePath"> <widget class="QLineEdit" name="textSavePath">
<property name="text"> <property name="text">
@ -635,8 +635,24 @@
</item> </item>
<item> <item>
<widget class="QToolButton" name="browseSaveDirButton"> <widget class="QToolButton" name="browseSaveDirButton">
<property name="text"> <property name="enabled">
<string>...</string> <bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>22</width>
<height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>25</width>
<height>27</height>
</size>
</property>
<property name="icon">
<iconset resource="icons.qrc">
<normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset>
</property> </property>
</widget> </widget>
</item> </item>
@ -644,6 +660,47 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QCheckBox" name="checkBox">
<property name="text">
<string>Temp folder:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="tempSavePath">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="browseTempDirButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>25</horstretch>
<verstretch>27</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>22</width>
<height>22</height>
</size>
</property>
<property name="icon">
<iconset resource="icons.qrc">
<normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item> <item>
<widget class="QCheckBox" name="checkPreallocateAll"> <widget class="QCheckBox" name="checkPreallocateAll">
<property name="text"> <property name="text">
@ -654,55 +711,6 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<widget class="QGroupBox" name="torrentAdditionBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>When adding a torrent</string>
</property>
<layout class="QVBoxLayout">
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QCheckBox" name="checkAdditionDialog">
<property name="text">
<string>Display torrent content and some options</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="checkStartPaused">
<property name="text">
<string comment="The torrent will be added to download list in pause state">Do not start download automatically</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item> <item>
<widget class="QGroupBox" name="dirScanBox"> <widget class="QGroupBox" name="dirScanBox">
<property name="sizePolicy"> <property name="sizePolicy">
@ -742,8 +750,21 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="minimumSize">
<string>...</string> <size>
<width>22</width>
<height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>25</width>
<height>27</height>
</size>
</property>
<property name="icon">
<iconset resource="icons.qrc">
<normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset>
</property> </property>
</widget> </widget>
</item> </item>
@ -753,149 +774,236 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupQueueing"> <layout class="QHBoxLayout" name="horizontalLayout_6">
<property name="title"> <item>
<string>Torrent queueing</string> <widget class="QGroupBox" name="groupQueueing">
</property> <property name="title">
<layout class="QVBoxLayout" name="verticalLayout"> <string>Torrent queueing</string>
<item> </property>
<widget class="QCheckBox" name="checkEnableQueueing"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="text">
<string>Enable queueing system</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="_2">
<item> <item>
<widget class="QLabel" name="label_max_active_dl"> <widget class="QCheckBox" name="checkEnableQueueing">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text"> <property name="text">
<string>Maximum active downloads:</string> <string>Enable queueing system</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinMaxActiveDownloads"> <layout class="QHBoxLayout" name="_2">
<property name="enabled"> <item>
<bool>false</bool> <widget class="QLabel" name="label_max_active_dl">
</property> <property name="enabled">
<property name="minimum"> <bool>false</bool>
<number>-1</number> </property>
</property> <property name="text">
<property name="maximum"> <string>Maximum active downloads:</string>
<number>999</number> </property>
</property> </widget>
<property name="value"> </item>
<number>3</number> <item>
</property> <widget class="QSpinBox" name="spinMaxActiveDownloads">
</widget> <property name="enabled">
<bool>false</bool>
</property>
<property name="minimum">
<number>-1</number>
</property>
<property name="maximum">
<number>999</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item> </item>
<item> <item>
<spacer> <layout class="QHBoxLayout" name="_6">
<property name="orientation"> <item>
<enum>Qt::Horizontal</enum> <widget class="QLabel" name="label_max_active_up">
</property> <property name="enabled">
<property name="sizeHint" stdset="0"> <bool>false</bool>
<size> </property>
<width>40</width> <property name="text">
<height>20</height> <string>Maximum active uploads:</string>
</size> </property>
</property> </widget>
</spacer> </item>
<item>
<widget class="QSpinBox" name="spinMaxActiveUploads">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimum">
<number>-1</number>
</property>
<property name="maximum">
<number>999</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="_7">
<item>
<widget class="QLabel" name="maxActiveTorrents_lbl">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Maximum active torrents:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinMaxActiveTorrents">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimum">
<number>-1</number>
</property>
<property name="maximum">
<number>999</number>
</property>
<property name="value">
<number>5</number>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>381</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item> </item>
</layout> </layout>
</item> </widget>
<item> </item>
<layout class="QHBoxLayout" name="_6"> <item>
<item> <layout class="QVBoxLayout" name="verticalLayout_11">
<widget class="QLabel" name="label_max_active_up"> <item>
<property name="enabled"> <widget class="QGroupBox" name="torrentAdditionBox">
<bool>false</bool> <property name="sizePolicy">
</property> <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<property name="text"> <horstretch>0</horstretch>
<string>Maximum active uploads:</string> <verstretch>0</verstretch>
</property> </sizepolicy>
</widget> </property>
</item> <property name="title">
<item> <string>When adding a torrent</string>
<widget class="QSpinBox" name="spinMaxActiveUploads"> </property>
<property name="enabled"> <layout class="QVBoxLayout" name="verticalLayout_5">
<bool>false</bool> <item>
</property> <layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="minimum"> <item>
<number>-1</number> <widget class="QCheckBox" name="checkAdditionDialog">
</property> <property name="text">
<property name="maximum"> <string>Display torrent content and some options</string>
<number>999</number> </property>
</property> <property name="checked">
<property name="value"> <bool>true</bool>
<number>3</number> </property>
</property> </widget>
</widget> </item>
</item> <item>
<item> <spacer name="horizontalSpacer_2">
<spacer> <property name="orientation">
<property name="orientation"> <enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum> </property>
</property> <property name="sizeHint" stdset="0">
<property name="sizeHint" stdset="0"> <size>
<size> <width>40</width>
<width>40</width> <height>20</height>
<height>20</height> </size>
</size> </property>
</property> </spacer>
</spacer> </item>
</item> </layout>
</layout> </item>
</item> <item>
<item> <layout class="QHBoxLayout" name="horizontalLayout_5">
<layout class="QHBoxLayout" name="_7"> <item>
<item> <widget class="QCheckBox" name="checkStartPaused">
<widget class="QLabel" name="maxActiveTorrents_lbl"> <property name="text">
<property name="enabled"> <string comment="The torrent will be added to download list in pause state">Do not start download automatically</string>
<bool>false</bool> </property>
</property> </widget>
<property name="text"> </item>
<string>Maximum active torrents:</string> <item>
</property> <spacer name="horizontalSpacer_3">
</widget> <property name="orientation">
</item> <enum>Qt::Horizontal</enum>
<item> </property>
<widget class="QSpinBox" name="spinMaxActiveTorrents"> <property name="sizeHint" stdset="0">
<property name="enabled"> <size>
<bool>false</bool> <width>40</width>
</property> <height>20</height>
<property name="minimum"> </size>
<number>-1</number> </property>
</property> </spacer>
<property name="maximum"> </item>
<number>999</number> </layout>
</property> </item>
<property name="value"> </layout>
<number>5</number> </widget>
</property> </item>
</widget> <item>
</item> <spacer name="verticalSpacer_5">
<item> <property name="orientation">
<spacer> <enum>Qt::Vertical</enum>
<property name="orientation"> </property>
<enum>Qt::Horizontal</enum> <property name="sizeHint" stdset="0">
</property> <size>
<property name="sizeHint" stdset="0"> <width>20</width>
<size> <height>40</height>
<width>381</width> </size>
<height>20</height> </property>
</size> </spacer>
</property> </item>
</spacer> </layout>
</item> </item>
</layout> </layout>
</item>
</layout>
</widget>
</item> </item>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
@ -2045,8 +2153,21 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="minimumSize">
<string>...</string> <size>
<width>22</width>
<height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>25</width>
<height>27</height>
</size>
</property>
<property name="icon">
<iconset resource="icons.qrc">
<normaloff>:/Icons/oxygen/browse.png</normaloff>:/Icons/oxygen/browse.png</iconset>
</property> </property>
</widget> </widget>
</item> </item>