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
9d99a7ab
Commit
9d99a7ab
authored
Jul 29, 2010
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: simple_prefs pack UI
parent
098b32ee
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
422 additions
and
270 deletions
+422
-270
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+7
-8
modules/gui/qt4/components/simple_preferences.hpp
modules/gui/qt4/components/simple_preferences.hpp
+1
-0
modules/gui/qt4/ui/sprefs_interface.ui
modules/gui/qt4/ui/sprefs_interface.ui
+414
-262
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
9d99a7ab
...
@@ -564,12 +564,12 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -564,12 +564,12 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui
.
stylesCombo
->
hide
();
ui
.
stylesCombo
->
hide
();
optionWidgets
.
append
(
NULL
);
optionWidgets
.
append
(
NULL
);
#endif
#endif
radioGroup
=
new
QButtonGroup
(
this
);
ui
.
skins_zone
->
setEnabled
(
ui
.
skins
->
isChecked
()
);
radioGroup
->
addButton
(
ui
.
qt4
,
0
);
CONNECT
(
ui
.
skins
,
toggled
(
bool
),
ui
.
skins_zone
,
setEnabled
(
bool
)
);
radioGroup
->
addButton
(
ui
.
skins
,
1
);
CONNECT
(
radioGroup
,
buttonClicked
(
int
),
ui
.
native_zone
->
setEnabled
(
ui
.
qt4
->
isChecked
(
)
);
ui
.
styleStackedWidget
,
setCurrentIndex
(
int
)
);
CONNECT
(
ui
.
qt4
,
toggled
(
bool
),
ui
.
native_zone
,
setEnabled
(
bool
)
);
ui
.
styleStackedWidget
->
setCurrentIndex
(
radioGroup
->
checkedId
(
)
);
CONNECT
(
ui
.
minimalviewBox
,
toggled
(
bool
),
CONNECT
(
ui
.
minimalviewBox
,
toggled
(
bool
),
ui
.
mainPreview
,
setNormalPreview
(
bool
)
);
ui
.
mainPreview
,
setNormalPreview
(
bool
)
);
...
@@ -598,8 +598,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -598,8 +598,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONNECT
(
ui
.
updatesBox
,
toggled
(
bool
),
CONNECT
(
ui
.
updatesBox
,
toggled
(
bool
),
ui
.
updatesDays
,
setEnabled
(
bool
)
);
ui
.
updatesDays
,
setEnabled
(
bool
)
);
#else
#else
ui
.
updatesBox
->
hide
();
ui
.
updateNotifierZone
->
hide
();
ui
.
updatesDays
->
hide
();
#endif
#endif
/* ONE INSTANCE options */
/* ONE INSTANCE options */
#if defined( WIN32 ) || defined( HAVE_DBUS ) || defined(__APPLE__)
#if defined( WIN32 ) || defined( HAVE_DBUS ) || defined(__APPLE__)
...
...
modules/gui/qt4/components/simple_preferences.hpp
View file @
9d99a7ab
...
@@ -121,6 +121,7 @@ private:
...
@@ -121,6 +121,7 @@ private:
QList
<
QWidget
*>
optionWidgets
;
QList
<
QWidget
*>
optionWidgets
;
QStringList
qs_filter
;
QStringList
qs_filter
;
QButtonGroup
*
radioGroup
;
#ifdef WIN32
#ifdef WIN32
QList
<
QTreeWidgetItem
*>
listAsso
;
QList
<
QTreeWidgetItem
*>
listAsso
;
...
...
modules/gui/qt4/ui/sprefs_interface.ui
View file @
9d99a7ab
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