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
e2e6f592
Commit
e2e6f592
authored
Oct 06, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - enable and modify the spatializer widget. Don't use a ui for a QCheckbox and a QFrame.
parent
d0f00ee6
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
149 additions
and
204 deletions
+149
-204
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+140
-143
modules/gui/qt4/components/extended_panels.hpp
modules/gui/qt4/components/extended_panels.hpp
+2
-2
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/dialogs/extended.cpp
+7
-6
modules/gui/qt4/ui/spatializer.ui
modules/gui/qt4/ui/spatializer.ui
+0
-53
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
e2e6f592
This diff is collapsed.
Click to expand it.
modules/gui/qt4/components/extended_panels.hpp
View file @
e2e6f592
...
...
@@ -29,7 +29,6 @@
#include "ui/equalizer.h"
#include "ui/video_effects.h"
#include "ui/spatializer.h"
#define BANDS 10
#define NUM_SP_CTRL 5
...
...
@@ -90,13 +89,14 @@ public:
virtual
~
Spatializer
();
private:
Ui
::
SpatializerWidget
ui
;
QSlider
*
spatCtrl
[
NUM_SP_CTRL
];
QLabel
*
ctrl_texts
[
NUM_SP_CTRL
];
QLabel
*
ctrl_readout
[
NUM_SP_CTRL
];
float
controlVars
[
5
];
float
oldControlVars
[
5
];
QCheckBox
*
enableCheck
;
void
delCallbacks
(
aout_instance_t
*
);
void
addCallbacks
(
aout_instance_t
*
);
intf_thread_t
*
p_intf
;
...
...
modules/gui/qt4/dialogs/extended.cpp
View file @
e2e6f592
...
...
@@ -21,10 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include "qt4.hpp"
#include "dialogs/extended.hpp"
#include "dialogs_provider.hpp"
#include "util/qvlcframe.hpp"
#include "components/extended_panels.hpp"
#include <QTabWidget>
...
...
@@ -41,11 +39,14 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
QTabWidget
*
tab
=
new
QTabWidget
(
this
);
Equalizer
*
foo
=
new
Equalizer
(
p_intf
,
this
);
tab
->
addTab
(
foo
,
qtr
(
"Graphic Equalizer"
)
);
Equalizer
*
equal
=
new
Equalizer
(
p_intf
,
this
);
tab
->
addTab
(
equal
,
qtr
(
"Graphic Equalizer"
)
);
ExtVideo
*
bar
=
new
ExtVideo
(
p_intf
,
this
);
tab
->
addTab
(
bar
,
qtr
(
"Video Adjustments and Effects"
)
);
Spatializer
*
spatial
=
new
Spatializer
(
p_intf
,
this
);
tab
->
addTab
(
spatial
,
qtr
(
"Audio Effects"
)
);
ExtVideo
*
videoEffect
=
new
ExtVideo
(
p_intf
,
this
);
tab
->
addTab
(
videoEffect
,
qtr
(
"Video Adjustments and Effects"
)
);
layout
->
addWidget
(
tab
,
0
,
0
,
1
,
5
);
...
...
modules/gui/qt4/ui/spatializer.ui
deleted
100644 → 0
View file @
d0f00ee6
<ui version="4.0" >
<class>SpatializerWidget</class>
<widget class="QWidget" name="SpatializerWidget" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>409</width>
<height>299</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<widget class="QCheckBox" name="enableCheck" >
<property name="geometry" >
<rect>
<x>30</x>
<y>10</y>
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>_("Enable")</string>
</property>
</widget>
<widget class="QWidget" name="horizontalLayout" >
<property name="geometry" >
<rect>
<x>10</x>
<y>40</y>
<width>391</width>
<height>251</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<item>
<widget class="QFrame" name="frame" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>
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