Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
a50bb327
Commit
a50bb327
authored
Jun 11, 2009
by
Francois Cartegnie
Committed by
Jean-Baptiste Kempf
Jun 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI: Sprefs_audio fixes and enhancements
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
11e07b57
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
536 additions
and
387 deletions
+536
-387
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+3
-4
modules/gui/qt4/components/preferences_widgets.hpp
modules/gui/qt4/components/preferences_widgets.hpp
+3
-3
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+21
-9
modules/gui/qt4/components/simple_preferences.hpp
modules/gui/qt4/components/simple_preferences.hpp
+1
-0
modules/gui/qt4/ui/sprefs_audio.ui
modules/gui/qt4/ui/sprefs_audio.ui
+508
-371
No files found.
modules/gui/qt4/components/preferences_widgets.cpp
View file @
a50bb327
...
...
@@ -1037,7 +1037,7 @@ BoolConfigControl::BoolConfigControl( vlc_object_t *_p_this,
BoolConfigControl
::
BoolConfigControl
(
vlc_object_t
*
_p_this
,
module_config_t
*
_p_item
,
QLabel
*
_label
,
Q
CheckBox
*
_checkbox
,
Q
AbstractButton
*
_checkbox
,
bool
bycat
)
:
VIntConfigControl
(
_p_this
,
_p_item
)
{
...
...
@@ -1048,14 +1048,13 @@ BoolConfigControl::BoolConfigControl( vlc_object_t *_p_this,
void
BoolConfigControl
::
finish
()
{
checkbox
->
setCheckState
(
p_item
->
value
.
i
==
true
?
Qt
::
Checked
:
Qt
::
Unchecked
);
checkbox
->
setChecked
(
p_item
->
value
.
i
==
true
);
checkbox
->
setToolTip
(
formatTooltip
(
qtr
(
p_item
->
psz_longtext
))
);
}
int
BoolConfigControl
::
getValue
()
{
return
checkbox
->
checkState
()
==
Qt
::
Checked
?
true
:
false
;
return
checkbox
->
isChecked
()
;
}
/**************************************************************************
...
...
modules/gui/qt4/components/preferences_widgets.hpp
View file @
a50bb327
...
...
@@ -201,14 +201,14 @@ public:
BoolConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QWidget
*
,
QGridLayout
*
,
int
&
);
BoolConfigControl
(
vlc_object_t
*
,
module_config_t
*
,
QLabel
*
,
Q
CheckBox
*
,
bool
);
QLabel
*
,
Q
AbstractButton
*
,
bool
);
virtual
~
BoolConfigControl
()
{};
virtual
int
getValue
();
virtual
void
show
()
{
checkbox
->
show
();
}
virtual
void
hide
()
{
checkbox
->
hide
();
}
virtual
int
getType
()
{
return
CONFIG_ITEM_BOOL
;
}
private:
Q
CheckBox
*
checkbox
;
private:
Q
AbstractButton
*
checkbox
;
void
finish
();
};
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
a50bb327
...
...
@@ -223,6 +223,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
START_SPREFS_CAT
(
Audio
,
qtr
(
"Audio Settings"
)
);
CONFIG_GENERIC
(
"audio"
,
Bool
,
NULL
,
enableAudio
);
ui
.
SPrefsAudio_zone
->
setEnabled
(
ui
.
enableAudio
->
isChecked
()
);
CONNECT
(
ui
.
enableAudio
,
toggled
(
bool
),
ui
.
SPrefsAudio_zone
,
setEnabled
(
bool
)
);
#define audioCommon( name ) \
QWidget * name ## Control = new QWidget( ui.outputAudioBox ); \
...
...
@@ -230,7 +233,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
name ## Layout->setMargin( 0 ); \
name ## Layout->setSpacing( 0 ); \
QLabel * name ## Label = new QLabel( qtr( "Device:" ), name ## Control ); \
name ## Label->setMinimumSize(QSize(
10
0, 0)); \
name ## Label->setMinimumSize(QSize(
25
0, 0)); \
name ## Layout->addWidget( name ## Label ); \
#define audioControl( name) \
...
...
@@ -249,12 +252,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
name ## Layout->addWidget( name ## Browse ); \
outputAudioLayout->addWidget( name ## Control, outputAudioLayout->rowCount(), 0, 1, -1 );
/* hide if necessary */
ui
.
lastfm_user_edit
->
hide
();
ui
.
lastfm_user_label
->
hide
();
ui
.
lastfm_pass_edit
->
hide
();
ui
.
lastfm_pass_label
->
hide
();
/* Build if necessary */
QGridLayout
*
outputAudioLayout
=
qobject_cast
<
QGridLayout
*>
(
ui
.
outputAudioBox
->
layout
());
#ifdef WIN32
...
...
@@ -292,13 +289,17 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC_NO_BOOL
(
"volume"
,
IntegerRangeSlider
,
NULL
,
defaultVolume
);
CONNECT
(
ui
.
defaultVolume
,
valueChanged
(
int
),
this
,
updateAudioVolume
(
int
)
);
this
,
updateAudioVolume
(
int
)
);
CONFIG_GENERIC
(
"qt-autosave-volume"
,
Bool
,
NULL
,
keepVolumeRadio
);
ui
.
defaultVolume_zone
->
setEnabled
(
ui
.
resetVolumeRadio
->
isChecked
()
);
CONNECT
(
ui
.
resetVolumeRadio
,
toggled
(
bool
),
ui
.
defaultVolume_zone
,
setEnabled
(
bool
)
);
CONFIG_GENERIC
(
"audio-language"
,
String
,
ui
.
langLabel
,
preferredAudioLanguage
);
CONFIG_GENERIC
(
"spdif"
,
Bool
,
NULL
,
spdifBox
);
CONFIG_GENERIC
(
"qt-autosave-volume"
,
Bool
,
NULL
,
saveVolBox
);
CONFIG_GENERIC
(
"force-dolby-surround"
,
IntegerList
,
ui
.
dolbyLabel
,
detectionDolby
);
...
...
@@ -326,6 +327,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui
.
volumeValue
->
setButtonSymbols
(
QAbstractSpinBox
::
NoButtons
);
optionWidgets
.
append
(
ui
.
volumeValue
);
optionWidgets
.
append
(
ui
.
headphoneEffect
);
optionWidgets
.
append
(
ui
.
spdifBox
);
updateAudioOptions
(
ui
.
outputModule
->
currentIndex
()
);
/* LastFM */
...
...
@@ -340,11 +342,19 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui
.
lastfm
->
setChecked
(
true
);
else
ui
.
lastfm
->
setChecked
(
false
);
ui
.
lastfm_zone
->
setEnabled
(
ui
.
lastfm
->
isChecked
()
);
CONNECT
(
ui
.
lastfm
,
toggled
(
bool
),
ui
.
lastfm_zone
,
setEnabled
(
bool
)
);
CONNECT
(
ui
.
lastfm
,
stateChanged
(
int
),
this
,
lastfm_Changed
(
int
)
);
}
else
{
ui
.
lastfm
->
hide
();
ui
.
lastfm_zone
->
hide
();
}
/* Normalizer */
CONNECT
(
ui
.
volNormBox
,
toggled
(
bool
),
ui
.
volNormSpin
,
...
...
@@ -647,6 +657,8 @@ void SPrefsPanel::updateAudioOptions( int number)
optionWidgets
[
alsaW
]
->
setVisible
(
(
value
==
"alsa"
)
);
#endif
optionWidgets
[
fileW
]
->
setVisible
(
(
value
==
"aout_file"
)
);
optionWidgets
[
spdifChB
]
->
setVisible
(
(
value
!=
"aout_file"
&&
value
!=
"dummy"
)
);
}
...
...
modules/gui/qt4/components/simple_preferences.hpp
View file @
a50bb327
...
...
@@ -75,6 +75,7 @@ enum {
normalizerChB
,
volLW
,
headphoneB
,
spdifChB
,
};
enum
{
inputLE
,
cachingCoB
};
enum
{
skinRB
,
qtRB
};
...
...
modules/gui/qt4/ui/sprefs_audio.ui
View file @
a50bb327
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui
version=
"4.0"
>
<author>
Jean-Baptiste Kempf
</author>
<class>
SPrefsAudio
</class>
<widget class="QWidget" name="SPrefsAudio"
>
<property name="geometry"
>
<widget
class=
"QWidget"
name=
"SPrefsAudio"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
643
</width>
<height>6
05
</height>
<height>
6
19
</height>
</rect>
</property>
<property name="windowTitle"
>
<property
name=
"windowTitle"
>
<string>
Form
</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<widget class="QCheckBox" name="enableAudio"
>
<property name="text"
>
<widget
class=
"QCheckBox"
name=
"enableAudio"
>
<property
name=
"text"
>
<string>
Enable audio
</string>
</property>
<property name="checked"
>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="audioBox" >
<property name="title" >
<string>General Audio</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Default volume</string>
</property>
</widget>
</item>
<item row="0" column="2" colspan="2" >
<widget class="QSlider" name="defaultVolume" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>140</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="layoutDirection" >
<enum>Qt::LeftToRight</enum>
</property>
<property name="maximum" >
<number>400</number>
</property>
<property name="value" >
<number>100</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="0" column="4" >
<widget class="QSpinBox" name="volumeValue" >
<property name="toolTip" >
<string>256 corresponds to 100%, 1024 to 400%</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="suffix" >
<string> %</string>
</property>
<property name="maximum" >
<number>400</number>
</property>
<property name="value" >
<number>100</number>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="spdifBox" >
<property name="text" >
<string>Use S/PDIF when available</string>
</property>
</widget>
</item>
<item row="1" column="2" colspan="3" >
<widget class="QCheckBox" name="saveVolBox" >
<property name="text" >
<string>Save volume on exit</string>
</property>
<widget
class=
"QWidget"
name=
"SPrefsAudio_zone"
native=
"true"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_2"
>
<property
name=
"leftMargin"
>
<number>
9
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item>
<widget
class=
"QGroupBox"
name=
"audioBox"
>
<property
name=
"title"
>
<string>
Volume
</string>
</property>
<layout
class=
"QGridLayout"
>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item
row=
"0"
column=
"0"
colspan=
"2"
>
<widget
class=
"QRadioButton"
name=
"keepVolumeRadio"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Keep audio level between sessions
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
colspan=
"2"
>
<widget
class=
"QRadioButton"
name=
"resetVolumeRadio"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Always reset audio start level to:
</string>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
</widget>
</item>
<item
row=
"1"
column=
"2"
>
<widget
class=
"QWidget"
name=
"defaultVolume_zone"
native=
"true"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<property
name=
"spacing"
>
<number>
0
</number>
</property>
<property
name=
"sizeConstraint"
>
<enum>
QLayout::SetDefaultConstraint
</enum>
</property>
<property
name=
"margin"
>
<number>
0
</number>
</property>
<item>
<widget
class=
"QSlider"
name=
"defaultVolume"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Minimum"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
140
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"layoutDirection"
>
<enum>
Qt::LeftToRight
</enum>
</property>
<property
name=
"maximum"
>
<number>
200
</number>
</property>
<property
name=
"value"
>
<number>
100
</number>
</property>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</widget>
</item>
<item>
<widget
class=
"QSpinBox"
name=
"volumeValue"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"wrapping"
>
<bool>
false
</bool>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
</property>
<property
name=
"readOnly"
>
<bool>
true
</bool>
</property>
<property
name=
"suffix"
>
<string>
%
</string>
</property>
<property
name=
"maximum"
>
<number>
200
</number>
</property>
<property
name=
"value"
>
<number>
100
</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="dolbyLabel" >
<property name="text" >
<string>Force detection of Dolby Surround</string>
</property>
<property name="buddy" >
<cstring>detectionDolby</cstring>
<item>
<widget
class=
"QGroupBox"
name=
"outputAudioBox"
>
<property
name=
"title"
>
<string>
Output
</string>
</property>
<layout
class=
"QGridLayout"
name=
"outputAudioLayout"
>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"outputLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Output module:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
outputModule
</cstring>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"outputModule"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
colspan=
"2"
>
<widget
class=
"QWidget"
name=
"fileControl"
native=
"true"
>
<layout
class=
"QHBoxLayout"
>
<property
name=
"spacing"
>
<number>
0
</number>
</property>
<property
name=
"margin"
>
<number>
0
</number>
</property>
<item>
<widget
class=
"QLabel"
name=
"fileLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
256
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Destination file:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
fileName
</cstring>
</property>
</widget>
</item>
<item>
<widget
class=
"QLineEdit"
name=
"fileName"
/>
</item>
<item>
<widget
class=
"QPushButton"
name=
"fileBrowseButton"
>
<property
name=
"text"
>
<string>
Browse...
</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item
row=
"3"
column=
"1"
>
<widget
class=
"QCheckBox"
name=
"spdifBox"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"text"
>
<string>
Use S/PDIF when available
</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item
row="2" column="2" colspan="3"
>
<widget class="Q
ComboBox" name="detectionDolby"
>
<property name="sizePolicy"
>
<sizepolicy
vsizetype="Fixed" hsizetype="MinimumExpanding"
>
<item>
<widget
class=
"Q
GroupBox"
name=
"groupBox_2"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property name="maximumSize" >
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<property name="currentIndex" >
<number>-1</number>
<property
name=
"title"
>
<string>
Spatialization
</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="langLabel" >
<property name="text" >
<string>Preferred audio language</string>
</property>
<property name="buddy" >
<cstring>preferredAudioLanguage</cstring>
</property>
</widget>
</item>
<item row="3" column="2" colspan="3" >
<widget class="QLineEdit" name="preferredAudioLanguage" />
</item>
<item row="2" column="1" >
<spacer name="horizontalSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="outputAudioBox" >
<property name="title" >
<string>Output</string>
</property>
<layout class="QGridLayout" name="outputAudioLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="outputLabel" >
<property name="minimumSize" >
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="text" >
<string>Type</string>
</property>
<property name="buddy" >
<cstring>outputModule</cstring>
<property
name=
"checkable"
>
<bool>
false
</bool>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_2"
>
<property
name=
"leftMargin"
>
<number>
9
</number>
</property>
<property
name=
"rightMargin"
>
<number>
9
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<property
name=
"horizontalSpacing"
>
<number>
6
</number>
</property>
<item
row=
"2"
column=
"0"
colspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"headphoneEffect"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"text"
>
<string>
Headphone surround effect
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"detectionDolby"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"currentIndex"
>
<number>
-1
</number>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QLabel"
name=
"dolbyLabel"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
250
</width>
<height>
16777215
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Dolby Surround:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
detectionDolby
</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="outputModule" >
<property name="enabled" >
<bool>true</bool>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<item>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<property
name=
"title"
>
<string>
Processing
</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QWidget" native="1" name="fileControl" >
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>0</number>
</property>
<property name="margin" >
<layout
class=
"QGridLayout"
>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item>
<widget class="QLabel" name="fileLabel" >
<property name="minimumSize" >
<item
row=
"4"
column=
"1"
colspan=
"2"
>
<widget
class=
"QComboBox"
name=
"visualisation"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item
row=
"4"
column=
"0"
>
<widget
class=
"QLabel"
name=
"visuLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
10
0</width>
<width>
25
0
</width>
<height>
0
</height>
</size>
</property>
<property name="text"
>
<string>
File
</string>
<property
name=
"text"
>
<string>
Visualization:
</string>
</property>
<property name="buddy"
>
<cstring>
fileName
</cstring>
<property
name=
"buddy"
>
<cstring>
visualisation
</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fileName" />
<item
row=
"3"
column=
"0"
>
<widget
class=
"QLabel"
name=
"replayLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Replay gain mode:
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
</set>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fileBrowseButton" >
<property name="text" >
<string>Browse...</string>
<item
row=
"3"
column=
"1"
colspan=
"2"
>
<widget
class=
"QComboBox"
name=
"replayCombo"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item
row=
"2"
column=
"1"
colspan=
"2"
>
<widget
class=
"QWidget"
name=
"widget"
native=
"true"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<property
name=
"margin"
>
<number>
0
</number>
</property>
<item>
<widget
class=
"QDoubleSpinBox"
name=
"volNormSpin"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight
</set>
</property>
</widget>
</item>
<item>
<spacer
name=
"horizontalSpacer"
>
<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>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"volNormBox"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
250
</width>
<height>
16777215
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Normalize volume to:
</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>Effects</string>
</property>
<layout class="QGridLayout" >
<item row="2" column="1" colspan="2" >
<widget class="QComboBox" name="visualisation" />
</item>
<item row="0" column="0" >
<widget class="QCheckBox" name="headphoneEffect" >
<property name="text" >
<string>Headphone surround effect</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="volNormBox" >
<property name="text" >
<string>Volume normalizer</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="visuLabel" >
<property name="text" >
<string>Visualization</string>
</property>
<property name="buddy" >
<cstring>visualisation</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLabel" name="replayLabel" >
<property name="text" >
<string>Replay gain mode</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QComboBox" name="replayCombo" />
</item>
<item row="1" column="2" >
<widget class="QDoubleSpinBox" name="volNormSpin" >
<property name="alignment" >
<set>Qt::AlignRight</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="lastFMBox" >
<property name="title" >
<string>last.fm</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QCheckBox" name="lastfm" >
<property name="text" >
<string>Enable last.fm submission</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="lastfm_user_label" >
<property name="text" >
<string>Username</string>
</property>
<property name="buddy" >
<cstring>lastfm_user_edit</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="lastfm_user_edit" />
</item>
<item row="2" column="0" >
<widget class="QLabel" name="lastfm_pass_label" >
<property name="text" >
<string>Password</string>
</property>
<property name="buddy" >
<cstring>lastfm_pass_edit</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLineEdit" name="lastfm_pass_edit" >
<property name="echoMode" >
<enum>QLineEdit::Password</enum>
<item>
<widget
class=
"QGroupBox"
name=
"groupBox_3"
>
<property
name=
"title"
>
<string>
Tracks
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_3"
>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"langLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Preferred audio language:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
preferredAudioLanguage
</cstring>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"preferredAudioLanguage"
/>
</item>
<item
row=
"2"
column=
"0"
colspan=
"2"
>
<widget
class=
"QWidget"
name=
"lastfm_zone"
native=
"true"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<property
name=
"margin"
>
<number>
0
</number>
</property>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"lastfm_user_edit"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item
row=
"1"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"lastfm_pass_edit"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"echoMode"
>
<enum>
QLineEdit::Password
</enum>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QLabel"
name=
"lastfm_pass_label"
>
<property
name=
"maximumSize"
>
<size>
<width>
250
</width>
<height>
16777215
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Password:
</string>
</property>
<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"
>
<widget
class=
"QLabel"
name=
"lastfm_user_label"
>
<property
name=
"maximumSize"
>
<size>
<width>
250
</width>
<height>
16777215
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Username:
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
</property>
<property
name=
"buddy"
>
<cstring>
lastfm_user_edit
</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item
row=
"1"
column=
"0"
colspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"lastfm"
>
<property
name=
"text"
>
<string>
Submit played tracks stats to Last.fm
</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
...
...
@@ -350,88 +564,11 @@
</widget>
<tabstops>
<tabstop>
enableAudio
</tabstop>
<tabstop>defaultVolume</tabstop>
<tabstop>volumeValue</tabstop>
<tabstop>spdifBox</tabstop>
<tabstop>saveVolBox</tabstop>
<tabstop>detectionDolby</tabstop>
<tabstop>preferredAudioLanguage</tabstop>
<tabstop>
outputModule
</tabstop>
<tabstop>
fileName
</tabstop>
<tabstop>
fileBrowseButton
</tabstop>
<tabstop>headphoneEffect</tabstop>
<tabstop>volNormBox</tabstop>
<tabstop>volNormSpin</tabstop>
<tabstop>
visualisation
</tabstop>
<tabstop>lastfm</tabstop>
<tabstop>lastfm_user_edit</tabstop>
<tabstop>lastfm_pass_edit</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>lastfm</sender>
<signal>toggled(bool)</signal>
<receiver>lastfm_pass_edit</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>188</x>
<y>619</y>
</hint>
<hint type="destinationlabel" >
<x>360</x>
<y>689</y>
</hint>
</hints>
</connection>
<connection>
<sender>lastfm</sender>
<signal>toggled(bool)</signal>
<receiver>lastfm_pass_label</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>188</x>
<y>619</y>
</hint>
<hint type="destinationlabel" >
<x>102</x>
<y>689</y>
</hint>
</hints>
</connection>
<connection>
<sender>lastfm</sender>
<signal>toggled(bool)</signal>
<receiver>lastfm_user_edit</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>188</x>
<y>619</y>
</hint>
<hint type="destinationlabel" >
<x>360</x>
<y>653</y>
</hint>
</hints>
</connection>
<connection>
<sender>lastfm</sender>
<signal>toggled(bool)</signal>
<receiver>lastfm_user_label</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>188</x>
<y>619</y>
</hint>
<hint type="destinationlabel" >
<x>102</x>
<y>653</y>
</hint>
</hints>
</connection>
</connections>
<connections/>
</ui>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment