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
72a25f19
Commit
72a25f19
authored
Nov 05, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - SPrefs, doing funny things with qobject_cast to improve a bit the code...
parent
b8836621
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
104 additions
and
82 deletions
+104
-82
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+1
-0
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+82
-71
modules/gui/qt4/components/simple_preferences.hpp
modules/gui/qt4/components/simple_preferences.hpp
+21
-11
No files found.
modules/gui/qt4/components/preferences_widgets.cpp
View file @
72a25f19
...
...
@@ -44,6 +44,7 @@
#include <QGroupBox>
#include <QTreeWidgetItem>
#include <QSignalMapper>
QString
formatTooltip
(
const
QString
&
tooltip
)
{
QString
formatted
=
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
72a25f19
This diff is collapsed.
Click to expand it.
modules/gui/qt4/components/simple_preferences.hpp
View file @
72a25f19
...
...
@@ -28,6 +28,13 @@
#include <vlc_interface.h>
#include <QWidget>
#include "ui/sprefs_input.h"
#include "ui/sprefs_audio.h"
#include "ui/sprefs_video.h"
#include "ui/sprefs_subtitles.h"
#include "ui/sprefs_hotkeys.h"
#include "ui/sprefs_interface.h"
enum
{
SPrefsInterface
=
0
,
SPrefsAudio
,
...
...
@@ -39,6 +46,19 @@ enum {
};
#define SPrefsDefaultCat SPrefsInterface
enum
{
CachingCustom
=
0
,
CachingLowest
=
100
,
CachingLow
=
200
,
CachingNormal
=
300
,
CachingHigh
=
400
,
CachingHigher
=
500
};
enum
{
alsaW
=
0
,
ossW
,
directxW
,
fileW
,
audioOutCoB
,
normalizerChB
};
enum
{
recordChB
,
dumpChB
,
bandwidthChB
,
timeshiftChB
,
inputLE
,
cachingCoB
};
enum
{
skinRB
,
qtRB
};
class
ConfigControl
;
class
QComboBox
;
class
QLineEdit
;
...
...
@@ -74,18 +94,8 @@ private:
int
number
;
/* this is ugly and bad until I found a new solution */
QWidget
*
alsa_options
;
QWidget
*
oss_options
;
QWidget
*
directx_options
;
QWidget
*
file_options
;
QComboBox
*
audioOutput
;
QLineEdit
*
inputDevice
;
QRadioButton
*
skinInterfaceButton
;
QRadioButton
*
qtInterfaceButton
;
QList
<
QWidget
*>
optionWidgets
;
QString
qs_filter
;
QCheckBox
*
normalizerBox
;
QCheckBox
*
recordBox
,
*
dumpBox
,
*
bandwidthBox
,
*
timeshiftBox
;
/* Display only the options for the selected audio output */
private
slots
:
...
...
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