Browse Source

Remove redundant properties

And revise tooltip messages.
PR #16651.
adaptive-webui-19844
Chocobo1 3 years ago committed by GitHub
parent
commit
7fffb6526c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 81
      src/gui/search/searchjobwidget.ui

81
src/gui/search/searchjobwidget.ui

@ -10,9 +10,6 @@
<height>364</height> <height>364</height>
</rect> </rect>
</property> </property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
@ -38,15 +35,9 @@
</item> </item>
<item> <item>
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="label_5">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="text"> <property name="text">
<string>Search in:</string> <string>Search in:</string>
</property> </property>
<property name="buddy">
<cstring>filterMode</cstring>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@ -74,14 +65,8 @@
</item> </item>
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Set minimal and maximal allowed number of seeders&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>Set minimum and maximum allowed number of seeders</string>
</property> </property>
<property name="text"> <property name="text">
<string>Seeds:</string> <string>Seeds:</string>
@ -91,27 +76,15 @@
<item> <item>
<widget class="QSpinBox" name="minSeeds"> <widget class="QSpinBox" name="minSeeds">
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Minimal number of seeds&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>Minimum number of seeds</string>
</property>
<property name="minimum">
<number>0</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>1000</number> <number>1000</number>
</property> </property>
<property name="value">
<number>0</number>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>to</string> <string>to</string>
</property> </property>
@ -120,23 +93,14 @@
<item> <item>
<widget class="QSpinBox" name="maxSeeds"> <widget class="QSpinBox" name="maxSeeds">
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Maximal number of seeds&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>Maximum number of seeds</string>
</property> </property>
<property name="specialValueText"> <property name="specialValueText">
<string>∞</string> <string>∞</string>
</property> </property>
<property name="prefix">
<string/>
</property>
<property name="minimum">
<number>-1</number>
</property>
<property name="maximum"> <property name="maximum">
<number>1000</number> <number>1000</number>
</property> </property>
<property name="value">
<number>-1</number>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@ -157,14 +121,8 @@
</item> </item>
<item> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Set minimal and maximal allowed size of a torrent&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>Set minimum and maximum allowed size of a torrent</string>
</property> </property>
<property name="text"> <property name="text">
<string>Size:</string> <string>Size:</string>
@ -176,25 +134,15 @@
<item> <item>
<widget class="QDoubleSpinBox" name="minSize"> <widget class="QDoubleSpinBox" name="minSize">
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Minimal torrent size&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>Minimum torrent size</string>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property> </property>
<property name="maximum"> <property name="maximum">
<double>1000.000000000000000</double> <double>1000.000000000000000</double>
</property> </property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QComboBox" name="minSizeUnit"> <widget class="QComboBox" name="minSizeUnit"/>
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item> </item>
</layout> </layout>
</item> </item>
@ -210,31 +158,18 @@
<item> <item>
<widget class="QDoubleSpinBox" name="maxSize"> <widget class="QDoubleSpinBox" name="maxSize">
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Maximal torrent size&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>Maximum torrent size</string>
</property> </property>
<property name="specialValueText"> <property name="specialValueText">
<string>∞</string> <string>∞</string>
</property> </property>
<property name="minimum">
<double>-1.000000000000000</double>
</property>
<property name="maximum"> <property name="maximum">
<double>1000.000000000000000</double> <double>1000.000000000000000</double>
</property> </property>
<property name="value">
<double>1000.000000000000000</double>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QComboBox" name="maxSizeUnit"> <widget class="QComboBox" name="maxSizeUnit"/>
<property name="currentIndex">
<number>-1</number>
</property>
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item> </item>
</layout> </layout>
</item> </item>

Loading…
Cancel
Save