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
02334891
Commit
02334891
authored
Mar 24, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Codec Information direct access from menu.
parent
80cf3732
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
3 deletions
+17
-3
include/vlc_intf_strings.h
include/vlc_intf_strings.h
+1
-0
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/mediainfo.cpp
+6
-0
modules/gui/qt4/dialogs/mediainfo.hpp
modules/gui/qt4/dialogs/mediainfo.hpp
+2
-0
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+0
-1
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+6
-2
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+1
-0
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+1
-0
No files found.
include/vlc_intf_strings.h
View file @
02334891
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
/******************* Menus *****************/
/******************* Menus *****************/
#define I_MENU_INFO N_("Information...")
#define I_MENU_INFO N_("Information...")
#define I_MENU_CODECINFO N_("Codec Information...")
#define I_MENU_MSG N_("Messages...")
#define I_MENU_MSG N_("Messages...")
#define I_MENU_EXT N_("Extended settings...")
#define I_MENU_EXT N_("Extended settings...")
...
...
modules/gui/qt4/dialogs/mediainfo.cpp
View file @
02334891
...
@@ -69,6 +69,12 @@ MediaInfoDialog::~MediaInfoDialog()
...
@@ -69,6 +69,12 @@ MediaInfoDialog::~MediaInfoDialog()
writeSettings
(
"mediainfo"
);
writeSettings
(
"mediainfo"
);
}
}
void
MediaInfoDialog
::
showTab
(
int
i_tab
=
0
)
{
this
->
show
();
IT
->
setCurrentIndex
(
i_tab
);
}
static
int
ItemChanged
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
static
int
ItemChanged
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
{
{
...
...
modules/gui/qt4/dialogs/mediainfo.hpp
View file @
02334891
...
@@ -48,6 +48,8 @@ public:
...
@@ -48,6 +48,8 @@ public:
instance
=
NULL
;
instance
=
NULL
;
}
}
virtual
~
MediaInfoDialog
();
virtual
~
MediaInfoDialog
();
void
showTab
(
int
);
bool
need_update
;
bool
need_update
;
void
setInput
(
input_item_t
*
);
void
setInput
(
input_item_t
*
);
private:
private:
...
...
modules/gui/qt4/dialogs/open.cpp
View file @
02334891
...
@@ -94,7 +94,6 @@ OpenDialog::~OpenDialog()
...
@@ -94,7 +94,6 @@ OpenDialog::~OpenDialog()
void
OpenDialog
::
showTab
(
int
i_tab
=
0
)
void
OpenDialog
::
showTab
(
int
i_tab
=
0
)
{
{
printf
(
"%i"
,
i_tab
);
this
->
show
();
this
->
show
();
ui
.
Tab
->
setCurrentIndex
(
i_tab
);
ui
.
Tab
->
setCurrentIndex
(
i_tab
);
}
}
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
02334891
...
@@ -149,6 +149,11 @@ void DialogsProvider::mediaInfoDialog()
...
@@ -149,6 +149,11 @@ void DialogsProvider::mediaInfoDialog()
MediaInfoDialog
::
getInstance
(
p_intf
)
->
toggleVisible
();
MediaInfoDialog
::
getInstance
(
p_intf
)
->
toggleVisible
();
}
}
void
DialogsProvider
::
mediaCodecDialog
()
{
MediaInfoDialog
::
getInstance
(
p_intf
)
->
showTab
(
1
);
}
void
DialogsProvider
::
bookmarksDialog
()
void
DialogsProvider
::
bookmarksDialog
()
{
{
}
}
...
@@ -189,7 +194,6 @@ void DialogsProvider::MLAppendDialog()
...
@@ -189,7 +194,6 @@ void DialogsProvider::MLAppendDialog()
{
{
}
}
/**** Simple open ****/
/**** Simple open ****/
QStringList
DialogsProvider
::
showSimpleOpen
(
QString
help
,
bool
all
,
QStringList
DialogsProvider
::
showSimpleOpen
(
QString
help
,
bool
all
,
...
...
modules/gui/qt4/dialogs_provider.hpp
View file @
02334891
...
@@ -104,6 +104,7 @@ public slots:
...
@@ -104,6 +104,7 @@ public slots:
void
playlistDialog
();
void
playlistDialog
();
void
bookmarksDialog
();
void
bookmarksDialog
();
void
mediaInfoDialog
();
void
mediaInfoDialog
();
void
mediaCodecDialog
();
void
prefsDialog
();
void
prefsDialog
();
void
extendedDialog
();
void
extendedDialog
();
void
messagesDialog
();
void
messagesDialog
();
...
...
modules/gui/qt4/menus.cpp
View file @
02334891
...
@@ -181,6 +181,7 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
...
@@ -181,6 +181,7 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
}
}
DP_SADD
(
qtr
(
I_MENU_MSG
),
""
,
""
,
messagesDialog
()
);
DP_SADD
(
qtr
(
I_MENU_MSG
),
""
,
""
,
messagesDialog
()
);
DP_SADD
(
qtr
(
I_MENU_INFO
)
,
""
,
""
,
mediaInfoDialog
()
);
DP_SADD
(
qtr
(
I_MENU_INFO
)
,
""
,
""
,
mediaInfoDialog
()
);
DP_SADD
(
qtr
(
I_MENU_CODECINFO
)
,
""
,
""
,
mediaCodecDialog
()
);
DP_SADD
(
qtr
(
I_MENU_EXT
),
""
,
""
,
extendedDialog
()
);
DP_SADD
(
qtr
(
I_MENU_EXT
),
""
,
""
,
extendedDialog
()
);
if
(
mi
)
if
(
mi
)
{
{
...
...
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