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
d787a15a
Commit
d787a15a
authored
Mar 27, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: adapt the UI for correct spatializer values
Ref #4887 Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
be8542ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
17 deletions
+3
-17
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+3
-17
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
d787a15a
...
@@ -1365,23 +1365,7 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1365,23 +1365,7 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
for
(
int
i
=
0
;
i
<
NUM_SP_CTRL
;
i
++
)
for
(
int
i
=
0
;
i
<
NUM_SP_CTRL
;
i
++
)
{
{
spatCtrl
[
i
]
=
new
QSlider
(
Qt
::
Vertical
);
spatCtrl
[
i
]
=
new
QSlider
(
Qt
::
Vertical
);
if
(
i
<
2
)
spatCtrl
[
i
]
->
setValue
(
(
int
)
var_InheritFloat
(
p_intf
,
spat_controls
[
i
].
psz_name
)
*
10.
);
{
spatCtrl
[
i
]
->
setMaximum
(
100
);
spatCtrl
[
i
]
->
setValue
(
20
);
}
else
if
(
i
<
4
)
{
spatCtrl
[
i
]
->
setMaximum
(
100
);
spatCtrl
[
i
]
->
setValue
(
20
);
spatCtrl
[
i
]
->
setMinimum
(
-
100
);
}
else
{
spatCtrl
[
i
]
->
setMaximum
(
40
);
spatCtrl
[
i
]
->
setValue
(
10
);
}
oldControlVars
[
i
]
=
spatCtrl
[
i
]
->
value
();
oldControlVars
[
i
]
=
spatCtrl
[
i
]
->
value
();
CONNECT
(
spatCtrl
[
i
],
valueChanged
(
int
),
this
,
setInitValues
()
);
CONNECT
(
spatCtrl
[
i
],
valueChanged
(
int
),
this
,
setInitValues
()
);
...
@@ -1395,7 +1379,9 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1395,7 +1379,9 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
layout
->
addWidget
(
spatCtrl
[
i
],
1
,
i
,
Qt
::
AlignHCenter
);
layout
->
addWidget
(
spatCtrl
[
i
],
1
,
i
,
Qt
::
AlignHCenter
);
layout
->
addWidget
(
ctrl_readout
[
i
],
2
,
i
,
Qt
::
AlignHCenter
);
layout
->
addWidget
(
ctrl_readout
[
i
],
2
,
i
,
Qt
::
AlignHCenter
);
layout
->
addWidget
(
ctrl_texts
[
i
],
3
,
i
,
Qt
::
AlignHCenter
);
layout
->
addWidget
(
ctrl_texts
[
i
],
3
,
i
,
Qt
::
AlignHCenter
);
spatCtrl
[
i
]
->
setRange
(
0
,
10
);
}
}
spatCtrl
[
0
]
->
setRange
(
0
,
11
);
BUTTONACT
(
enableCheck
,
enable
()
);
BUTTONACT
(
enableCheck
,
enable
()
);
...
...
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