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
1b978bf8
Commit
1b978bf8
authored
Aug 13, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: MediaInfo: name panels for public method usage
parent
50c97f0b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
8 deletions
+16
-8
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/mediainfo.cpp
+5
-5
modules/gui/qt4/dialogs/mediainfo.hpp
modules/gui/qt4/dialogs/mediainfo.hpp
+9
-1
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+2
-2
No files found.
modules/gui/qt4/dialogs/mediainfo.cpp
View file @
1b978bf8
...
...
@@ -60,15 +60,15 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
infoTabW
=
new
QTabWidget
;
MP
=
new
MetaPanel
(
infoTabW
,
p_intf
);
infoTabW
->
addTab
(
MP
,
qtr
(
"&General"
)
);
infoTabW
->
insertTab
(
META_PANEL
,
MP
,
qtr
(
"&General"
)
);
EMP
=
new
ExtraMetaPanel
(
infoTabW
);
infoTabW
->
addTab
(
EMP
,
qtr
(
"&Metadata"
)
);
infoTabW
->
insertTab
(
EXTRAMETA_PANEL
,
EMP
,
qtr
(
"&Metadata"
)
);
IP
=
new
InfoPanel
(
infoTabW
);
infoTabW
->
addTab
(
IP
,
qtr
(
"Co&dec"
)
);
infoTabW
->
insertTab
(
INFO_PANEL
,
IP
,
qtr
(
"Co&dec"
)
);
if
(
isMainInputInfo
)
{
ISP
=
new
InputStatsPanel
(
infoTabW
);
infoTabW
->
addTab
(
ISP
,
qtr
(
"S&tatistics"
)
);
infoTabW
->
insertTab
(
INPUTSTATS_PANEL
,
ISP
,
qtr
(
"S&tatistics"
)
);
}
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
...
...
@@ -136,7 +136,7 @@ MediaInfoDialog::~MediaInfoDialog()
saveWidgetPosition
(
"Mediainfo"
);
}
void
MediaInfoDialog
::
showTab
(
int
i_tab
=
0
)
void
MediaInfoDialog
::
showTab
(
panel
i_tab
=
META_PANEL
)
{
infoTabW
->
setCurrentIndex
(
i_tab
);
show
();
...
...
modules/gui/qt4/dialogs/mediainfo.hpp
View file @
1b978bf8
...
...
@@ -38,7 +38,15 @@ public:
MediaInfoDialog
(
intf_thread_t
*
,
input_item_t
*
input
=
NULL
);
void
showTab
(
int
);
enum
panel
{
META_PANEL
=
0
,
EXTRAMETA_PANEL
,
INFO_PANEL
,
INPUTSTATS_PANEL
};
void
showTab
(
panel
);
#if 0
void setInput( input_item_t * );
#endif
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
1b978bf8
...
...
@@ -247,12 +247,12 @@ void DialogsProvider::aboutDialog()
void
DialogsProvider
::
mediaInfoDialog
()
{
MediaInfoDialog
::
getInstance
(
p_intf
)
->
showTab
(
0
);
MediaInfoDialog
::
getInstance
(
p_intf
)
->
showTab
(
MediaInfoDialog
::
META_PANEL
);
}
void
DialogsProvider
::
mediaCodecDialog
()
{
MediaInfoDialog
::
getInstance
(
p_intf
)
->
showTab
(
2
);
MediaInfoDialog
::
getInstance
(
p_intf
)
->
showTab
(
MediaInfoDialog
::
INFO_PANEL
);
}
void
DialogsProvider
::
bookmarksDialog
()
...
...
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