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
0e0128d7
Commit
0e0128d7
authored
Apr 28, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Preferences: Let the titles be consistent between simple and advanced prefrences.
parent
48cc5bef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
modules/gui/qt4/components/complete_preferences.cpp
modules/gui/qt4/components/complete_preferences.cpp
+13
-5
No files found.
modules/gui/qt4/components/complete_preferences.cpp
View file @
0e0128d7
...
...
@@ -375,6 +375,7 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
}
}
/* Widgets now */
global_layout
=
new
QVBoxLayout
();
global_layout
->
setMargin
(
2
);
QString
head
;
...
...
@@ -397,15 +398,22 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
}
}
QLabel
*
label
=
new
QLabel
(
head
);
global_layout
->
addWidget
(
label
);
QFont
myFont
=
QApplication
::
font
(
static_cast
<
QWidget
*>
(
0
)
);
myFont
.
setPointSize
(
myFont
.
pointSize
()
+
3
);
myFont
.
setBold
(
true
);
label
->
setFont
(
myFont
);
QLabel
*
titleLabel
=
new
QLabel
(
head
);
QFont
titleFont
=
QApplication
::
font
(
static_cast
<
QWidget
*>
(
0
)
);
titleFont
.
setPointSize
(
titleFont
.
pointSize
()
+
6
);
titleFont
.
setFamily
(
"Verdana"
);
titleLabel
->
setFont
(
titleFont
);
// Title <hr>
QFrame
*
title_line
=
new
QFrame
;
title_line
->
setFrameShape
(
QFrame
::
HLine
);
title_line
->
setFrameShadow
(
QFrame
::
Sunken
);
QLabel
*
helpLabel
=
new
QLabel
(
help
,
this
);
helpLabel
->
setWordWrap
(
true
);
global_layout
->
addWidget
(
titleLabel
);
global_layout
->
addWidget
(
title_line
);
global_layout
->
addWidget
(
helpLabel
);
QGroupBox
*
box
=
NULL
;
...
...
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