Commit 6b723625 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: preferences, fix checkbox behaviours

Remove weird layout margins, and zones for correct deactivations of
groups of groupBoxes
parent 94b30f51
......@@ -215,6 +215,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
******************************/
START_SPREFS_CAT( Video , qtr("Video Settings") );
CONFIG_BOOL( "video", enableVideo );
ui.videoZone->setEnabled( ui.enableVideo->isChecked() );
CONNECT( ui.enableVideo, toggled( bool ),
ui.videoZone, setEnabled( bool ) );
CONFIG_BOOL( "fullscreen", fullscreen );
CONFIG_BOOL( "overlay", overlay );
......@@ -259,9 +262,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
START_SPREFS_CAT( Audio, qtr("Audio Settings") );
CONFIG_BOOL( "audio", enableAudio );
ui.SPrefsAudio_zone->setEnabled( ui.enableAudio->isChecked() );
ui.audioZone->setEnabled( ui.enableAudio->isChecked() );
CONNECT( ui.enableAudio, toggled( bool ),
ui.SPrefsAudio_zone, setEnabled( bool ) );
ui.audioZone, setEnabled( bool ) );
#define audioCommon( name ) \
QWidget * name ## Control = new QWidget( ui.outputAudioBox ); \
......@@ -649,6 +652,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui.OSDTitlePosLabel, OSDTitlePos );
CONFIG_BOOL( "spu", spuActiveBox);
ui.spuZone->setEnabled( ui.spuActiveBox->isChecked() );
CONNECT( ui.spuActiveBox, toggled( bool ),
ui.spuZone, setEnabled( bool ) );
CONFIG_GENERIC( "subsdec-encoding", StringList, ui.encodLabel,
encoding );
......
......@@ -7,8 +7,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>703</width>
<height>656</height>
<width>707</width>
<height>536</height>
</rect>
</property>
<property name="sizePolicy">
......@@ -32,8 +32,11 @@
</widget>
</item>
<item>
<widget class="QWidget" name="SPrefsAudio_zone" native="true">
<layout class="QVBoxLayout" name="verticalLayout">
<widget class="QWidget" name="audioZone" native="true">
<layout class="QVBoxLayout" name="audioZoneLayout">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="audioBox">
<property name="title">
......@@ -166,9 +169,6 @@
<property name="text">
<string>Output module:</string>
</property>
<property name="buddy">
<cstring>outputModule</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
......@@ -204,9 +204,6 @@
<property name="text">
<string>Destination file:</string>
</property>
<property name="buddy">
<cstring>fileName</cstring>
</property>
</widget>
</item>
<item>
......@@ -264,9 +261,6 @@
<property name="text">
<string>Visualization:</string>
</property>
<property name="buddy">
<cstring>visualisation</cstring>
</property>
</widget>
</item>
<item row="8" column="2" colspan="2">
......@@ -309,9 +303,6 @@
<property name="text">
<string>Dolby Surround:</string>
</property>
<property name="buddy">
<cstring>detectionDolby</cstring>
</property>
</widget>
</item>
<item row="5" column="0">
......@@ -328,9 +319,6 @@
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>replayCombo</cstring>
</property>
</widget>
</item>
<item row="5" column="2" colspan="2">
......@@ -447,9 +435,6 @@
<property name="text">
<string>Preferred audio language:</string>
</property>
<property name="buddy">
<cstring>preferredAudioLanguage</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
......@@ -501,9 +486,6 @@
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>lastfm_pass_edit</cstring>
</property>
</widget>
</item>
<item row="0" column="0">
......@@ -520,9 +502,6 @@
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>lastfm_user_edit</cstring>
</property>
</widget>
</item>
</layout>
......
......@@ -8,7 +8,7 @@
<x>0</x>
<y>0</y>
<width>741</width>
<height>373</height>
<height>375</height>
</rect>
</property>
<property name="windowTitle">
......@@ -68,231 +68,216 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Subtitles Language</string>
</property>
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="subLangLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Preferred subtitles language</string>
</property>
<property name="buddy">
<cstring>preferredLanguage</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="encoding">
<property name="maxVisibleItems">
<number>12</number>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="preferredLanguage"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="encodLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Default encoding</string>
</property>
<property name="buddy">
<cstring>encoding</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Subtitles effects</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="fontLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Font</string>
</property>
<property name="buddy">
<cstring>font</cstring>
</property>
</widget>
</item>
<item row="0" column="1" colspan="3">
<widget class="QFontComboBox" name="font"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="fontSizeLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Font size</string>
</property>
<property name="buddy">
<cstring>fontSize</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="fontSize">
<widget class="QWidget" name="spuZone" native="true">
<layout class="QVBoxLayout" name="spuZoneLayout">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Subtitles Language</string>
</property>
<layout class="QGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="subLangLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Preferred subtitles language</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="encoding">
<property name="maxVisibleItems">
<number>12</number>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="preferredLanguage"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="encodLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Default encoding</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="3">
<widget class="QLabel" name="fontColorLabel">
<property name="text">
<string>Font color</string>
</property>
<property name="buddy">
<cstring>fontColor</cstring>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QPushButton" name="fontColor"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="fontEffectLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Outline thickness</string>
</property>
<property name="buddy">
<cstring>effect</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="effect">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QLabel" name="outlineColorLabel">
<property name="text">
<string>Outline color</string>
</property>
<property name="buddy">
<cstring>outlineColor</cstring>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QPushButton" name="outlineColor"/>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="shadowCheck">
<property name="text">
<string>Add a shadow</string>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QCheckBox" name="backgroundCheck">
<property name="text">
<string>Add a background</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="subsPosLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Force subtitle position</string>
</property>
<property name="buddy">
<cstring>subsPosition</cstring>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="subsPosition">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="minimum">
<number>-1024</number>
</property>
<property name="maximum">
<number>1024</number>
</property>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Subtitles effects</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="fontLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Font</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="3">
<widget class="QFontComboBox" name="font"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="fontSizeLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Font size</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="fontSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="3">
<widget class="QLabel" name="fontColorLabel">
<property name="text">
<string>Font color</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QPushButton" name="fontColor"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="fontEffectLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Outline thickness</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="effect">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QLabel" name="outlineColorLabel">
<property name="text">
<string>Outline color</string>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QPushButton" name="outlineColor"/>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="shadowCheck">
<property name="text">
<string>Add a shadow</string>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QCheckBox" name="backgroundCheck">
<property name="text">
<string>Add a background</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="subsPosLabel">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Force subtitle position</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="subsPosition">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="minimum">
<number>-1024</number>
</property>
<property name="maximum">
<number>1024</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
......
......@@ -7,20 +7,14 @@
<rect>
<x>0</x>
<y>0</y>
<width>699</width>
<height>615</height>
<width>682</width>
<height>577</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout">
<property name="spacing">
<number>10</number>
</property>
<property name="margin">
<number>9</number>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QCheckBox" name="enableVideo">
<property name="text">
......@@ -32,288 +26,270 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="displayBox">
<property name="title">
<string>Display</string>
</property>
<layout class="QGridLayout">
<widget class="QWidget" name="videoZone" native="true">
<layout class="QVBoxLayout" name="videoZoneLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
<number>0</number>
</property>
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="fullscreen">
<property name="text">
<string>Fullscreen</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="alwaysOnTop">
<property name="text">
<string>Always on top</string>
</property>
</widget>
</item>
<item row="8" column="1" colspan="2">
<widget class="QComboBox" name="outputModule">
<property name="maxVisibleItems">
<number>15</number>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="voutLabel">
<property name="text">
<string>Output</string>
</property>
<property name="buddy">
<cstring>outputModule</cstring>
</property>
<item>
<widget class="QGroupBox" name="displayBox">
<property name="title">
<string>Display</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="fullscreen">
<property name="text">
<string>Fullscreen</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QCheckBox" name="windowDecorations">
<property name="text">
<string>Window decorations</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="hwYUVBox">
<property name="text">
<string>Use hardware YUV-&gt;RGB conversions</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="overlay">
<property name="text">
<string>Accelerated video output (Overlay)</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="voutLabel">
<property name="text">
<string>Output</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="alwaysOnTop">
<property name="text">
<string>Always on top</string>
</property>
</widget>
</item>
<item row="8" column="1" colspan="2">
<widget class="QComboBox" name="outputModule">
<property name="maxVisibleItems">
<number>15</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="2">
<widget class="QCheckBox" name="windowDecorations">
<property name="text">
<string>Window decorations</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="overlay">
<property name="text">
<string>Accelerated video output (Overlay)</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="hwYUVBox">
<property name="text">
<string>Use hardware YUV-&gt;RGB conversions</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="directXBox">
<property name="title">
<string>DirectX</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="dXdisplayDevice"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="dxDeviceLabel">
<property name="text">
<string>Display device</string>
</property>
<property name="buddy">
<cstring>dXdisplayDevice</cstring>
</property>
<item>
<widget class="QGroupBox" name="directXBox">
<property name="title">
<string>DirectX</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="dXdisplayDevice"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="dxDeviceLabel">
<property name="text">
<string>Display device</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="kvaBox">
<property name="title">
<string>KVA</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="kvaVideoMode"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="kvaVideoModeLabel">
<property name="text">
<string>Video mode</string>
</property>
<property name="buddy">
<cstring>kvaVideoMode</cstring>
</property>
<item>
<widget class="QGroupBox" name="kvaBox">
<property name="title">
<string>KVA</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="1" column="0">
<widget class="QLabel" name="kvaVideoModeLabel">
<property name="text">
<string>Video mode</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="kvaFixT23">
<property name="text">
<string>Enable a workaround for T23</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="kvaVideoMode"/>
</item>
</layout>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="kvaFixT23">
<property name="text">
<string>Enable a workaround for T23</string>
</property>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Video</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="deinterLabel">
<property name="text">
<string>Deinterlacing</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="arLabel">
<property name="text">
<string>Force Aspect Ratio</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="deinterlaceBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="deinterModeLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Mode</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QComboBox" name="deinterlaceModeBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="1" colspan="3">
<widget class="QLineEdit" name="arLine"/>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Video</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="deinterLabel">
<property name="text">
<string>Deinterlacing</string>
</property>
<property name="buddy">
<cstring>deinterlaceBox</cstring>
</property>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Video snapshots</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="2" colspan="2">
<widget class="QLineEdit" name="snapshotsDirectory"/>
</item>
<item row="0" column="4">
<widget class="QPushButton" name="snapshotsDirectoryBrowse">
<property name="text">
<string>Browse...</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="dirLabel">
<property name="text">
<string>Directory</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="prefixLabel">
<property name="text">
<string>Prefix</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="snapshotsPrefix">
<property name="text">
<string>vlc-snap</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="formatLabel">
<property name="text">
<string>Format</string>
</property>
</widget>
</item>
<item row="1" column="3" colspan="2">
<widget class="QCheckBox" name="snapshotsSequentialNumbering">
<property name="text">
<string>Sequential numbering</string>
</property>
</widget>
</item>
<item row="0" column="1">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="2">
<widget class="QComboBox" name="snapshotsFormat"/>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="arLabel">
<property name="text">
<string>Force Aspect Ratio</string>
</property>
<property name="buddy">
<cstring>arLine</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="deinterlaceBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="deinterModeLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Mode</string>
</property>
<property name="buddy">
<cstring>deinterlaceModeBox</cstring>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QComboBox" name="deinterlaceModeBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="1" colspan="3">
<widget class="QLineEdit" name="arLine"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Video snapshots</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="2" colspan="2">
<widget class="QLineEdit" name="snapshotsDirectory"/>
</item>
<item row="0" column="4">
<widget class="QPushButton" name="snapshotsDirectoryBrowse">
<property name="text">
<string>Browse...</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="dirLabel">
<property name="text">
<string>Directory</string>
</property>
<property name="buddy">
<cstring>snapshotsDirectory</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="prefixLabel">
<property name="text">
<string>Prefix</string>
</property>
<property name="buddy">
<cstring>snapshotsPrefix</cstring>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="snapshotsPrefix">
<property name="text">
<string>vlc-snap</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="formatLabel">
<property name="text">
<string>Format</string>
</property>
<property name="buddy">
<cstring>snapshotsFormat</cstring>
</property>
</widget>
</item>
<item row="1" column="3" colspan="2">
<widget class="QCheckBox" name="snapshotsSequentialNumbering">
<property name="text">
<string>Sequential numbering</string>
</property>
</widget>
</item>
<item row="0" column="1">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="2">
<widget class="QComboBox" name="snapshotsFormat"/>
</item>
</layout>
</widget>
</item>
......
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