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
d6dd1495
Commit
d6dd1495
authored
Oct 20, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Cosmetic) settings don't belong to the dialog provider
parent
519dca52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
50 deletions
+48
-50
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+48
-50
No files found.
modules/gui/qt4/qt4.cpp
View file @
d6dd1495
...
@@ -165,65 +165,63 @@ vlc_module_begin();
...
@@ -165,65 +165,63 @@ vlc_module_begin();
set_callbacks
(
Open
,
Close
);
set_callbacks
(
Open
,
Close
);
add_shortcut
(
"qt"
);
add_shortcut
(
"qt"
);
add_integer
(
"qt-display-mode"
,
QT_NORMAL_MODE
,
NULL
,
add_submodule
();
QT_MODE_TEXT
,
QT_MODE_LONGTEXT
,
false
);
set_description
(
"Dialogs provider"
);
change_integer_list
(
i_mode_list
,
psz_mode_list_text
,
NULL
);
set_capability
(
"dialogs provider"
,
51
);
add_bool
(
"qt-notification"
,
true
,
NULL
,
NOTIFICATION_TEXT
,
add_integer
(
"qt-display-mode"
,
QT_NORMAL_MODE
,
NULL
,
NOTIFICATION_LONGTEXT
,
false
);
QT_MODE_TEXT
,
QT_MODE_LONGTEXT
,
false
);
change_integer_list
(
i_mode_list
,
psz_mode_list_text
,
NULL
);
add_float_with_range
(
"qt-opacity"
,
1.
,
0.1
,
1.
,
NULL
,
OPACITY_TEXT
,
OPACITY_LONGTEXT
,
false
);
add_bool
(
"qt-notification"
,
true
,
NULL
,
NOTIFICATION_TEXT
,
add_bool
(
"qt-blingbling"
,
true
,
NULL
,
BLING_TEXT
,
BLING_TEXT
,
false
);
NOTIFICATION_LONGTEXT
,
false
);
add_bool
(
"qt-system-tray"
,
true
,
NULL
,
SYSTRAY_TEXT
,
add_float_with_range
(
"qt-opacity"
,
1.
,
0.1
,
1.
,
NULL
,
OPACITY_TEXT
,
SYSTRAY_LONGTEXT
,
false
);
OPACITY_LONGTEXT
,
false
);
add_bool
(
"qt-start-minimized"
,
false
,
NULL
,
MINIMIZED_TEXT
,
add_bool
(
"qt-blingbling"
,
true
,
NULL
,
BLING_TEXT
,
MINIMIZED_LONGTEXT
,
true
);
BLING_TEXT
,
false
);
add_bool
(
"qt-name-in-title"
,
true
,
NULL
,
TITLE_TEXT
,
TITLE_LONGTEXT
,
false
);
add_bool
(
"qt-system-tray"
,
true
,
NULL
,
SYSTRAY_TEXT
,
add_bool
(
"qt-fs-controller"
,
true
,
NULL
,
QT_FULLSCREEN_TEXT
,
SYSTRAY_LONGTEXT
,
false
);
QT_FULLSCREEN_TEXT
,
false
);
add_bool
(
"qt-start-minimized"
,
false
,
NULL
,
MINIMIZED_TEXT
,
MINIMIZED_LONGTEXT
,
true
);
add_bool
(
"qt-volume-complete"
,
false
,
NULL
,
COMPLETEVOL_TEXT
,
add_bool
(
"qt-name-in-title"
,
true
,
NULL
,
TITLE_TEXT
,
COMPLETEVOL_LONGTEXT
,
true
);
TITLE_LONGTEXT
,
false
);
add_bool
(
"qt-autosave-volume"
,
false
,
NULL
,
SAVEVOL_TEXT
,
add_bool
(
"qt-fs-controller"
,
true
,
NULL
,
QT_FULLSCREEN_TEXT
,
SAVEVOL_TEXT
,
true
);
QT_FULLSCREEN_TEXT
,
false
);
add_string
(
"qt-filedialog-path"
,
NULL
,
NULL
,
FILEDIALOG_PATH_TEXT
,
add_bool
(
"qt-volume-complete"
,
false
,
NULL
,
COMPLETEVOL_TEXT
,
COMPLETEVOL_LONGTEXT
,
true
);
add_bool
(
"qt-autosave-volume"
,
false
,
NULL
,
SAVEVOL_TEXT
,
SAVEVOL_TEXT
,
true
);
add_string
(
"qt-filedialog-path"
,
NULL
,
NULL
,
FILEDIALOG_PATH_TEXT
,
FILEDIALOG_PATH_TEXT
,
true
);
FILEDIALOG_PATH_TEXT
,
true
);
change_autosave
();
change_autosave
();
change_internal
();
change_internal
();
add_bool
(
"qt-recentplay"
,
true
,
NULL
,
RECENTPLAY_TEXT
,
add_bool
(
"qt-recentplay"
,
true
,
NULL
,
RECENTPLAY_TEXT
,
RECENTPLAY_TEXT
,
false
);
RECENTPLAY_TEXT
,
false
);
add_string
(
"qt-recentplay-filter"
,
"xxx|porn"
,
NULL
,
add_string
(
"qt-recentplay-filter"
,
"xxx|porn"
,
NULL
,
RECENTPLAY_FILTER_TEXT
,
RECENTPLAY_FILTER_LONGTEXT
,
false
);
RECENTPLAY_FILTER_TEXT
,
RECENTPLAY_FILTER_LONGTEXT
,
false
);
add_bool
(
"qt-adv-options"
,
false
,
NULL
,
ADVANCED_OPTIONS_TEXT
,
add_bool
(
"qt-adv-options"
,
false
,
NULL
,
ADVANCED_OPTIONS_TEXT
,
ADVANCED_OPTIONS_LONGTEXT
,
true
);
ADVANCED_OPTIONS_LONGTEXT
,
true
);
add_bool
(
"qt-advanced-pref"
,
false
,
NULL
,
ADVANCED_PREFS_TEXT
,
add_bool
(
"qt-advanced-pref"
,
false
,
NULL
,
ADVANCED_PREFS_TEXT
,
ADVANCED_PREFS_LONGTEXT
,
false
);
ADVANCED_PREFS_LONGTEXT
,
false
);
add_bool
(
"qt-error-dialogs"
,
true
,
NULL
,
ERROR_TEXT
,
add_bool
(
"qt-error-dialogs"
,
true
,
NULL
,
ERROR_TEXT
,
ERROR_TEXT
,
false
);
ERROR_TEXT
,
false
);
#ifdef UPDATE_CHECK
#ifdef UPDATE_CHECK
add_bool
(
"qt-updates-notif"
,
true
,
NULL
,
UPDATER_TEXT
,
add_bool
(
"qt-updates-notif"
,
true
,
NULL
,
UPDATER_TEXT
,
UPDATER_LONGTEXT
,
false
);
UPDATER_LONGTEXT
,
false
);
add_integer
(
"qt-updates-days"
,
7
,
NULL
,
UPDATER_DAYS_TEXT
,
add_integer
(
"qt-updates-days"
,
7
,
NULL
,
UPDATER_DAYS_TEXT
,
UPDATER_DAYS_TEXT
,
false
);
UPDATER_DAYS_TEXT
,
false
);
#endif
#endif
add_string
(
"qt-slider-colours"
,
add_string
(
"qt-slider-colours"
,
"255;255;255;20;226;20;255;176;15;235;30;20"
,
"255;255;255;20;226;20;255;176;15;235;30;20"
,
NULL
,
SLIDERCOL_TEXT
,
SLIDERCOL_LONGTEXT
,
false
);
NULL
,
SLIDERCOL_TEXT
,
SLIDERCOL_LONGTEXT
,
false
);
add_bool
(
"qt-privacy-ask"
,
true
,
NULL
,
PRIVACY_TEXT
,
PRIVACY_TEXT
,
add_bool
(
"qt-privacy-ask"
,
true
,
NULL
,
PRIVACY_TEXT
,
PRIVACY_TEXT
,
false
);
false
);
change_internal
();
change_internal
();
add_submodule
();
set_description
(
"Dialogs provider"
);
set_capability
(
"dialogs provider"
,
51
);
set_callbacks
(
OpenDialogs
,
Close
);
set_callbacks
(
OpenDialogs
,
Close
);
...
...
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