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
0e4fa2de
Commit
0e4fa2de
authored
Aug 02, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4 - HideMenus change position. Still don't know whether we will keep this one.
parent
8a0eed5f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
9 deletions
+10
-9
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+0
-7
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+0
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+7
-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
+2
-1
No files found.
modules/gui/qt4/dialogs_provider.cpp
View file @
0e4fa2de
...
@@ -501,13 +501,6 @@ void DialogsProvider::doInteraction( intf_dialog_args_t *p_arg )
...
@@ -501,13 +501,6 @@ void DialogsProvider::doInteraction( intf_dialog_args_t *p_arg )
}
}
}
}
void
DialogsProvider
::
hideMenus
()
{
/* TODO
* Simplify the main Interface
*/
}
void
DialogsProvider
::
switchToSkins
()
void
DialogsProvider
::
switchToSkins
()
{
{
var_SetString
(
p_intf
,
"intf-switch"
,
"skins2"
);
var_SetString
(
p_intf
,
"intf-switch"
,
"skins2"
);
...
...
modules/gui/qt4/dialogs_provider.hpp
View file @
0e4fa2de
...
@@ -166,7 +166,6 @@ public slots:
...
@@ -166,7 +166,6 @@ public slots:
void
openPlaylist
();
void
openPlaylist
();
void
savePlaylist
();
void
savePlaylist
();
void
hideMenus
();
void
switchToSkins
();
void
switchToSkins
();
void
quit
();
void
quit
();
};
};
...
...
modules/gui/qt4/main_interface.cpp
View file @
0e4fa2de
...
@@ -747,6 +747,13 @@ void MainInterface::undockPlaylist()
...
@@ -747,6 +747,13 @@ void MainInterface::undockPlaylist()
}
}
}
}
void
MainInterface
::
toggleMenus
()
{
if
(
menuBar
()
->
isVisible
()
)
menuBar
()
->
hide
();
else
menuBar
()
->
show
();
msg_Dbg
(
p_intf
,
"I was there:
\\
_o<~~ coin coin"
);
}
void
MainInterface
::
customEvent
(
QEvent
*
event
)
void
MainInterface
::
customEvent
(
QEvent
*
event
)
{
{
if
(
event
->
type
()
==
PLDockEvent_Type
)
if
(
event
->
type
()
==
PLDockEvent_Type
)
...
...
modules/gui/qt4/main_interface.hpp
View file @
0e4fa2de
...
@@ -118,6 +118,7 @@ private:
...
@@ -118,6 +118,7 @@ private:
void
customEvent
(
QEvent
*
);
void
customEvent
(
QEvent
*
);
public
slots
:
public
slots
:
void
undockPlaylist
();
void
undockPlaylist
();
void
toggleMenus
();
void
playlist
();
void
playlist
();
void
toggleUpdateSystrayMenu
();
void
toggleUpdateSystrayMenu
();
private
slots
:
private
slots
:
...
...
modules/gui/qt4/menus.cpp
View file @
0e4fa2de
...
@@ -289,7 +289,8 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
...
@@ -289,7 +289,8 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
adv
->
setCheckable
(
true
);
adv
->
setCheckable
(
true
);
if
(
adv_controls_enabled
)
adv
->
setChecked
(
true
);
if
(
adv_controls_enabled
)
adv
->
setChecked
(
true
);
DP_SADD
(
menu
,
qtr
(
"Hide Menus..."
),
""
,
""
,
hideMenus
(),
"Ctrl+H"
);
menu
->
addAction
(
qtr
(
"Hide Menus..."
),
mi
,
SLOT
(
toggleMenus
()
),
qtr
(
"Ctrl+H"
)
);
menu
->
addSeparator
();
menu
->
addSeparator
();
#if 0 /* For Visualisations. Not yet working */
#if 0 /* For Visualisations. Not yet working */
...
...
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