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
8047362d
Commit
8047362d
authored
Apr 23, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix equalizer bands display
Close #5980
parent
b7c5ec05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+3
-2
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
8047362d
...
@@ -921,10 +921,11 @@ Equalizer::Equalizer( intf_thread_t *_p_intf, QWidget *_parent ) :
...
@@ -921,10 +921,11 @@ Equalizer::Equalizer( intf_thread_t *_p_intf, QWidget *_parent ) :
bands
[
i
]
=
new
QSlider
(
Qt
::
Vertical
);
bands
[
i
]
=
new
QSlider
(
Qt
::
Vertical
);
bands
[
i
]
->
setMaximum
(
400
);
bands
[
i
]
->
setMaximum
(
400
);
bands
[
i
]
->
setValue
(
200
);
bands
[
i
]
->
setValue
(
200
);
bands
[
i
]
->
setMinimumWidth
(
3
4
);
bands
[
i
]
->
setMinimumWidth
(
3
6
);
CONNECT
(
bands
[
i
],
valueChanged
(
int
),
this
,
setCoreBands
()
);
CONNECT
(
bands
[
i
],
valueChanged
(
int
),
this
,
setCoreBands
()
);
band_texts
[
i
]
=
new
QLabel
(
band_frequencies
[
i
]
+
"
\n
00.0dB"
);
QString
val
=
QString
(
"%1"
).
arg
(
0.0
,
5
,
'f'
,
1
);
band_texts
[
i
]
=
new
QLabel
(
band_frequencies
[
i
]
+
"
\n
"
+
val
+
"dB"
);
band_texts
[
i
]
->
setFont
(
smallFont
);
band_texts
[
i
]
->
setFont
(
smallFont
);
grid
->
addWidget
(
bands
[
i
],
0
,
i
);
grid
->
addWidget
(
bands
[
i
],
0
,
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