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
3fb5c74c
Commit
3fb5c74c
authored
Apr 17, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt, reorder options and deprecate "opendialog-advanced"
parent
77bcf64b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
27 deletions
+32
-27
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+2
-1
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+30
-26
No files found.
modules/gui/qt4/dialogs/open.cpp
View file @
3fb5c74c
...
...
@@ -167,7 +167,7 @@ OpenDialog::OpenDialog( QWidget *parent,
BUTTONACT
(
cancelButton
,
cancel
()
);
/* Hide the advancedPanel */
if
(
!
var_InheritBool
(
p_intf
,
"qt-adv-options"
)
)
if
(
!
getSettings
()
->
value
(
"opendialog-advanced"
,
false
).
toBool
()
)
{
ui
.
advancedFrame
->
hide
();
ui
.
advancedFrame
->
setEnabled
(
false
);
...
...
@@ -189,6 +189,7 @@ OpenDialog::~OpenDialog()
getSettings
()
->
setValue
(
"opendialog-size"
,
size
()
-
(
ui
.
advancedFrame
->
isEnabled
()
?
QSize
(
0
,
ui
.
advancedFrame
->
height
())
:
QSize
(
0
,
0
)
)
);
getSettings
()
->
setValue
(
"opendialog-advanced"
,
ui
.
advancedFrame
->
isVisible
()
);
}
/* Used by VLM dialog and inputSlave selection */
...
...
modules/gui/qt4/qt4.cpp
View file @
3fb5c74c
...
...
@@ -202,18 +202,20 @@ vlc_module_begin ()
add_bool
(
"qt-minimal-view"
,
false
,
QT_MINIMAL_MODE_TEXT
,
QT_MINIMAL_MODE_TEXT
,
false
);
add_bool
(
"qt-system-tray"
,
true
,
SYSTRAY_TEXT
,
SYSTRAY_LONGTEXT
,
false
)
add_bool
(
"qt-notification"
,
true
,
NOTIFICATION_TEXT
,
NOTIFICATION_LONGTEXT
,
false
)
add_bool
(
"qt-start-minimized"
,
false
,
MINIMIZED_TEXT
,
MINIMIZED_LONGTEXT
,
true
)
add_bool
(
"qt-pause-minimized"
,
true
,
QT_PAUSE_MINIMIZED_TEXT
,
QT_PAUSE_MINIMIZED_LONGTEXT
,
false
)
add_float_with_range
(
"qt-opacity"
,
1.
,
0.1
,
1.
,
NULL
,
OPACITY_TEXT
,
OPACITY_LONGTEXT
,
false
)
add_float_with_range
(
"qt-fs-opacity"
,
0.8
,
0.1
,
1.
,
NULL
,
OPACITY_FS_TEXT
,
OPACITY_FS_LONGTEXT
,
false
)
add_bool
(
"qt-system-tray"
,
true
,
SYSTRAY_TEXT
,
SYSTRAY_LONGTEXT
,
false
)
add_bool
(
"qt-start-minimized"
,
false
,
MINIMIZED_TEXT
,
MINIMIZED_LONGTEXT
,
true
)
add_bool
(
"qt-video-autoresize"
,
true
,
KEEPSIZE_TEXT
,
KEEPSIZE_LONGTEXT
,
false
)
add_bool
(
"qt-name-in-title"
,
true
,
TITLE_TEXT
,
...
...
@@ -221,6 +223,18 @@ vlc_module_begin ()
add_bool
(
"qt-fs-controller"
,
true
,
QT_FULLSCREEN_TEXT
,
QT_FULLSCREEN_TEXT
,
false
)
add_bool
(
"qt-recentplay"
,
true
,
RECENTPLAY_TEXT
,
RECENTPLAY_TEXT
,
false
)
add_string
(
"qt-recentplay-filter"
,
""
,
RECENTPLAY_FILTER_TEXT
,
RECENTPLAY_FILTER_LONGTEXT
,
false
)
#ifdef UPDATE_CHECK
add_bool
(
"qt-updates-notif"
,
true
,
UPDATER_TEXT
,
UPDATER_LONGTEXT
,
false
)
add_integer
(
"qt-updates-days"
,
3
,
UPDATER_DAYS_TEXT
,
UPDATER_DAYS_TEXT
,
false
)
#endif
add_bool
(
"qt-volume-complete"
,
false
,
COMPLETEVOL_TEXT
,
COMPLETEVOL_LONGTEXT
,
true
)
add_bool
(
"qt-autosave-volume"
,
false
,
SAVEVOL_TEXT
,
...
...
@@ -228,25 +242,23 @@ vlc_module_begin ()
add_integer_with_range
(
"qt-startvolume"
,
QT_VOLUME_DEFAULT
,
0
,
QT_VOLUME_MAX
,
NULL
,
STARTVOL_TEXT
,
STARTVOL_TEXT
,
true
)
#ifdef WIN32
add_bool
(
"qt-disable-volume-keys"
/* name */
,
true
/* default value */
,
QT_DISABLE_VOLUME_KEYS_TEXT
/* text */
,
QT_DISABLE_VOLUME_KEYS_LONGTEXT
/* longtext */
,
false
/* advanced mode only */
)
#endif
add_bool
(
"qt-embedded-open"
,
false
,
QT_NATIVEOPEN_TEXT
,
QT_NATIVEOPEN_TEXT
,
false
)
add_bool
(
"qt-recentplay"
,
true
,
RECENTPLAY_TEXT
,
RECENTPLAY_TEXT
,
false
)
add_string
(
"qt-recentplay-filter"
,
""
,
RECENTPLAY_FILTER_TEXT
,
RECENTPLAY_FILTER_LONGTEXT
,
false
)
add_bool
(
"qt-adv-options"
,
false
,
ADVANCED_OPTIONS_TEXT
,
ADVANCED_OPTIONS_LONGTEXT
,
true
)
add_bool
(
"qt-advanced-pref"
,
false
,
ADVANCED_PREFS_TEXT
,
ADVANCED_PREFS_LONGTEXT
,
false
)
add_bool
(
"qt-error-dialogs"
,
true
,
ERROR_TEXT
,
ERROR_TEXT
,
false
)
#ifdef UPDATE_CHECK
add_bool
(
"qt-updates-notif"
,
true
,
UPDATER_TEXT
,
UPDATER_LONGTEXT
,
false
)
add_integer
(
"qt-updates-days"
,
3
,
UPDATER_DAYS_TEXT
,
UPDATER_DAYS_TEXT
,
false
)
#endif
add_string
(
"qt-slider-colours"
,
"255;255;255;20;210;20;255;199;15;245;39;29"
,
SLIDERCOL_TEXT
,
SLIDERCOL_LONGTEXT
,
false
)
...
...
@@ -265,22 +277,14 @@ vlc_module_begin ()
add_bool
(
"qt-bgcone-expands"
,
false
,
QT_BGCONE_EXPANDS_TEXT
,
QT_BGCONE_EXPANDS_LONGTEXT
,
true
)
#ifdef WIN32
add_bool
(
"qt-disable-volume-keys"
/* name */
,
true
/* default value */
,
QT_DISABLE_VOLUME_KEYS_TEXT
/* text */
,
QT_DISABLE_VOLUME_KEYS_LONGTEXT
/* longtext */
,
false
/* advanced mode only */
)
#endif
add_bool
(
"qt-pause-minimized"
,
true
,
QT_PAUSE_MINIMIZED_TEXT
,
QT_PAUSE_MINIMIZED_LONGTEXT
,
false
)
add_obsolete_bool
(
"qt-blingbling"
)
/* Suppressed since 1.0.0 */
add_obsolete_integer
(
"qt-display-mode"
)
/* Suppressed since 1.1.0 */
add_bool
(
"qt-icon-change"
,
true
,
ICONCHANGE_TEXT
,
ICONCHANGE_LONGTEXT
,
true
)
add_obsolete_bool
(
"qt-adv-options"
)
/* Since 1.2.0 */
#ifdef WIN32
cannot_unload_broken_library
()
#endif
...
...
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