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
547a4494
Commit
547a4494
authored
Jan 31, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Extended Panels. try to fix the sizing ...
parent
031e7a2d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1063 additions
and
846 deletions
+1063
-846
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+3
-3
modules/gui/qt4/components/extended_panels.hpp
modules/gui/qt4/components/extended_panels.hpp
+3
-2
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/dialogs/extended.cpp
+11
-2
modules/gui/qt4/ui/video_effects.ui
modules/gui/qt4/ui/video_effects.ui
+1046
-839
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
547a4494
...
...
@@ -92,10 +92,10 @@ QString OptionFromWidgetName( QObject *obj )
return
option
;
}
ExtVideo
::
ExtVideo
(
intf_thread_t
*
_p_intf
,
QWidget
*
_parent
)
:
QWidget
(
_parent
)
,
p_intf
(
_p_intf
)
ExtVideo
::
ExtVideo
(
intf_thread_t
*
_p_intf
,
Q
Tab
Widget
*
_parent
)
:
p_intf
(
_p_intf
)
{
ui
.
setupUi
(
this
);
ui
.
setupUi
(
_parent
);
#define SETUP_VFILTER( widget ) \
{ \
...
...
modules/gui/qt4/components/extended_panels.hpp
View file @
547a4494
...
...
@@ -36,16 +36,17 @@
#include "ui/video_effects.h"
#include "ui/v4l2.h"
#include <QTabWidget>
#define BANDS 10
#define NUM_SP_CTRL 5
class
QSignalMapper
;
class
ExtVideo
:
public
Q
Widge
t
class
ExtVideo
:
public
Q
Objec
t
{
Q_OBJECT
public:
ExtVideo
(
intf_thread_t
*
,
QWidget
*
);
ExtVideo
(
intf_thread_t
*
,
Q
Tab
Widget
*
);
virtual
~
ExtVideo
();
/*void gotoConf( QObject* );*/
private:
...
...
modules/gui/qt4/dialogs/extended.cpp
View file @
547a4494
...
...
@@ -45,6 +45,7 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
QTabWidget
*
mainTabW
=
new
QTabWidget
(
this
);
mainTabW
->
setTabPosition
(
QTabWidget
::
West
);
/* AUDIO effects */
QWidget
*
audioWidget
=
new
QWidget
;
QHBoxLayout
*
audioLayout
=
new
QHBoxLayout
(
audioWidget
);
QTabWidget
*
audioTab
=
new
QTabWidget
(
audioWidget
);
...
...
@@ -58,8 +59,16 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
mainTabW
->
addTab
(
audioWidget
,
qtr
(
"Audio effects"
)
);
ExtVideo
*
videoEffect
=
new
ExtVideo
(
p_intf
,
mainTabW
);
mainTabW
->
addTab
(
videoEffect
,
qtr
(
"Video Effects"
)
);
/* Video Effects */
QWidget
*
videoWidget
=
new
QWidget
;
QHBoxLayout
*
videoLayout
=
new
QHBoxLayout
(
videoWidget
);
QTabWidget
*
videoTab
=
new
QTabWidget
(
videoWidget
);
ExtVideo
*
videoEffect
=
new
ExtVideo
(
p_intf
,
videoTab
);
videoLayout
->
addWidget
(
videoTab
);
videoTab
->
setSizePolicy
(
QSizePolicy
::
Preferred
,
QSizePolicy
::
Maximum
);
mainTabW
->
addTab
(
videoWidget
,
qtr
(
"Video Effects"
)
);
if
(
module_Exists
(
p_intf
,
"v4l2"
)
)
{
...
...
modules/gui/qt4/ui/video_effects.ui
View file @
547a4494
This diff is collapsed.
Click to expand it.
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