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
d57af90a
Commit
d57af90a
authored
Mar 05, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: some people seem to have difficulties to access to the synchronisation tab... Ease it for them.
parent
7bbb46c1
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
2 deletions
+22
-2
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/dialogs/extended.cpp
+7
-1
modules/gui/qt4/dialogs/extended.hpp
modules/gui/qt4/dialogs/extended.hpp
+5
-0
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+5
-0
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+1
-0
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+4
-1
No files found.
modules/gui/qt4/dialogs/extended.cpp
View file @
d57af90a
...
@@ -45,7 +45,7 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
...
@@ -45,7 +45,7 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
layout
->
setLayoutMargins
(
0
,
2
,
0
,
1
,
1
);
layout
->
setLayoutMargins
(
0
,
2
,
0
,
1
,
1
);
layout
->
setSpacing
(
3
);
layout
->
setSpacing
(
3
);
QTabWidget
*
mainTabW
=
new
QTabWidget
(
this
);
mainTabW
=
new
QTabWidget
(
this
);
/* AUDIO effects */
/* AUDIO effects */
QWidget
*
audioWidget
=
new
QWidget
;
QWidget
*
audioWidget
=
new
QWidget
;
...
@@ -107,6 +107,12 @@ ExtendedDialog::~ExtendedDialog()
...
@@ -107,6 +107,12 @@ ExtendedDialog::~ExtendedDialog()
writeSettings
(
"EPanel"
);
writeSettings
(
"EPanel"
);
}
}
void
ExtendedDialog
::
showTab
(
int
i
)
{
mainTabW
->
setCurrentIndex
(
i
);
show
();
}
void
ExtendedDialog
::
changedItem
(
int
i_status
)
void
ExtendedDialog
::
changedItem
(
int
i_status
)
{
{
if
(
i_status
!=
END_S
)
return
;
if
(
i_status
!=
END_S
)
return
;
...
...
modules/gui/qt4/dialogs/extended.hpp
View file @
d57af90a
...
@@ -28,6 +28,8 @@
...
@@ -28,6 +28,8 @@
#include "components/extended_panels.hpp"
#include "components/extended_panels.hpp"
class
QTabWidget
;
class
ExtendedDialog
:
public
QVLCFrame
class
ExtendedDialog
:
public
QVLCFrame
{
{
Q_OBJECT
;
Q_OBJECT
;
...
@@ -44,12 +46,15 @@ public:
...
@@ -44,12 +46,15 @@ public:
instance
=
NULL
;
instance
=
NULL
;
}
}
virtual
~
ExtendedDialog
();
virtual
~
ExtendedDialog
();
void
showTab
(
int
i
);
private:
private:
ExtendedDialog
(
intf_thread_t
*
);
ExtendedDialog
(
intf_thread_t
*
);
static
ExtendedDialog
*
instance
;
static
ExtendedDialog
*
instance
;
SyncControls
*
syncW
;
SyncControls
*
syncW
;
ExtVideo
*
videoEffect
;
ExtVideo
*
videoEffect
;
Equalizer
*
equal
;
Equalizer
*
equal
;
QTabWidget
*
mainTabW
;
private
slots
:
private
slots
:
void
changedItem
(
int
);
void
changedItem
(
int
);
};
};
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
d57af90a
...
@@ -183,6 +183,11 @@ void DialogsProvider::extendedDialog()
...
@@ -183,6 +183,11 @@ void DialogsProvider::extendedDialog()
ExtendedDialog
::
getInstance
(
p_intf
)
->
toggleVisible
();
ExtendedDialog
::
getInstance
(
p_intf
)
->
toggleVisible
();
}
}
void
DialogsProvider
::
synchroDialog
()
{
ExtendedDialog
::
getInstance
(
p_intf
)
->
showTab
(
2
);
}
void
DialogsProvider
::
messagesDialog
()
void
DialogsProvider
::
messagesDialog
()
{
{
MessagesDialog
::
getInstance
(
p_intf
)
->
toggleVisible
();
MessagesDialog
::
getInstance
(
p_intf
)
->
toggleVisible
();
...
...
modules/gui/qt4/dialogs_provider.hpp
View file @
d57af90a
...
@@ -142,6 +142,7 @@ public slots:
...
@@ -142,6 +142,7 @@ public slots:
void
mediaCodecDialog
();
void
mediaCodecDialog
();
void
prefsDialog
();
void
prefsDialog
();
void
extendedDialog
();
void
extendedDialog
();
void
synchroDialog
();
void
messagesDialog
();
void
messagesDialog
();
#ifdef ENABLE_VLM
#ifdef ENABLE_VLM
void
vlmDialog
();
void
vlmDialog
();
...
...
modules/gui/qt4/menus.cpp
View file @
d57af90a
...
@@ -342,9 +342,12 @@ QMenu *QVLCMenu::FileMenu( intf_thread_t *p_intf, QWidget *parent )
...
@@ -342,9 +342,12 @@ QMenu *QVLCMenu::FileMenu( intf_thread_t *p_intf, QWidget *parent )
**/
**/
QMenu
*
QVLCMenu
::
ToolsMenu
(
QMenu
*
menu
)
QMenu
*
QVLCMenu
::
ToolsMenu
(
QMenu
*
menu
)
{
{
addDPStaticEntry
(
menu
,
qtr
(
I_MENU_EXT
),
":/settings"
,
addDPStaticEntry
(
menu
,
qtr
(
"&Effects and Filters"
),
":/settings"
,
SLOT
(
extendedDialog
()
),
"Ctrl+E"
);
SLOT
(
extendedDialog
()
),
"Ctrl+E"
);
addDPStaticEntry
(
menu
,
qtr
(
"&Tracks Synchronisation"
),
":/settings"
,
SLOT
(
synchroDialog
()
),
""
);
addDPStaticEntry
(
menu
,
qtr
(
I_MENU_INFO
)
,
":/info"
,
addDPStaticEntry
(
menu
,
qtr
(
I_MENU_INFO
)
,
":/info"
,
SLOT
(
mediaInfoDialog
()
),
"Ctrl+I"
);
SLOT
(
mediaInfoDialog
()
),
"Ctrl+I"
);
addDPStaticEntry
(
menu
,
qtr
(
I_MENU_CODECINFO
)
,
addDPStaticEntry
(
menu
,
qtr
(
I_MENU_CODECINFO
)
,
...
...
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