Commit 1050c6b5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Various updates on the simple preferences.

parent 327a0522
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>622</width> <width>687</width>
<height>514</height> <height>507</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -66,12 +66,15 @@ ...@@ -66,12 +66,15 @@
<property name="title"> <property name="title">
<string>Network</string> <string>Network</string>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="portLabel"> <widget class="QLabel" name="portLabel">
<property name="text"> <property name="text">
<string>Server default port</string> <string>Server default port</string>
</property> </property>
<property name="margin">
<number>0</number>
</property>
<property name="buddy"> <property name="buddy">
<cstring>UDPPort</cstring> <cstring>UDPPort</cstring>
</property> </property>
...@@ -114,8 +117,8 @@ ...@@ -114,8 +117,8 @@
<property name="title"> <property name="title">
<string>Caching</string> <string>Caching</string>
</property> </property>
<layout class="QHBoxLayout"> <layout class="QGridLayout" name="gridLayout_3">
<item> <item row="0" column="0">
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Default caching level</string> <string>Default caching level</string>
...@@ -125,7 +128,7 @@ ...@@ -125,7 +128,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1">
<widget class="QComboBox" name="cachingCombo"/> <widget class="QComboBox" name="cachingCombo"/>
</item> </item>
</layout> </layout>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<author>Jean-Baptiste Kempf</author>
<class>SPrefsInterface</class> <class>SPrefsInterface</class>
<widget class="QWidget" name="SPrefsInterface"> <widget class="QWidget" name="SPrefsInterface">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>732</width> <width>758</width>
<height>657</height> <height>657</height>
</rect> </rect>
</property> </property>
...@@ -48,7 +49,7 @@ ...@@ -48,7 +49,7 @@
<property name="title"> <property name="title">
<string>Privacy / Network Interaction</string> <string>Privacy / Network Interaction</string>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="artFetchLabel"> <widget class="QLabel" name="artFetchLabel">
<property name="minimumSize"> <property name="minimumSize">
...@@ -62,6 +63,9 @@ ...@@ -62,6 +63,9 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" colspan="2">
<widget class="QComboBox" name="artFetcher"/>
</item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QCheckBox" name="updatesBox"> <widget class="QCheckBox" name="updatesBox">
<property name="text"> <property name="text">
...@@ -69,6 +73,39 @@ ...@@ -69,6 +73,39 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1">
<widget class="QLabel" name="label">
<property name="text">
<string>Every</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="updatesDays">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> days</string>
</property>
</widget>
</item>
<item row="1" column="3">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>320</width>
<height>27</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QCheckBox" name="saveRecentlyPlayed"> <widget class="QCheckBox" name="saveRecentlyPlayed">
<property name="text"> <property name="text">
...@@ -76,12 +113,7 @@ ...@@ -76,12 +113,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" colspan="2"> <item row="2" column="1">
<widget class="QComboBox" name="artFetcher"/>
</item>
<item row="2" column="1" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="filterLabel"> <widget class="QLabel" name="filterLabel">
<property name="text"> <property name="text">
<string>Filter:</string> <string>Filter:</string>
...@@ -92,12 +124,9 @@ ...@@ -92,12 +124,9 @@
<property name="margin"> <property name="margin">
<number>5</number> <number>5</number>
</property> </property>
<property name="indent">
<number>10</number>
</property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="2" colspan="2">
<widget class="QLineEdit" name="recentlyPlayedFilters"> <widget class="QLineEdit" name="recentlyPlayedFilters">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
...@@ -111,44 +140,6 @@ ...@@ -111,44 +140,6 @@
</widget> </widget>
</item> </item>
</layout> </layout>
</item>
<item row="1" column="1" colspan="2">
<widget class="QWidget" name="updatenotifier_zone" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>every</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="updatesDays">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> days</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<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>
</widget>
</item>
</layout>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2"> <item row="1" column="0" colspan="2">
......
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<author>Jean-Baptiste Kempf</author>
<class>SPrefsSubtitles</class> <class>SPrefsSubtitles</class>
<widget class="QWidget" name="SPrefsSubtitles" > <widget class="QWidget" name="SPrefsSubtitles">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>434</width> <width>772</width>
<height>442</height> <height>444</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout">
<property name="spacing" > <property name="spacing">
<number>10</number> <number>10</number>
</property> </property>
<item> <item>
<widget class="QGroupBox" name="groupBox_3" > <widget class="QGroupBox" name="groupBox_3">
<property name="title" > <property name="title">
<string>On Screen Display</string> <string>On Screen Display</string>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout">
<item> <item>
<widget class="QCheckBox" name="OSDBox" > <widget class="QCheckBox" name="OSDBox">
<property name="text" > <property name="text">
<string>Enable OSD</string> <string>Enable On Screen Display (OSD)</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="OSDTitleBox" > <widget class="QCheckBox" name="OSDTitleBox">
<property name="text" > <property name="text">
<string>Show media title on video</string> <string>Show media title on video start</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -40,43 +42,43 @@ ...@@ -40,43 +42,43 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox_2" > <widget class="QGroupBox" name="groupBox_2">
<property name="sizePolicy" > <property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" > <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="title" > <property name="title">
<string>Subtitles Language</string> <string>Subtitles Language</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout">
<item row="0" column="0" > <item row="0" column="0">
<widget class="QLabel" name="subLangLabel" > <widget class="QLabel" name="subLangLabel">
<property name="text" > <property name="text">
<string>Preferred subtitles language</string> <string>Preferred subtitles language</string>
</property> </property>
<property name="buddy" > <property name="buddy">
<cstring>preferredLanguage</cstring> <cstring>preferredLanguage</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" > <item row="1" column="1">
<widget class="QComboBox" name="encoding" > <widget class="QComboBox" name="encoding">
<property name="maxVisibleItems" > <property name="maxVisibleItems">
<number>12</number> <number>12</number>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" > <item row="0" column="1">
<widget class="QLineEdit" name="preferredLanguage" /> <widget class="QLineEdit" name="preferredLanguage"/>
</item> </item>
<item row="1" column="0" > <item row="1" column="0">
<widget class="QLabel" name="encodLabel" > <widget class="QLabel" name="encodLabel">
<property name="text" > <property name="text">
<string>Default encoding</string> <string>Default encoding</string>
</property> </property>
<property name="buddy" > <property name="buddy">
<cstring>encoding</cstring> <cstring>encoding</cstring>
</property> </property>
</widget> </widget>
...@@ -85,92 +87,92 @@ ...@@ -85,92 +87,92 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox" > <widget class="QGroupBox" name="groupBox">
<property name="title" > <property name="title">
<string>Display Settings</string> <string>Display Settings</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout">
<item row="3" column="1" colspan="2" > <item row="3" column="1" colspan="2">
<widget class="QComboBox" name="effect" /> <widget class="QComboBox" name="effect"/>
</item> </item>
<item row="3" column="0" > <item row="3" column="0">
<widget class="QLabel" name="fontEffectLabel" > <widget class="QLabel" name="fontEffectLabel">
<property name="text" > <property name="text">
<string>Effect</string> <string>Effect</string>
</property> </property>
<property name="buddy" > <property name="buddy">
<cstring>effect</cstring> <cstring>effect</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1" colspan="2" > <item row="2" column="1" colspan="2">
<widget class="QComboBox" name="fontColor" /> <widget class="QComboBox" name="fontColor"/>
</item> </item>
<item row="2" column="0" > <item row="2" column="0">
<widget class="QLabel" name="fontColorLabel" > <widget class="QLabel" name="fontColorLabel">
<property name="text" > <property name="text">
<string>Font color</string> <string>Font color</string>
</property> </property>
<property name="buddy" > <property name="buddy">
<cstring>fontColor</cstring> <cstring>fontColor</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" colspan="2" > <item row="1" column="1" colspan="2">
<widget class="QComboBox" name="fontSize" /> <widget class="QComboBox" name="fontSize"/>
</item> </item>
<item row="1" column="0" > <item row="1" column="0">
<widget class="QLabel" name="fontSizeLabel" > <widget class="QLabel" name="fontSizeLabel">
<property name="text" > <property name="text">
<string>Font size</string> <string>Font size</string>
</property> </property>
<property name="buddy" > <property name="buddy">
<cstring>fontSize</cstring> <cstring>fontSize</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" > <item row="0" column="2">
<widget class="QPushButton" name="fontBrowse" > <widget class="QPushButton" name="fontBrowse">
<property name="text" > <property name="text">
<string>Browse...</string> <string>Browse...</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" > <item row="0" column="1">
<widget class="QLineEdit" name="font" /> <widget class="QLineEdit" name="font"/>
</item> </item>
<item row="0" column="0" > <item row="0" column="0">
<widget class="QLabel" name="fontLabel" > <widget class="QLabel" name="fontLabel">
<property name="text" > <property name="text">
<string>Font</string> <string>Font</string>
</property> </property>
<property name="buddy" > <property name="buddy">
<cstring>font</cstring> <cstring>font</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1" colspan="2" > <item row="4" column="1" colspan="2">
<widget class="QSpinBox" name="subsPosition" > <widget class="QSpinBox" name="subsPosition">
<property name="alignment" > <property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
<property name="suffix" > <property name="suffix">
<string> px</string> <string> px</string>
</property> </property>
<property name="minimum" > <property name="minimum">
<number>-1024</number> <number>-1024</number>
</property> </property>
<property name="maximum" > <property name="maximum">
<number>1024</number> <number>1024</number>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0" > <item row="4" column="0">
<widget class="QLabel" name="subsPosLabel" > <widget class="QLabel" name="subsPosLabel">
<property name="text" > <property name="text">
<string>Force subtitle position</string> <string>Force subtitle position</string>
</property> </property>
<property name="buddy" > <property name="buddy">
<cstring>subsPosition</cstring> <cstring>subsPosition</cstring>
</property> </property>
</widget> </widget>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment