summaryrefslogtreecommitdiff
path: root/src/prefperformance.ui
diff options
context:
space:
mode:
authorMateusz Łukasik <mati75@linuxmint.pl>2016-06-15 20:23:58 +0200
committerMateusz Łukasik <mati75@linuxmint.pl>2016-06-15 20:23:58 +0200
commit42be0eb4f1d7a25dca97e8e2eb4ec4d03b7931fb (patch)
treefae3347b0c924378c57862feea2708766d159771 /src/prefperformance.ui
parent1a2f0c9c1087899a00298db8fa70518d3c1e69f8 (diff)
Imported Upstream version 16.6.0~ds0
Diffstat (limited to 'src/prefperformance.ui')
-rw-r--r--src/prefperformance.ui478
1 files changed, 259 insertions, 219 deletions
diff --git a/src/prefperformance.ui b/src/prefperformance.ui
index e529420..91fc2f0 100644
--- a/src/prefperformance.ui
+++ b/src/prefperformance.ui
@@ -338,8 +338,8 @@
<attribute name="title">
<string>&amp;Cache</string>
</attribute>
- <layout class="QGridLayout">
- <item row="0" column="0" colspan="4">
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
<widget class="QLabel" name="textLabel1_12">
<property name="text">
<string>Setting a cache may improve performance on slow media</string>
@@ -349,229 +349,251 @@
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Cache for &amp;local files:</string>
- </property>
- <property name="buddy">
- <cstring>cache_files_spin</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QSpinBox" name="cache_files_spin">
- <property name="maximum">
- <number>100000</number>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>KB</string>
- </property>
- </widget>
- </item>
- <item row="1" column="3">
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>211</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>Cache for &amp;streams:</string>
- </property>
- <property name="buddy">
- <cstring>cache_streams_spin</cstring>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QSpinBox" name="cache_streams_spin">
- <property name="maximum">
- <number>100000</number>
- </property>
- </widget>
- </item>
- <item row="2" column="2">
- <widget class="QLabel" name="label_5">
- <property name="text">
- <string>KB</string>
- </property>
- </widget>
- </item>
- <item row="2" column="3">
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>211</width>
- <height>27</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="label_6">
- <property name="text">
- <string>Cache for &amp;DVDs:</string>
- </property>
- <property name="buddy">
- <cstring>cache_dvds_spin</cstring>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <widget class="QSpinBox" name="cache_dvds_spin">
- <property name="maximum">
- <number>100000</number>
- </property>
- </widget>
- </item>
- <item row="3" column="2">
- <widget class="QLabel" name="label_7">
- <property name="text">
- <string>KB</string>
- </property>
- </widget>
- </item>
- <item row="3" column="3">
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>211</width>
- <height>27</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="label_9">
- <property name="text">
- <string>Cache for &amp;audio CDs:</string>
- </property>
- <property name="buddy">
- <cstring>cache_cds_spin</cstring>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="QSpinBox" name="cache_cds_spin">
- <property name="maximum">
- <number>100000</number>
- </property>
- </widget>
- </item>
- <item row="4" column="2">
- <widget class="QLabel" name="label_10">
- <property name="text">
- <string>KB</string>
- </property>
- </widget>
- </item>
- <item row="4" column="3">
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>221</width>
- <height>27</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="5" column="0">
- <widget class="QLabel" name="label_12">
- <property name="text">
- <string>Cache for &amp;VCDs:</string>
- </property>
- <property name="buddy">
- <cstring>cache_vcds_spin</cstring>
- </property>
- </widget>
- </item>
- <item row="5" column="1">
- <widget class="QSpinBox" name="cache_vcds_spin">
- <property name="maximum">
- <number>100000</number>
- </property>
- </widget>
- </item>
- <item row="5" column="2">
- <widget class="QLabel" name="label_11">
- <property name="text">
- <string>KB</string>
- </property>
- </widget>
- </item>
- <item row="5" column="3">
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>201</width>
- <height>27</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="6" column="0">
- <widget class="QLabel" name="label_14">
+ <item>
+ <widget class="QCheckBox" name="cache_auto_check">
<property name="text">
- <string>Cache for &amp;TV:</string>
- </property>
- <property name="buddy">
- <cstring>cache_tv_spin</cstring>
- </property>
- </widget>
- </item>
- <item row="6" column="1">
- <widget class="QSpinBox" name="cache_tv_spin">
- <property name="maximum">
- <number>100000</number>
+ <string>A&amp;uto</string>
</property>
</widget>
</item>
- <item row="6" column="2">
- <widget class="QLabel" name="label_15">
- <property name="text">
- <string>KB</string>
+ <item>
+ <widget class="QWidget" name="cache_widget" native="true">
+ <property name="enabled">
+ <bool>true</bool>
</property>
+ <layout class="QGridLayout" name="gridLayout">
+ <property name="margin">
+ <number>2</number>
+ </property>
+ <property name="spacing">
+ <number>2</number>
+ </property>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Cache for &amp;local files:</string>
+ </property>
+ <property name="buddy">
+ <cstring>cache_files_spin</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QSpinBox" name="cache_files_spin">
+ <property name="maximum">
+ <number>100000</number>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>KB</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="3">
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>203</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>Cache for &amp;streams:</string>
+ </property>
+ <property name="buddy">
+ <cstring>cache_streams_spin</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QSpinBox" name="cache_streams_spin">
+ <property name="maximum">
+ <number>100000</number>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QLabel" name="label_5">
+ <property name="text">
+ <string>KB</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="3">
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>203</width>
+ <height>27</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_6">
+ <property name="text">
+ <string>Cache for &amp;DVDs:</string>
+ </property>
+ <property name="buddy">
+ <cstring>cache_dvds_spin</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QSpinBox" name="cache_dvds_spin">
+ <property name="maximum">
+ <number>100000</number>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QLabel" name="label_7">
+ <property name="text">
+ <string>KB</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="3">
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>203</width>
+ <height>27</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_9">
+ <property name="text">
+ <string>Cache for &amp;audio CDs:</string>
+ </property>
+ <property name="buddy">
+ <cstring>cache_cds_spin</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QSpinBox" name="cache_cds_spin">
+ <property name="maximum">
+ <number>100000</number>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="2">
+ <widget class="QLabel" name="label_10">
+ <property name="text">
+ <string>KB</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="3">
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>203</width>
+ <height>27</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="label_12">
+ <property name="text">
+ <string>Cache for &amp;VCDs:</string>
+ </property>
+ <property name="buddy">
+ <cstring>cache_vcds_spin</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QSpinBox" name="cache_vcds_spin">
+ <property name="maximum">
+ <number>100000</number>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="2">
+ <widget class="QLabel" name="label_11">
+ <property name="text">
+ <string>KB</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="3">
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>203</width>
+ <height>27</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="cachetv_label">
+ <property name="text">
+ <string>Cache for &amp;TV:</string>
+ </property>
+ <property name="buddy">
+ <cstring>cache_tv_spin</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="1">
+ <widget class="QSpinBox" name="cache_tv_spin">
+ <property name="maximum">
+ <number>100000</number>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="2">
+ <widget class="QLabel" name="cachetv_label2">
+ <property name="text">
+ <string>KB</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="3">
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>203</width>
+ <height>27</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</widget>
</item>
- <item row="6" column="3">
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>231</width>
- <height>27</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="7" column="2">
+ <item>
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -608,6 +630,7 @@
<tabstop>coreavc_check</tabstop>
<tabstop>fast_audio_combo</tabstop>
<tabstop>fast_chapter_check</tabstop>
+ <tabstop>cache_auto_check</tabstop>
<tabstop>cache_files_spin</tabstop>
<tabstop>cache_streams_spin</tabstop>
<tabstop>cache_dvds_spin</tabstop>
@@ -616,5 +639,22 @@
<tabstop>cache_tv_spin</tabstop>
</tabstops>
<resources/>
- <connections/>
+ <connections>
+ <connection>
+ <sender>cache_auto_check</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>cache_widget</receiver>
+ <slot>setDisabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>237</x>
+ <y>81</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>255</x>
+ <y>213</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
</ui>