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
88a69655
Commit
88a69655
authored
May 15, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: hide update check preference when !UPDATE_CHECK
Close #6813
parent
81162e72
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
63 deletions
+55
-63
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-1
modules/gui/qt4/ui/sprefs_interface.ui
modules/gui/qt4/ui/sprefs_interface.ui
+53
-62
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
88a69655
...
@@ -613,7 +613,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -613,7 +613,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONNECT
(
ui
.
updatesBox
,
toggled
(
bool
),
CONNECT
(
ui
.
updatesBox
,
toggled
(
bool
),
ui
.
updatesDays
,
setEnabled
(
bool
)
);
ui
.
updatesDays
,
setEnabled
(
bool
)
);
#else
#else
ui
.
updateNotifierZone
->
hide
();
ui
.
updatesBox
->
hide
();
ui
.
updatesDays
->
hide
();
#endif
#endif
/* ONE INSTANCE options */
/* ONE INSTANCE options */
#if defined( WIN32 ) || defined( HAVE_DBUS ) || defined(__APPLE__)
#if defined( WIN32 ) || defined( HAVE_DBUS ) || defined(__APPLE__)
...
...
modules/gui/qt4/ui/sprefs_interface.ui
View file @
88a69655
...
@@ -71,39 +71,45 @@
...
@@ -71,39 +71,45 @@
<string>
Privacy / Network Interaction
</string>
<string>
Privacy / Network Interaction
</string>
</property>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_5"
>
<layout
class=
"QGridLayout"
name=
"gridLayout_5"
>
<item
row=
"0"
column=
"0"
>
<item
row=
"2"
column=
"1"
>
<widget
class=
"QLabel"
name=
"artFetchLabel"
>
<spacer
name=
"horizontalSpacer_2"
>
<property
name=
"minimumSize"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeType"
>
<enum>
QSizePolicy::Preferred
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<size>
<width>
22
0
</width>
<width>
4
0
</width>
<height>
0
</height>
<height>
2
0
</height>
</size>
</size>
</property>
</property>
<property
name=
"text"
>
</spacer>
<string>
Album art download policy:
</string>
</item>
<item
row=
"1"
column=
"3"
>
<widget
class=
"QSpinBox"
name=
"updatesDays"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
</property>
<property
name=
"buddy"
>
<property
name=
"alignment"
>
<cstring>
artFetcher
</cstring>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
</property>
<property
name=
"suffix"
>
<string>
days
</string>
</property>
<property
name=
"prefix"
>
<string>
Every
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"0"
column=
"3"
colspan=
"2"
>
<item
row=
"0"
column=
"3"
colspan=
"2"
>
<widget
class=
"QComboBox"
name=
"artFetcher"
/>
<widget
class=
"QComboBox"
name=
"artFetcher"
/>
</item>
</item>
<item
row=
"3"
column=
"0"
>
<item
row=
"2"
column=
"2"
>
<widget
class=
"QCheckBox"
name=
"saveRecentlyPlayed"
>
<property
name=
"minimumSize"
>
<size>
<width>
220
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Save recently played items
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"2"
>
<widget
class=
"QLabel"
name=
"filterLabel"
>
<widget
class=
"QLabel"
name=
"filterLabel"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Filter:
</string>
<string>
Filter:
</string>
...
@@ -119,7 +125,7 @@
...
@@ -119,7 +125,7 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"
3
"
column=
"3"
colspan=
"2"
>
<item
row=
"
2
"
column=
"3"
colspan=
"2"
>
<widget
class=
"QLineEdit"
name=
"recentlyPlayedFilters"
>
<widget
class=
"QLineEdit"
name=
"recentlyPlayedFilters"
>
<property
name=
"sizePolicy"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
...
@@ -132,17 +138,8 @@
...
@@ -132,17 +138,8 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"2"
column=
"0"
colspan=
"5"
>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QWidget"
name=
"updateNotifierZone"
native=
"true"
>
<widget
class=
"QCheckBox"
name=
"saveRecentlyPlayed"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<property
name=
"margin"
>
<number>
0
</number>
</property>
</layout>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"updatesBox"
>
<property
name=
"minimumSize"
>
<property
name=
"minimumSize"
>
<size>
<size>
<width>
220
</width>
<width>
220
</width>
...
@@ -150,44 +147,38 @@
...
@@ -150,44 +147,38 @@
</size>
</size>
</property>
</property>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Activate updates notifier
</string>
<string>
Save recently played items
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"1"
column=
"3"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QSpinBox"
name=
"updatesDays"
>
<widget
class=
"QLabel"
name=
"artFetchLabel"
>
<property
name=
"sizePolicy"
>
<property
name=
"minimumSize"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<size>
<horstretch>
0
</horstretch>
<width>
220
</width>
<verstretch>
0
</verstretch>
<height>
0
</height>
</sizepolicy>
</size>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
</property>
</property>
<property
name=
"
suffix
"
>
<property
name=
"
text
"
>
<string>
days
</string>
<string>
Album art download policy:
</string>
</property>
</property>
<property
name=
"
prefix
"
>
<property
name=
"
buddy
"
>
<
string>
Every
</
string>
<
cstring>
artFetcher
</c
string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"3"
column=
"1"
>
<item
row=
"1"
column=
"0"
>
<spacer
name=
"horizontalSpacer_2"
>
<widget
class=
"QCheckBox"
name=
"updatesBox"
>
<property
name=
"orientation"
>
<property
name=
"minimumSize"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeType"
>
<enum>
QSizePolicy::Preferred
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<size>
<width>
4
0
</width>
<width>
22
0
</width>
<height>
2
0
</height>
<height>
0
</height>
</size>
</size>
</property>
</property>
</spacer>
<property
name=
"text"
>
<string>
Activate updates notifier
</string>
</property>
</widget>
</item>
</item>
</layout>
</layout>
</widget>
</widget>
...
...
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