Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
3a9d24fa
Commit
3a9d24fa
authored
Apr 28, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Menus modifications and additions. ( hide & playlist mainly )
parent
de4f8d2c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+8
-0
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+1
-0
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/main_interface.hpp
+1
-1
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+3
-1
No files found.
modules/gui/qt4/dialogs_provider.cpp
View file @
3a9d24fa
...
@@ -272,6 +272,9 @@ void DialogsProvider::simpleOpenDialog()
...
@@ -272,6 +272,9 @@ void DialogsProvider::simpleOpenDialog()
addFromSimple
(
true
,
true
);
addFromSimple
(
true
,
true
);
}
}
/****************
* Playlist *
****************/
void
DialogsProvider
::
openPlaylist
()
void
DialogsProvider
::
openPlaylist
()
{
{
QStringList
files
=
showSimpleOpen
(
qtr
(
"Open playlist file"
),
QStringList
files
=
showSimpleOpen
(
qtr
(
"Open playlist file"
),
...
@@ -466,6 +469,11 @@ void DialogsProvider::doInteraction( intf_dialog_args_t *p_arg )
...
@@ -466,6 +469,11 @@ void DialogsProvider::doInteraction( intf_dialog_args_t *p_arg )
}
}
}
}
void
DialogsProvider
::
hideMenus
()
{
/* TODO */
}
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 @
3a9d24fa
...
@@ -154,6 +154,7 @@ public slots:
...
@@ -154,6 +154,7 @@ public slots:
void
PLAppendDir
();
void
PLAppendDir
();
void
MLAppendDir
();
void
MLAppendDir
();
void
quit
();
void
quit
();
void
hideMenus
();
void
switchToSkins
();
void
switchToSkins
();
void
gotoTimeDialog
();
void
gotoTimeDialog
();
void
helpDialog
();
void
helpDialog
();
...
...
modules/gui/qt4/main_interface.hpp
View file @
3a9d24fa
...
@@ -105,6 +105,7 @@ private:
...
@@ -105,6 +105,7 @@ private:
void
customEvent
(
QEvent
*
);
void
customEvent
(
QEvent
*
);
public
slots
:
public
slots
:
void
undockPlaylist
();
void
undockPlaylist
();
void
playlist
();
private
slots
:
private
slots
:
void
setNavigation
(
int
);
void
setNavigation
(
int
);
void
setStatus
(
int
);
void
setStatus
(
int
);
...
@@ -115,7 +116,6 @@ private slots:
...
@@ -115,7 +116,6 @@ private slots:
void
stop
();
void
stop
();
void
prev
();
void
prev
();
void
next
();
void
next
();
void
playlist
();
void
visual
();
void
visual
();
void
advanced
();
void
advanced
();
void
updateVolume
(
int
sliderVolume
);
void
updateVolume
(
int
sliderVolume
);
...
...
modules/gui/qt4/menus.cpp
View file @
3a9d24fa
...
@@ -240,6 +240,7 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
...
@@ -240,6 +240,7 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
DP_SADD
(
qtr
(
I_MENU_MSG
),
""
,
""
,
messagesDialog
(),
"Ctrl+M"
);
DP_SADD
(
qtr
(
I_MENU_MSG
),
""
,
""
,
messagesDialog
(),
"Ctrl+M"
);
DP_SADD
(
qtr
(
I_MENU_INFO
)
,
""
,
""
,
mediaInfoDialog
(),
"Ctrl+J"
);
DP_SADD
(
qtr
(
I_MENU_INFO
)
,
""
,
""
,
mediaInfoDialog
(),
"Ctrl+J"
);
DP_SADD
(
qtr
(
I_MENU_CODECINFO
)
,
""
,
""
,
mediaCodecDialog
(),
"Ctrl+I"
);
DP_SADD
(
qtr
(
I_MENU_CODECINFO
)
,
""
,
""
,
mediaCodecDialog
(),
"Ctrl+I"
);
DP_SADD
(
qtr
(
I_MENU_GOTOTIME
),
""
,
""
,
gotoTimeDialog
(),
"Ctrl+T"
);
menu
->
addSeparator
();
menu
->
addSeparator
();
if
(
mi
)
if
(
mi
)
{
{
...
@@ -253,9 +254,10 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
...
@@ -253,9 +254,10 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
adv->setCheckable( true );
adv->setCheckable( true );
if( visual_selector_enabled ) adv->setChecked( true );
if( visual_selector_enabled ) adv->setChecked( true );
#endif
#endif
menu
->
addAction
(
qtr
(
"Playlist"
),
mi
,
SLOT
(
playlist
()
)
);
}
}
DP_SADD
(
qtr
(
I_MENU_EXT
),
""
,
""
,
extendedDialog
(),
"Ctrl+E"
);
DP_SADD
(
qtr
(
I_MENU_EXT
),
""
,
""
,
extendedDialog
(),
"Ctrl+E"
);
DP_SADD
(
qtr
(
I_MENU_GOTOTIME
),
""
,
""
,
gotoTimeDialog
(),
"Ctrl+T
"
);
DP_SADD
(
qtr
(
"Hide Menus..."
),
""
,
""
,
hideMenus
(),
"Ctrl+H
"
);
menu
->
addSeparator
();
menu
->
addSeparator
();
DP_SADD
(
qtr
(
"Preferences"
),
""
,
""
,
prefsDialog
(),
"Ctrl+P"
);
DP_SADD
(
qtr
(
"Preferences"
),
""
,
""
,
prefsDialog
(),
"Ctrl+P"
);
return
menu
;
return
menu
;
...
...
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