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
4d1016ae
Commit
4d1016ae
authored
Apr 23, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: better alignment for equalizer texts
Ref #5980
parent
608e4c70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+7
-4
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
4d1016ae
/*****************************************************************************
* extended_panels.cpp : Extended controls panels
****************************************************************************
* Copyright (C) 2006-20
08
the VideoLAN team
* Copyright (C) 2006-20
12
the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorglub@videolan.org>
* Antoine Cellerier <dionoea .t videolan d@t org>
* Jean-Baptiste Kempf <jb@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -928,12 +929,14 @@ Equalizer::Equalizer( intf_thread_t *_p_intf, QWidget *_parent ) :
bands
[
i
]
=
new
QSlider
(
Qt
::
Vertical
);
bands
[
i
]
->
setMaximum
(
400
);
bands
[
i
]
->
setValue
(
200
);
bands
[
i
]
->
setMinimumWidth
(
34
);
bands
[
i
]
->
setMinimumWidth
(
40
);
CONNECT
(
bands
[
i
],
valueChanged
(
int
),
this
,
setCoreBands
()
);
band_texts
[
i
]
=
new
QLabel
(
b_vlcBands
?
vlc_band_frequencies
[
i
]
:
iso_band_frequencies
[
i
]
+
"
\n
0
0.0dB"
);
band_texts
[
i
]
=
new
QLabel
(
(
b_vlcBands
?
vlc_band_frequencies
[
i
]
:
iso_band_frequencies
[
i
]
)
+
"
\n
0.0dB"
);
band_texts
[
i
]
->
setFont
(
smallFont
);
band_texts
[
i
]
->
setAlignment
(
Qt
::
AlignRight
);
bands
[
i
]
->
setMinimumWidth
(
40
);
grid
->
addWidget
(
bands
[
i
],
0
,
i
);
grid
->
addWidget
(
band_texts
[
i
],
1
,
i
);
...
...
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