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
e1bf75ae
Commit
e1bf75ae
authored
Sep 16, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide a SPrefs to deactivate the systray icon as often requested on the forums...
parent
fedbcd7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
51 deletions
+72
-51
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+1
-0
modules/gui/qt4/ui/sprefs_interface.ui
modules/gui/qt4/ui/sprefs_interface.ui
+71
-51
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
e1bf75ae
...
...
@@ -483,6 +483,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
displayModeBox
);
CONFIG_GENERIC
(
"embedded-video"
,
Bool
,
NULL
,
embedVideo
);
CONFIG_GENERIC
(
"qt-fs-controller"
,
Bool
,
NULL
,
fsController
);
CONFIG_GENERIC
(
"qt-system-tray"
,
Bool
,
NULL
,
systrayBox
);
CONFIG_GENERIC_FILE
(
"skins2-last"
,
File
,
NULL
,
ui
.
fileSkin
,
ui
.
skinBrowse
);
...
...
modules/gui/qt4/ui/sprefs_interface.ui
View file @
e1bf75ae
...
...
@@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>
518
</width>
<height>5
98
</height>
<width>
629
</width>
<height>5
76
</height>
</rect>
</property>
<property name="sizePolicy" >
...
...
@@ -18,7 +18,7 @@
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QGridLayout" >
<layout class="QGridLayout"
name="gridLayout_3"
>
<item row="0" column="0" >
<widget class="QLabel" name="languageLabel" >
<property name="text" >
...
...
@@ -34,16 +34,44 @@
<property name="title" >
<string>_("Interface Type")</string>
</property>
<layout class="QGridLayout" >
<layout class="QGridLayout"
name="gridLayout"
>
<item row="0" column="0" >
<widget class="QRadioButton" name="qt4" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>_("Native")</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="3" >
<item row="0" column="1" >
<spacer name="horizontalSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="2" colspan="4" >
<widget class="QLabel" name="defaultLabel" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
...
...
@@ -61,10 +89,10 @@
</property>
</widget>
</item>
<item row="1" column="
1
" >
<item row="1" column="
2
" >
<widget class="QLabel" name="label" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="
Maximum
" >
<sizepolicy vsizetype="Preferred" hsizetype="
Preferred
" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
...
...
@@ -74,7 +102,7 @@
</property>
</widget>
</item>
<item row="1" column="
2" colspan="2
" >
<item row="1" column="
3" colspan="3
" >
<widget class="QComboBox" name="displayModeBox" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
...
...
@@ -84,17 +112,24 @@
</property>
</widget>
</item>
<item row="2" column="
1" colspan="3
" >
<item row="2" column="
2" colspan="2
" >
<widget class="QCheckBox" name="embedVideo" >
<property name="text" >
<string>_("Integrate video in interface")</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="4" >
<widget class="Line" name="line" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
<item row="2" column="4" colspan="2" >
<widget class="QCheckBox" name="systrayBox" >
<property name="text" >
<string>_("Systray icon")</string>
</property>
</widget>
</item>
<item row="3" column="2" colspan="4" >
<widget class="QCheckBox" name="fsController" >
<property name="text" >
<string>_("Show a controller in fullscreen")</string>
</property>
</widget>
</item>
...
...
@@ -105,10 +140,10 @@
</property>
</widget>
</item>
<item row
span="2" row="5" column="1" colspan="3
" >
<item row
="5" column="2" colspan="4
" >
<widget class="QLabel" name="skinsLabel" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="
Preferred
" >
<sizepolicy vsizetype="Minimum" hsizetype="
Minimum
" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
...
...
@@ -123,7 +158,7 @@
<enum>Qt::RichText</enum>
</property>
<property name="scaledContents" >
<bool>
tru
e</bool>
<bool>
fals
e</bool>
</property>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
...
...
@@ -132,37 +167,27 @@
<bool>true</bool>
</property>
<property name="margin" >
<number>
0
</number>
<number>
5
</number>
</property>
<property name="openExternalLinks" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="7" column="0" >
<item row="6" column="0" colspan="2" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>_("Skin file")</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>fileSkin</cstring>
</property>
</widget>
</item>
<item row="
7" column="1" colspan="2
" >
<item row="
6" column="2" colspan="3
" >
<widget class="QLineEdit" name="fileSkin" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
...
...
@@ -172,7 +197,7 @@
</property>
</widget>
</item>
<item row="
7" column="3
" >
<item row="
6" column="5
" >
<widget class="QPushButton" name="skinBrowse" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
...
...
@@ -185,10 +210,10 @@
</property>
</widget>
</item>
<item row="
3" column="1" colspan="3
" >
<widget class="
QCheckBox" name="fsController
" >
<property name="
text
" >
<
string>_("Show a controller in fullscreen")</string
>
<item row="
4" column="0" colspan="6
" >
<widget class="
Line" name="line
" >
<property name="
orientation
" >
<
enum>Qt::Horizontal</enum
>
</property>
</widget>
</item>
...
...
@@ -200,29 +225,29 @@
<property name="title" >
<string>_("Instances")</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0"
colspan="2"
>
<layout class="QGridLayout"
name="gridLayout_2"
>
<item row="0" column="0" >
<widget class="QCheckBox" name="OneInterfaceMode" >
<property name="text" >
<string>_("Allow only one instance")</string>
</property>
</widget>
</item>
<item row="1" column="0"
colspan="2"
>
<widget class="Q
CheckBox" name="EnqueueOneInterfaceMod
e" >
<item row="1" column="0" >
<widget class="Q
Label" name="assoNam
e" >
<property name="text" >
<string>_("
Enqueue files in playlist when in one instance mode
")</string>
<string>_("
File associations:
")</string>
</property>
</widget>
</item>
<item row="
2" column="0
" >
<widget class="Q
Label" name="assoNam
e" >
<item row="
0" column="1" colspan="2
" >
<widget class="Q
CheckBox" name="EnqueueOneInterfaceMod
e" >
<property name="text" >
<string>_("
File associations:
")</string>
<string>_("
Enqueue files in playlist when in one instance mode
")</string>
</property>
</widget>
</item>
<item row="
2" column="1
" >
<item row="
1" column="2
" >
<widget class="QPushButton" name="assoButton" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
...
...
@@ -280,12 +305,7 @@
<tabstop>language</tabstop>
<tabstop>qt4</tabstop>
<tabstop>displayModeBox</tabstop>
<tabstop>embedVideo</tabstop>
<tabstop>skins</tabstop>
<tabstop>fileSkin</tabstop>
<tabstop>skinBrowse</tabstop>
<tabstop>OneInterfaceMode</tabstop>
<tabstop>EnqueueOneInterfaceMode</tabstop>
<tabstop>assoButton</tabstop>
<tabstop>artFetcher</tabstop>
<tabstop>updatesBox</tabstop>
...
...
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