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
50aa2b94
Commit
50aa2b94
authored
Mar 16, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: preferences: use QSplitter for advanced layout base
parent
e66c5af1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
modules/gui/qt4/dialogs/preferences.cpp
modules/gui/qt4/dialogs/preferences.cpp
+2
-1
modules/gui/qt4/dialogs/preferences.hpp
modules/gui/qt4/dialogs/preferences.hpp
+3
-1
No files found.
modules/gui/qt4/dialogs/preferences.cpp
View file @
50aa2b94
...
...
@@ -42,6 +42,7 @@
#include <QMessageBox>
#include <QDialogButtonBox>
#include <QStackedWidget>
#include <QSplitter>
PrefsDialog
::
PrefsDialog
(
QWidget
*
parent
,
intf_thread_t
*
_p_intf
)
:
QVLCDialog
(
parent
,
_p_intf
)
...
...
@@ -97,7 +98,7 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
simple_split_widget
=
new
QWidget
();
simple_split_widget
->
setLayout
(
new
QHBoxLayout
);
advanced_split_widget
=
new
Q
Widget
();
advanced_split_widget
=
new
Q
Splitter
();
advanced_split_widget
->
setLayout
(
new
QHBoxLayout
);
stack
=
new
QStackedWidget
();
...
...
modules/gui/qt4/dialogs/preferences.hpp
View file @
50aa2b94
...
...
@@ -40,6 +40,7 @@ class QCheckBox;
class
QLabel
;
class
SearchLineEdit
;
class
QStackedWidget
;
class
QSplitter
;
class
PrefsDialog
:
public
QVLCDialog
{
...
...
@@ -56,7 +57,8 @@ private:
enum
{
SIMPLE
,
ADVANCED
};
QStackedWidget
*
stack
;
QWidget
*
simple_split_widget
,
*
advanced_split_widget
;
QWidget
*
simple_split_widget
;
QSplitter
*
advanced_split_widget
;
QStackedWidget
*
advanced_panels_stack
;
QStackedWidget
*
simple_panels_stack
;
...
...
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