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
1ff18323
Commit
1ff18323
authored
Sep 09, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Add a close button on the extended Panels as requested. Trax#44 Closed.
parent
1ced1a3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/dialogs/extended.cpp
+11
-9
No files found.
modules/gui/qt4/dialogs/extended.cpp
View file @
1ff18323
...
...
@@ -28,8 +28,7 @@
#include "components/extended_panels.hpp"
#include <QTabWidget>
#include <QBoxLayout>
#include <QHBoxLayout>
#include <QGridLayout>
ExtendedDialog
*
ExtendedDialog
::
instance
=
NULL
;
...
...
@@ -37,19 +36,22 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
{
setWindowFlags
(
Qt
::
Tool
);
setWindowOpacity
(
config_GetFloat
(
p_intf
,
"qt-opacity"
)
);
QHBoxLayout
*
l
=
new
QHBoxLayout
(
this
);
QTabWidget
*
tab
=
new
QTabWidget
(
this
);
l
->
addWidget
(
tab
);
setWindowTitle
(
qtr
(
"Adjustments and Effects"
)
);
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
QTabWidget
*
tab
=
new
QTabWidget
(
this
);
Equalizer
*
foo
=
new
Equalizer
(
p_intf
,
this
);
tab
->
addTab
(
foo
,
qtr
(
"Graphic Equalizer"
)
);
ExtVideo
*
bar
=
new
ExtVideo
(
p_intf
,
this
);
tab
->
addTab
(
bar
,
qtr
(
"Video Adjustments and Effects"
)
);
tab
->
addTab
(
bar
,
qtr
(
"Video Adjustments and Effects"
)
);
layout
->
addWidget
(
tab
,
0
,
0
,
1
,
5
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"Close"
)
);
layout
->
addWidget
(
closeButton
,
1
,
4
,
1
,
1
);
CONNECT
(
closeButton
,
clicked
(),
this
,
close
()
);
}
ExtendedDialog
::~
ExtendedDialog
()
...
...
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