Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
381a5cb4
Commit
381a5cb4
authored
Mar 20, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Pref: start to track functionnalities missing. Directory still segfaults..
parent
2cb0f893
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
13 deletions
+12
-13
include/vlc_modules.h
include/vlc_modules.h
+1
-1
modules/gui/qt4/components/preferences_widgets.hpp
modules/gui/qt4/components/preferences_widgets.hpp
+2
-2
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+9
-10
No files found.
include/vlc_modules.h
View file @
381a5cb4
...
...
@@ -108,5 +108,5 @@ struct module_t
VLC_EXPORT
(
module_t
*
,
__module_Need
,
(
vlc_object_t
*
,
const
char
*
,
const
char
*
,
vlc_bool_t
)
);
#define module_Unneed(a,b) __module_Unneed(VLC_OBJECT(a),b)
VLC_EXPORT
(
void
,
__module_Unneed
,
(
vlc_object_t
*
,
module_t
*
)
);
#define module_Exist(a,b) __module_Exists(VLC_OBJECT(a),b)
#define module_Exist
s
(a,b) __module_Exists(VLC_OBJECT(a),b)
VLC_EXPORT
(
vlc_bool_t
,
__module_Exists
,
(
vlc_object_t
*
,
const
char
*
)
);
modules/gui/qt4/components/preferences_widgets.hpp
View file @
381a5cb4
...
...
@@ -274,7 +274,7 @@ public:
virtual
void
show
()
{
text
->
show
();
label
->
show
();
browse
->
show
();
}
virtual
void
hide
()
{
text
->
hide
();
label
->
hide
();
browse
->
hide
();
}
public
slots
:
void
updateField
();
v
irtual
v
oid
updateField
();
protected:
void
finish
();
private:
...
...
@@ -296,7 +296,7 @@ public:
virtual
void
show
()
{
text
->
show
();
label
->
show
();
browse
->
show
();
}
virtual
void
hide
()
{
text
->
hide
();
label
->
hide
();
browse
->
hide
();
}
public
slots
:
void
updateField
();
v
irtual
v
oid
updateField
();
private:
QLineEdit
*
text
;
QLabel
*
label
;
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
381a5cb4
...
...
@@ -123,8 +123,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
controls.append( control ); \
}
#define START_SPREFS_CAT( name , label ) \
case SPrefs ## name: \
{ \
...
...
@@ -199,7 +197,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC_NO_BOOL
(
"volume"
,
IntegerRangeSlider
,
NULL
,
defaultVolume
);
CONFIG_GENERIC
(
"audio-language"
,
StringList
,
NULL
,
preferredAudioLanguage
);
preferredAudioLanguage
);
//FIXME
CONFIG_GENERIC
(
"spdif"
,
Bool
,
NULL
,
spdifBox
);
CONFIG_GENERIC
(
"force-dolby-surround"
,
IntegerList
,
NULL
,
detectionDolby
);
...
...
@@ -216,7 +215,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
fileBrowseButton
);
CONFIG_GENERIC
(
"headphone-dolby"
,
Bool
,
NULL
,
headphoneEffect
);
// CONFIG_GENERIC( "" , Bool, NULL, ); activation of normalizer
// CONFIG_GENERIC( "" , Bool, NULL, ); activation of normalizer
//FIXME
CONFIG_GENERIC_NO_BOOL
(
"norm-max-level"
,
Float
,
NULL
,
volNormalizer
);
CONFIG_GENERIC
(
"audio-visual"
,
Module
,
NULL
,
visualisation
);
...
...
@@ -225,13 +224,13 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
/* Input and Codecs Panel Implementation */
START_SPREFS_CAT
(
InputAndCodecs
,
"Input & Codecs settings"
);
/* Disk Devices */
/* CONFIG_GENERIC( );*/
/* CONFIG_GENERIC( );*/
//FIXME
CONFIG_GENERIC_NO_BOOL
(
"server-port"
,
Integer
,
NULL
,
UDPPort
);
CONFIG_GENERIC
(
"http-proxy"
,
String
,
NULL
,
proxy
);
/* Caching */
/* CONFIG_GENERIC( );*/
/* CONFIG_GENERIC( );*/
//FIXME
CONFIG_GENERIC_NO_BOOL
(
"ffmpeg-pp-q"
,
Integer
,
NULL
,
PostProcLevel
);
CONFIG_GENERIC
(
"avi-index"
,
IntegerList
,
NULL
,
AviRepair
);
...
...
@@ -244,8 +243,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
/* Interface Panel */
START_SPREFS_CAT
(
Interface
,
"Interfaces settings"
);
CONFIG_GENERIC
(
"language"
,
StringList
,
NULL
,
language
);
CONFIG_GENERIC
(
"language"
,
StringList
,
NULL
,
language
);
//FIXME
#if !defined( WIN32 ) && !defined( HAVE_DBUS_3 )
ui
.
OneInterfaceBox
->
hide
();
#endif
...
...
@@ -270,8 +269,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
);
CONFIG_GENERIC
(
"sub-language"
,
String
,
NULL
,
preferredLanguage
);
//FIXME
CONFIG_GENERIC_FILE
(
"freetype-font"
,
File
,
NULL
,
font
,
fontBrowse
);
CONFIG_GENERIC
(
"freetype-color"
,
IntegerList
,
NULL
,
fontColor
);
...
...
@@ -282,6 +280,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
END_SPREFS_CAT
;
START_SPREFS_CAT
(
Hotkeys
,
"Configure Hotkeys"
);
//FIMXE
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