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
ade105a3
Commit
ade105a3
authored
Apr 29, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix simple preferences alignment
parent
c4bd5136
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
35 deletions
+47
-35
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
+46
-35
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
ade105a3
...
@@ -587,6 +587,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -587,6 +587,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC
(
"qt-notification"
,
IntegerList
,
ui
.
notificationComboLabel
,
CONFIG_GENERIC
(
"qt-notification"
,
IntegerList
,
ui
.
notificationComboLabel
,
notificationCombo
);
notificationCombo
);
CONNECT
(
ui
.
systrayBox
,
toggled
(
bool
),
ui
.
notificationCombo
,
setEnabled
(
bool
)
);
CONNECT
(
ui
.
systrayBox
,
toggled
(
bool
),
ui
.
notificationCombo
,
setEnabled
(
bool
)
);
CONNECT
(
ui
.
systrayBox
,
toggled
(
bool
),
ui
.
notificationComboLabel
,
setEnabled
(
bool
)
);
ui
.
notificationCombo
->
setEnabled
(
ui
.
systrayBox
->
isChecked
()
);
ui
.
notificationCombo
->
setEnabled
(
ui
.
systrayBox
->
isChecked
()
);
CONFIG_BOOL
(
"qt-pause-minimized"
,
pauseMinimizedBox
);
CONFIG_BOOL
(
"qt-pause-minimized"
,
pauseMinimizedBox
);
...
...
modules/gui/qt4/ui/sprefs_interface.ui
View file @
ade105a3
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
733
</width>
<width>
733
</width>
<height>
54
4
</height>
<height>
54
8
</height>
</rect>
</rect>
</property>
</property>
<property
name=
"sizePolicy"
>
<property
name=
"sizePolicy"
>
...
@@ -257,10 +257,23 @@
...
@@ -257,10 +257,23 @@
<property
name=
"topMargin"
>
<property
name=
"topMargin"
>
<number>
0
</number>
<number>
0
</number>
</property>
</property>
<item
row=
"
3"
column=
"0
"
>
<item
row=
"
1"
column=
"2"
colspan=
"2
"
>
<widget
class=
"QCheckBox"
name=
"
minimalview
Box"
>
<widget
class=
"QCheckBox"
name=
"
resizing
Box"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Start in minimal view mode
</string>
<string>
Resize interface to video size
</string>
</property>
</widget>
</item>
<item
row=
"5"
column=
"2"
colspan=
"2"
>
<widget
class=
"QComboBox"
name=
"notificationCombo"
/>
</item>
<item
row=
"9"
column=
"2"
colspan=
"2"
>
<widget
class=
"QComboBox"
name=
"stylesCombo"
/>
</item>
<item
row=
"0"
column=
"0"
colspan=
"5"
>
<widget
class=
"QCheckBox"
name=
"fsController"
>
<property
name=
"text"
>
<string>
Show controls in full screen mode
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
...
@@ -271,21 +284,24 @@
...
@@ -271,21 +284,24 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"
0"
column=
"0"
colspan=
"3
"
>
<item
row=
"
5"
column=
"0
"
>
<widget
class=
"Q
CheckBox"
name=
"fsController
"
>
<widget
class=
"Q
Label"
name=
"notificationComboLabel
"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Show controls in full screen mode
</string>
<string>
Show media change popup:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
notificationCombo
</cstring>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"
5"
column=
"0"
rowspan=
"2
"
>
<item
row=
"
3"
column=
"0
"
>
<widget
class=
"QCheckBox"
name=
"
systray
Box"
>
<widget
class=
"QCheckBox"
name=
"
minimalview
Box"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
S
how systray icon
</string>
<string>
S
tart in minimal view mode
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"
8
"
column=
"0"
>
<item
row=
"
9
"
column=
"0"
>
<widget
class=
"QLabel"
name=
"stylesLabel"
>
<widget
class=
"QLabel"
name=
"stylesLabel"
>
<property
name=
"sizePolicy"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Maximum"
vsizetype=
"Preferred"
>
<sizepolicy
hsizetype=
"Maximum"
vsizetype=
"Preferred"
>
...
@@ -301,13 +317,6 @@
...
@@ -301,13 +317,6 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"1"
column=
"2"
colspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"resizingBox"
>
<property
name=
"text"
>
<string>
Resize interface to video size
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"embedVideo"
>
<widget
class=
"QCheckBox"
name=
"embedVideo"
>
<property
name=
"text"
>
<property
name=
"text"
>
...
@@ -315,8 +324,8 @@
...
@@ -315,8 +324,8 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"
3"
column=
"4
"
>
<item
row=
"
1"
column=
"1
"
>
<spacer
name=
"horizontalSpacer_
7
"
>
<spacer
name=
"horizontalSpacer_
3
"
>
<property
name=
"orientation"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
<enum>
Qt::Horizontal
</enum>
</property>
</property>
...
@@ -328,32 +337,26 @@
...
@@ -328,32 +337,26 @@
</property>
</property>
</spacer>
</spacer>
</item>
</item>
<item
row=
"
3"
column=
"1
"
>
<item
row=
"
1"
column=
"4
"
>
<spacer
name=
"horizontalSpacer_
3
"
>
<spacer
name=
"horizontalSpacer_
7
"
>
<property
name=
"orientation"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
<enum>
Qt::Horizontal
</enum>
</property>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<size>
<width>
4
0
</width>
<width>
2
0
</width>
<height>
20
</height>
<height>
20
</height>
</size>
</size>
</property>
</property>
</spacer>
</spacer>
</item>
</item>
<item
row=
"8"
column=
"2"
colspan=
"3"
>
<item
row=
"4"
column=
"0"
colspan=
"2"
>
<widget
class=
"QComboBox"
name=
"stylesCombo"
/>
<widget
class=
"QCheckBox"
name=
"systrayBox"
>
</item>
<item
row=
"5"
column=
"1"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"notificationComboLabel"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Show
media change popup:
</string>
<string>
Show
systray icon
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"5"
column=
"3"
colspan=
"2"
>
<widget
class=
"QComboBox"
name=
"notificationCombo"
/>
</item>
</layout>
</layout>
</widget>
</widget>
</item>
</item>
...
@@ -485,9 +488,9 @@
...
@@ -485,9 +488,9 @@
</widget>
</widget>
</item>
</item>
<item
row=
"3"
column=
"0"
colspan=
"2"
>
<item
row=
"3"
column=
"0"
colspan=
"2"
>
<widget
class=
"QGroupBox"
name=
"
playlist
GroupBox"
>
<widget
class=
"QGroupBox"
name=
"
os
GroupBox"
>
<property
name=
"title"
>
<property
name=
"title"
>
<string>
Playlist
</string>
<string>
Operating System Integration
</string>
</property>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_4"
>
<layout
class=
"QGridLayout"
name=
"gridLayout_4"
>
<item
row=
"2"
column=
"0"
>
<item
row=
"2"
column=
"0"
>
...
@@ -640,19 +643,27 @@
...
@@ -640,19 +643,27 @@
<tabstop>
qt
</tabstop>
<tabstop>
qt
</tabstop>
<tabstop>
skins
</tabstop>
<tabstop>
skins
</tabstop>
<tabstop>
fsController
</tabstop>
<tabstop>
fsController
</tabstop>
<tabstop>
embedVideo
</tabstop>
<tabstop>
resizingBox
</tabstop>
<tabstop>
minimalviewBox
</tabstop>
<tabstop>
minimalviewBox
</tabstop>
<tabstop>
pauseMinimizedBox
</tabstop>
<tabstop>
pauseMinimizedBox
</tabstop>
<tabstop>
systrayBox
</tabstop>
<tabstop>
systrayBox
</tabstop>
<tabstop>
notificationCombo
</tabstop>
<tabstop>
stylesCombo
</tabstop>
<tabstop>
stylesCombo
</tabstop>
<tabstop>
OneInterfaceMode
</tabstop>
<tabstop>
OneInterfaceMode
</tabstop>
<tabstop>
EnqueueOneInterfaceMode
</tabstop>
<tabstop>
EnqueueOneInterfaceMode
</tabstop>
<tabstop>
oneInstanceFromFile
</tabstop>
<tabstop>
treePlaylist
</tabstop>
<tabstop>
playPauseBox
</tabstop>
<tabstop>
artFetcher
</tabstop>
<tabstop>
sqlMLbtn
</tabstop>
<tabstop>
updatesBox
</tabstop>
<tabstop>
updatesBox
</tabstop>
<tabstop>
updatesDays
</tabstop>
<tabstop>
updatesDays
</tabstop>
<tabstop>
saveRecentlyPlayed
</tabstop>
<tabstop>
saveRecentlyPlayed
</tabstop>
<tabstop>
recentlyPlayedFilters
</tabstop>
<tabstop>
recentlyPlayedFilters
</tabstop>
<tabstop>
assoButton
</tabstop>
<tabstop>
assoButton
</tabstop>
<tabstop>
fileSkin
</tabstop>
<tabstop>
skinBrowse
</tabstop>
<tabstop>
skinBrowse
</tabstop>
<tabstop>
fileSkin
</tabstop>
</tabstops>
</tabstops>
<resources/>
<resources/>
<connections/>
<connections/>
...
...
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