Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ea3f97f1
Commit
ea3f97f1
authored
Apr 29, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Simple Prefs. Small modifications on style.
parent
6bc91feb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
11 deletions
+21
-11
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+21
-11
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
ea3f97f1
...
@@ -166,10 +166,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -166,10 +166,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
{
{
/* Video Panel Implementation */
/* Video Panel Implementation */
START_SPREFS_CAT
(
Video
,
"General video settings"
);
START_SPREFS_CAT
(
Video
,
"General video settings"
);
#ifndef WIN32
CONFIG_GENERIC
(
"video"
,
Bool
,
NULL
,
enableVideo
);
ui
.
directXBox
->
setVisible
(
false
);
#endif
CONFIG_GENERIC
(
"video"
,
Bool
,
NULL
,
enableVideo
);
CONFIG_GENERIC
(
"fullscreen"
,
Bool
,
NULL
,
fullscreen
);
CONFIG_GENERIC
(
"fullscreen"
,
Bool
,
NULL
,
fullscreen
);
CONFIG_GENERIC
(
"overlay"
,
Bool
,
NULL
,
overlay
);
CONFIG_GENERIC
(
"overlay"
,
Bool
,
NULL
,
overlay
);
...
@@ -182,6 +179,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -182,6 +179,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC
(
"directx-wallpaper"
,
Bool
,
NULL
,
wallpaperMode
);
CONFIG_GENERIC
(
"directx-wallpaper"
,
Bool
,
NULL
,
wallpaperMode
);
CONFIG_GENERIC
(
"directx-device"
,
StringList
,
NULL
,
CONFIG_GENERIC
(
"directx-device"
,
StringList
,
NULL
,
dXdisplayDevice
);
dXdisplayDevice
);
#else
ui
.
directXBox
->
setVisible
(
false
);
#endif
#endif
CONFIG_GENERIC_FILE
(
"snapshot-path"
,
Directory
,
NULL
,
CONFIG_GENERIC_FILE
(
"snapshot-path"
,
Directory
,
NULL
,
...
@@ -261,17 +260,26 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -261,17 +260,26 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
#if defined( WIN32 ) || defined (__APPLE__)
#if defined( WIN32 ) || defined (__APPLE__)
CONFIG_GENERIC
(
"language"
,
StringList
,
NULL
,
language
);
//FIXME
CONFIG_GENERIC
(
"language"
,
StringList
,
NULL
,
language
);
//FIXME
#else
ui
.
language
->
hide
();
ui
.
languageLabel
->
hide
();
#endif
#endif
#if !defined( WIN32 ) && !defined( HAVE_DBUS_3 )
ui
.
OneInterfaceBox
->
hide
();
/* interface */
#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" ))
if( p_config->value.psz && strcmp( p_config->value.psz, "qt4" ))
ui.qt4->setChecked( true );
{
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" ))
if( p_config->value.psz && strcmp( p_config->value.psz, "skins2" ))
ui.skins->setChecked( true );*/
{
/* CONFIG_GENERIC( "intf", Module, NULL, ??? ); */
//FIXME interface choice
ui.skins->setChecked( true );
}*/
// CONFIG_GENERIC( "intf", Module, NULL, Interface );
//FIXME interface choice
CONFIG_GENERIC
(
"qt-always-video"
,
Bool
,
NULL
,
qtAlwaysVideo
);
CONFIG_GENERIC
(
"qt-always-video"
,
Bool
,
NULL
,
qtAlwaysVideo
);
CONFIG_GENERIC_FILE
(
"skins2-last"
,
File
,
NULL
,
fileSkin
,
CONFIG_GENERIC_FILE
(
"skins2-last"
,
File
,
NULL
,
fileSkin
,
skinBrowse
);
skinBrowse
);
...
@@ -279,6 +287,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -279,6 +287,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC
(
"one-instance"
,
Bool
,
NULL
,
OneInterfaceMode
);
CONFIG_GENERIC
(
"one-instance"
,
Bool
,
NULL
,
OneInterfaceMode
);
CONFIG_GENERIC
(
"playlist-enqueue"
,
Bool
,
NULL
,
CONFIG_GENERIC
(
"playlist-enqueue"
,
Bool
,
NULL
,
EnqueueOneInterfaceMode
);
EnqueueOneInterfaceMode
);
#else
ui
.
OneInterfaceBox
->
hide
();
#endif
#endif
END_SPREFS_CAT
;
END_SPREFS_CAT
;
...
...
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