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
46c02e85
Commit
46c02e85
authored
Apr 23, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: better alignment for eq bands
parent
82694751
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+3
-4
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
46c02e85
...
...
@@ -929,14 +929,13 @@ 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
(
40
);
bands
[
i
]
->
setMinimumWidth
(
36
);
CONNECT
(
bands
[
i
],
valueChanged
(
int
),
this
,
setCoreBands
()
);
QString
val
=
QString
(
"%1"
).
arg
(
0.0
,
5
,
'f'
,
1
);
band_texts
[
i
]
=
new
QLabel
(
(
b_vlcBands
?
vlc_band_frequencies
[
i
]
:
iso_band_frequencies
[
i
])
+
"
\n
0.0
dB"
);
:
iso_band_frequencies
[
i
])
+
"
\n
"
+
val
+
"
dB"
);
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