Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
bee4d417
Commit
bee4d417
authored
Apr 29, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Simple Prefs: little adjustements.
parent
1759042f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
39 deletions
+37
-39
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+15
-18
modules/gui/qt4/ui/sprefs_audio.ui
modules/gui/qt4/ui/sprefs_audio.ui
+5
-20
modules/gui/qt4/ui/sprefs_subtitles.ui
modules/gui/qt4/ui/sprefs_subtitles.ui
+17
-1
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
bee4d417
...
...
@@ -208,8 +208,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC_NO_BOOL
(
"volume"
,
IntegerRangeSlider
,
NULL
,
defaultVolume
);
CONFIG_GENERIC
(
"audio-language"
,
String
List
,
NULL
,
preferredAudioLanguage
);
//FIXME
CONFIG_GENERIC
(
"audio-language"
,
String
,
NULL
,
preferredAudioLanguage
);
CONFIG_GENERIC
(
"spdif"
,
Bool
,
NULL
,
spdifBox
);
CONFIG_GENERIC
(
"force-dolby-surround"
,
IntegerList
,
NULL
,
...
...
@@ -259,27 +259,24 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui
.
skinsLabel
->
setFont
(
italicFont
);
#if defined( WIN32 ) || defined (__APPLE__)
CONFIG_GENERIC
(
"language"
,
StringList
,
NULL
,
language
);
//FIXME
CONFIG_GENERIC
(
"language"
,
StringList
,
NULL
,
language
);
#else
ui
.
language
->
hide
();
ui
.
languageLabel
->
hide
();
#endif
/* interface */
/*
p_config = config_FindConfig( VLC_OBJECT(p_intf), "intf" );
p_config
=
config_FindConfig
(
VLC_OBJECT
(
p_intf
),
"intf"
);
if
(
p_config
->
value
.
psz
&&
strcmp
(
p_config
->
value
.
psz
,
"qt4"
))
{
ui
.
qt4
->
setChecked
(
true
);
control = new StringConfigControl( VLC_OBJECT(p_intf),
p_config, NULL, ui.qt4 );
controls.append( control );
}
if
(
p_config
->
value
.
psz
&&
strcmp
(
p_config
->
value
.
psz
,
"skins2"
))
{
ui
.
skins
->
setChecked
(
true
);
}*/
// CONFIG_GENERIC( "intf", Module, NULL, Interface );
}
//FIXME interface choice
CONFIG_GENERIC
(
"qt-always-video"
,
Bool
,
NULL
,
qtAlwaysVideo
);
CONFIG_GENERIC_FILE
(
"skins2-last"
,
File
,
NULL
,
fileSkin
,
skinBrowse
);
...
...
@@ -296,7 +293,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC
(
"osd"
,
Bool
,
NULL
,
OSDBox
);
CONFIG_GENERIC
(
"subsdec-encoding"
,
StringList
,
NULL
,
encoding
);
CONFIG_GENERIC
(
"sub-language"
,
String
,
NULL
,
preferredLanguage
);
//FIXME
CONFIG_GENERIC
(
"sub-language"
,
String
,
NULL
,
preferredLanguage
);
CONFIG_GENERIC_FILE
(
"freetype-font"
,
File
,
NULL
,
font
,
fontBrowse
);
CONFIG_GENERIC
(
"freetype-color"
,
IntegerList
,
NULL
,
fontColor
);
...
...
modules/gui/qt4/ui/sprefs_audio.ui
View file @
bee4d417
...
...
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>4
18
</width>
<height>5
39
</height>
<width>4
61
</width>
<height>5
54
</height>
</rect>
</property>
<property name="windowTitle" >
...
...
@@ -77,24 +77,6 @@
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QComboBox" name="preferredAudioLanguage" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize" >
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
...
...
@@ -130,6 +112,9 @@
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QLineEdit" name="preferredAudioLanguage" />
</item>
</layout>
</widget>
</item>
...
...
modules/gui/qt4/ui/sprefs_subtitles.ui
View file @
bee4d417
...
...
@@ -6,7 +6,7 @@
<x>0</x>
<y>0</y>
<width>427</width>
<height>3
59
</height>
<height>3
65
</height>
</rect>
</property>
<property name="windowTitle" >
...
...
@@ -49,6 +49,14 @@
</item>
<item>
<widget class="QGroupBox" name="groupBox_2" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title" >
<string>Subtitles languages</string>
</property>
...
...
@@ -68,6 +76,14 @@
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="encoding" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maxVisibleItems" >
<number>12</number>
</property>
...
...
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