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
e5742793
Commit
e5742793
authored
Nov 07, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Add some privacy options to Simple Preferences.
parent
7793f291
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
32 deletions
+46
-32
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-0
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+6
-0
modules/gui/qt4/ui/sprefs_interface.ui
modules/gui/qt4/ui/sprefs_interface.ui
+38
-32
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
e5742793
...
...
@@ -393,6 +393,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
optionWidgets
.
append
(
ui
.
skins
);
optionWidgets
.
append
(
ui
.
qt4
);
CONFIG_GENERIC
(
"album-art"
,
IntegerList
,
ui
.
artFetchLabel
,
artFetcher
);
CONFIG_GENERIC
(
"qt-updates-notif"
,
Bool
,
NULL
,
qtUpdates
);
CONFIG_GENERIC
(
"qt-always-video"
,
Bool
,
NULL
,
qtAlwaysVideo
);
CONFIG_GENERIC_FILE
(
"skins2-last"
,
File
,
NULL
,
fileSkin
,
skinBrowse
);
...
...
modules/gui/qt4/qt4.cpp
View file @
e5742793
...
...
@@ -95,6 +95,10 @@ static void ShowDialog ( intf_thread_t *, int, int, intf_dialog_args_t * );
#define ERROR_TEXT N_("Show unimportant error and warnings dialogs" )
#define MINIMAL_TEXT N_("Start in minimal view (menus hidden)." )
#define UPDATER_TEXT N_("Activate the new updates notification")
#define UPDATER_LONGTEXT N_("Activate the automatic notification of new " \
"versions of the software. It runs once a week." )
vlc_module_begin
();
set_shortname
(
(
char
*
)
"Qt"
);
set_description
(
(
char
*
)
_
(
"Qt interface"
)
);
...
...
@@ -137,6 +141,8 @@ vlc_module_begin();
ADVANCED_PREFS_LONGTEXT
,
VLC_FALSE
);
add_bool
(
"qt-error-dialogs"
,
VLC_TRUE
,
NULL
,
ERROR_TEXT
,
ERROR_TEXT
,
VLC_FALSE
);
add_bool
(
"qt-updates-notif"
,
VLC_TRUE
,
NULL
,
UPDATER_TEXT
,
UPDATER_LONGTEXT
,
VLC_FALSE
);
add_integer
(
"qt-pl-showflags"
,
VLC_META_ENGINE_ARTIST
|
VLC_META_ENGINE_TITLE
|
...
...
modules/gui/qt4/ui/sprefs_interface.ui
View file @
e5742793
...
...
@@ -6,31 +6,29 @@
<x>0</x>
<y>0</y>
<width>444</width>
<height>
362
</height>
<height>
520
</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>10</number>
<item row="0" column="0" >
<widget class="QLabel" name="languageLabel" >
<property name="text" >
<string>_("Language")</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="language" />
</item>
<item row="1" column="0" colspan="2" >
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>_("Default Interface")</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="2" column="0" colspan="3" >
<widget class="Line" name="line" >
<property name="orientation" >
...
...
@@ -41,9 +39,7 @@
<item row="3" column="1" colspan="2" >
<widget class="QLabel" name="skinsLabel" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>3</vsizetype>
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
...
...
@@ -128,28 +124,12 @@
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="language" />
</item>
<item row="0" column="0" >
<widget class="QLabel" name="languageLabel" >
<property name="text" >
<string>_("Language")</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="QGroupBox" name="OneInterfaceBox" >
<property name="title" >
<string>_("Instances")</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QCheckBox" name="OneInterfaceMode" >
<property name="text" >
...
...
@@ -167,6 +147,32 @@
</layout>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>_("Interface / Network Interaction")</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="artFetchLabel" >
<property name="text" >
<string>_("Album art download policy")</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="artFetcher" />
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="qtUpdates" >
<property name="text" >
<string>_("Activate update notifier")</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<tabstops>
...
...
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