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
e2dcc023
Commit
e2dcc023
authored
Jan 21, 2008
by
Pavlov Konstantin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT4: Add a menu item to switch to WxWidgets if available.
parent
8be8be5e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+5
-0
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+1
-0
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+5
-0
No files found.
modules/gui/qt4/dialogs_provider.cpp
View file @
e2dcc023
...
@@ -509,3 +509,8 @@ void DialogsProvider::switchToSkins()
...
@@ -509,3 +509,8 @@ void DialogsProvider::switchToSkins()
{
{
var_SetString
(
p_intf
,
"intf-switch"
,
"skins2"
);
var_SetString
(
p_intf
,
"intf-switch"
,
"skins2"
);
}
}
void
DialogsProvider
::
switchToWx
()
{
var_SetString
(
p_intf
,
"intf-switch"
,
"wxwidgets"
);
}
modules/gui/qt4/dialogs_provider.hpp
View file @
e2dcc023
...
@@ -183,6 +183,7 @@ public slots:
...
@@ -183,6 +183,7 @@ public slots:
void
saveAPlaylist
();
void
saveAPlaylist
();
void
switchToSkins
();
void
switchToSkins
();
void
switchToWx
();
void
quit
();
void
quit
();
};
};
...
...
modules/gui/qt4/menus.cpp
View file @
e2dcc023
...
@@ -332,6 +332,11 @@ QMenu *QVLCMenu::InterfacesMenu( intf_thread_t *p_intf, QMenu *current )
...
@@ -332,6 +332,11 @@ QMenu *QVLCMenu::InterfacesMenu( intf_thread_t *p_intf, QMenu *current )
menu
->
addSeparator
();
menu
->
addSeparator
();
menu
->
addAction
(
qtr
(
"Switch to skins"
),
THEDP
,
SLOT
(
switchToSkins
()
),
menu
->
addAction
(
qtr
(
"Switch to skins"
),
THEDP
,
SLOT
(
switchToSkins
()
),
QString
(
"Ctrl+Z"
)
);
QString
(
"Ctrl+Z"
)
);
if
(
module_Exists
(
VLC_OBJECT
(
p_intf
),
"wxwidgets"
)
)
{
menu
->
addAction
(
qtr
(
"Switch to WxWidgets"
),
THEDP
,
SLOT
(
switchToWx
()
)
);
}
}
}
CONNECT
(
menu
,
aboutToShow
(),
THEDP
->
menusUpdateMapper
,
map
()
);
CONNECT
(
menu
,
aboutToShow
(),
THEDP
->
menusUpdateMapper
,
map
()
);
...
...
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