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
2779ac98
Commit
2779ac98
authored
Jul 18, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Simple preference: update layout for updatesDays
parent
1050c6b5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
16 deletions
+18
-16
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+4
-4
modules/gui/qt4/dialogs/toolbar.cpp
modules/gui/qt4/dialogs/toolbar.cpp
+1
-1
modules/gui/qt4/ui/sprefs_interface.ui
modules/gui/qt4/ui/sprefs_interface.ui
+13
-11
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
2779ac98
...
...
@@ -538,12 +538,12 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC
(
"qt-updates-notif"
,
Bool
,
NULL
,
updatesBox
);
CONFIG_GENERIC_NO_BOOL
(
"qt-updates-days"
,
Integer
,
NULL
,
updatesDays
);
ui
.
update
notifier_zone
->
setEnabled
(
ui
.
updatesBox
->
isChecked
()
);
ui
.
update
sDays
->
setEnabled
(
ui
.
updatesBox
->
isChecked
()
);
CONNECT
(
ui
.
updatesBox
,
toggled
(
bool
),
ui
.
update
notifier_zone
,
setEnabled
(
bool
)
);
ui
.
update
sDays
,
setEnabled
(
bool
)
);
#else
ui
.
updatesBox
->
hide
();
ui
.
update
notifier_zone
->
hide
();
ui
.
update
sDays
->
hide
();
#endif
/* ONE INSTANCE options */
#if defined( WIN32 ) || defined( HAVE_DBUS ) || defined(__APPLE__)
...
...
modules/gui/qt4/dialogs/toolbar.cpp
View file @
2779ac98
/*****************************************************************************
* ToolbarEdit.cpp : ToolbarEdit and About dialogs
****************************************************************************
* Copyright (C) 2008 the VideoLAN team
* Copyright (C) 2008
-2009
the VideoLAN team
* $Id$
*
* Authors: Jean-Baptiste Kempf <jb (at) videolan.org>
...
...
modules/gui/qt4/ui/sprefs_interface.ui
View file @
2779ac98
...
...
@@ -73,24 +73,23 @@
</property>
</widget>
</item>
<item
row=
"1"
column=
"1"
>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"text"
>
<string>
Every
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
</property>
</widget>
</item>
<item
row=
"1"
column=
"2"
>
<widget
class=
"QSpinBox"
name=
"updatesDays"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
</property>
<property
name=
"suffix"
>
<string>
days
</string>
</property>
<property
name=
"prefix"
>
<string>
Every
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"3"
>
...
...
@@ -98,9 +97,12 @@
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeType"
>
<enum>
QSizePolicy::Preferred
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
32
0
</width>
<width>
20
0
</width>
<height>
27
</height>
</size>
</property>
...
...
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