Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
fef44fa9
Commit
fef44fa9
authored
Jun 03, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics
parent
ccacddbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
modules/gui/qt4/components/preferences.cpp
modules/gui/qt4/components/preferences.cpp
+6
-0
modules/gui/qt4/dialogs/prefs_dialog.cpp
modules/gui/qt4/dialogs/prefs_dialog.cpp
+5
-1
No files found.
modules/gui/qt4/components/preferences.cpp
View file @
fef44fa9
...
...
@@ -59,6 +59,11 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
setColumnCount
(
1
);
setIconSize
(
QSize
(
ITEM_HEIGHT
,
ITEM_HEIGHT
)
);
setAlternatingRowColors
(
true
);
QFont
f
=
font
();
f
.
setPointSize
(
f
.
pointSize
()
+
1
);
setFont
(
f
);
#define BI( a,b) QIcon a##_icon = QIcon( QPixmap( b##_xpm ))
BI
(
audio
,
audio
);
...
...
@@ -346,6 +351,7 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
msg_Warn
(
p_intf
,
"unable to create preferences (main not found)"
);
return
;
}
vlc_list_release
(
p_list
);
}
if
(
p_module
->
b_submodule
)
...
...
modules/gui/qt4/dialogs/prefs_dialog.cpp
View file @
fef44fa9
...
...
@@ -42,6 +42,10 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
setWindowTitle
(
_
(
"Preferences"
)
);
resize
(
800
,
450
);
QPalette
plt
(
palette
()
);
plt
.
setColor
(
QPalette
::
Active
,
QPalette
::
Highlight
,
Qt
::
gray
);
setPalette
(
plt
);
advanced_tree
=
NULL
;
simple_tree
=
NULL
;
simple_panel
=
NULL
;
...
...
@@ -53,7 +57,7 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
types
=
new
QGroupBox
(
"Show settings"
);
QHBoxLayout
*
tl
=
new
QHBoxLayout
();
tl
->
setSpacing
(
3
);
small
=
new
QRadioButton
(
"
Common
"
,
types
);
small
=
new
QRadioButton
(
"
Basic
"
,
types
);
all
=
new
QRadioButton
(
"All"
,
types
);
tl
->
addWidget
(
small
);
tl
->
addWidget
(
all
);
...
...
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