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
bd808b06
Commit
bd808b06
authored
Jan 20, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: add the hability to put the *interface* in fullscreen (hotkey: F11)
parent
898e4eb8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+8
-0
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/main_interface.hpp
+1
-0
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+4
-0
No files found.
modules/gui/qt4/main_interface.cpp
View file @
bd808b06
...
...
@@ -1135,6 +1135,14 @@ void MainInterface::closeEvent( QCloseEvent *e )
THEDP
->
quit
();
}
void
MainInterface
::
toggleFullScreen
(
void
)
{
if
(
isFullScreen
()
)
showNormal
();
else
showFullScreen
();
}
/*****************************************************************************
* Callbacks
*****************************************************************************/
...
...
modules/gui/qt4/main_interface.hpp
View file @
bd808b06
...
...
@@ -143,6 +143,7 @@ public slots:
void
togglePlaylist
();
void
toggleUpdateSystrayMenu
();
void
toggleAdvanced
();
void
toggleFullScreen
();
/* Manage the Video Functions from the vout threads */
void
releaseVideoSlot
(
void
*
);
...
...
modules/gui/qt4/menus.cpp
View file @
bd808b06
...
...
@@ -274,6 +274,10 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf,
if
(
mi
->
getControlsVisibilityStatus
()
&
CONTROLS_VISIBLE
)
action
->
setChecked
(
true
);
/* FullScreen View */
action
=
menu
->
addAction
(
qtr
(
"Toggle Fullscreen Interface"
),
mi
,
SLOT
(
toggleFullScreen
()
),
qtr
(
"F11"
)
);
/* Advanced Controls */
action
=
menu
->
addAction
(
qtr
(
"Advanced controls"
),
mi
,
SLOT
(
toggleAdvanced
()
)
);
...
...
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