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
9b499eae
Commit
9b499eae
authored
Dec 20, 2006
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding Open Menu entries.
parent
bf38fbd0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
4 deletions
+24
-4
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+3
-0
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+16
-3
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+3
-1
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+2
-0
No files found.
modules/gui/qt4/dialogs/open.cpp
View file @
9b499eae
...
...
@@ -84,6 +84,7 @@ OpenDialog::~OpenDialog()
void
OpenDialog
::
showTab
(
int
i_tab
=
0
)
{
printf
(
"%i"
,
i_tab
);
this
->
show
();
ui
.
Tab
->
setCurrentIndex
(
i_tab
);
}
...
...
@@ -141,6 +142,8 @@ void OpenDialog::toggleAdvancedPanel()
}
resize
(
width
(),
mainHeight
+
advHeight
);
}
showTab
(
2
);
}
void
OpenDialog
::
updateMRL
()
{
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
9b499eae
...
...
@@ -80,10 +80,13 @@ void DialogsProvider::customEvent( QEvent *event )
switch
(
de
->
i_dialog
)
{
case
INTF_DIALOG_FILE
:
openDialog
();
break
;
case
INTF_DIALOG_DISC
:
openDiscDialog
();
break
;
case
INTF_DIALOG_NET
:
openNetDialog
();
break
;
case
INTF_DIALOG_CAPTURE
:
openDialog
(
de
->
i_dialog
);
break
;
openDialog
();
break
;
case
INTF_DIALOG_PLAYLIST
:
playlistDialog
();
break
;
case
INTF_DIALOG_MESSAGES
:
...
...
@@ -158,17 +161,27 @@ void DialogsProvider::openDialog()
{
openDialog
(
0
);
}
void
DialogsProvider
::
PLAppend
Dialog
()
void
DialogsProvider
::
openDisc
Dialog
()
{
openDialog
(
1
);
}
void
DialogsProvider
::
MLAppend
Dialog
()
void
DialogsProvider
::
openNet
Dialog
()
{
openDialog
(
2
);
}
void
DialogsProvider
::
openDialog
(
int
i_tab
)
{
OpenDialog
::
getInstance
(
p_intf
->
p_sys
->
p_mi
,
p_intf
)
->
showTab
(
i_tab
);
}
void
DialogsProvider
::
PLAppendDialog
()
{
}
void
DialogsProvider
::
MLAppendDialog
()
{
}
/**** Simple open ****/
QStringList
DialogsProvider
::
showSimpleOpen
()
...
...
modules/gui/qt4/dialogs_provider.hpp
View file @
9b499eae
...
...
@@ -83,9 +83,11 @@ public slots:
void
simpleMLAppendDialog
();
void
simpleOpenDialog
();
void
openDialog
();
void
openDialog
(
int
);
void
openNetDialog
();
void
openDiscDialog
();
void
PLAppendDialog
();
void
MLAppendDialog
();
void
openDialog
(
int
);
void
popupMenu
(
int
);
void
doInteraction
(
intf_dialog_args_t
*
);
void
menuAction
(
QObject
*
);
...
...
modules/gui/qt4/menus.cpp
View file @
9b499eae
...
...
@@ -143,6 +143,8 @@ QMenu *QVLCMenu::FileMenu()
QMenu
*
menu
=
new
QMenu
();
DP_SADD
(
qtr
(
"Quick &Open File..."
)
,
""
,
""
,
simpleOpenDialog
()
);
DP_SADD
(
qtr
(
"&Advanced Open..."
),
""
,
""
,
openDialog
()
);
DP_SADD
(
qtr
(
"Open &Network..."
),
""
,
""
,
openNetDialog
());
DP_SADD
(
qtr
(
"Open &Disc..."
),
""
,
""
,
openDiscDialog
());
menu
->
addSeparator
();
DP_SADD
(
qtr
(
"Streaming..."
),
""
,
""
,
streamingDialog
()
);
menu
->
addSeparator
();
...
...
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