Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
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,
CONFIG_GENERIC
(
"qt-notification"
,
IntegerList
,
ui
.
notificationComboLabel
,
notificationCombo
);
CONNECT
(
ui
.
systrayBox
,
toggled
(
bool
),
ui
.
notificationCombo
,
setEnabled
(
bool
)
);
CONNECT
(
ui
.
systrayBox
,
toggled
(
bool
),
ui
.
notificationComboLabel
,
setEnabled
(
bool
)
);
ui
.
notificationCombo
->
setEnabled
(
ui
.
systrayBox
->
isChecked
()
);
CONFIG_BOOL
(
"qt-pause-minimized"
,
pauseMinimizedBox
);
...
...
modules/gui/qt4/ui/sprefs_interface.ui
View file @
ade105a3
...
...
@@ -8,7 +8,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
733
</width>
<height>
54
4
</height>
<height>
54
8
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
...
...
@@ -257,10 +257,23 @@
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<item
row=
"
3"
column=
"0
"
>
<widget
class=
"QCheckBox"
name=
"
minimalview
Box"
>
<item
row=
"
1"
column=
"2"
colspan=
"2
"
>
<widget
class=
"QCheckBox"
name=
"
resizing
Box"
>
<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>
</widget>
</item>
...
...
@@ -271,21 +284,24 @@
</property>
</widget>
</item>
<item
row=
"
0"
column=
"0"
colspan=
"3
"
>
<widget
class=
"Q
CheckBox"
name=
"fsController
"
>
<item
row=
"
5"
column=
"0
"
>
<widget
class=
"Q
Label"
name=
"notificationComboLabel
"
>
<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>
</widget>
</item>
<item
row=
"
5"
column=
"0"
rowspan=
"2
"
>
<widget
class=
"QCheckBox"
name=
"
systray
Box"
>
<item
row=
"
3"
column=
"0
"
>
<widget
class=
"QCheckBox"
name=
"
minimalview
Box"
>
<property
name=
"text"
>
<string>
S
how systray icon
</string>
<string>
S
tart in minimal view mode
</string>
</property>
</widget>
</item>
<item
row=
"
8
"
column=
"0"
>
<item
row=
"
9
"
column=
"0"
>
<widget
class=
"QLabel"
name=
"stylesLabel"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Maximum"
vsizetype=
"Preferred"
>
...
...
@@ -301,13 +317,6 @@
</property>
</widget>
</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"
>
<widget
class=
"QCheckBox"
name=
"embedVideo"
>
<property
name=
"text"
>
...
...
@@ -315,8 +324,8 @@
</property>
</widget>
</item>
<item
row=
"
3"
column=
"4
"
>
<spacer
name=
"horizontalSpacer_
7
"
>
<item
row=
"
1"
column=
"1
"
>
<spacer
name=
"horizontalSpacer_
3
"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
...
...
@@ -328,32 +337,26 @@
</property>
</spacer>
</item>
<item
row=
"
3"
column=
"1
"
>
<spacer
name=
"horizontalSpacer_
3
"
>
<item
row=
"
1"
column=
"4
"
>
<spacer
name=
"horizontalSpacer_
7
"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
4
0
</width>
<width>
2
0
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
<item
row=
"8"
column=
"2"
colspan=
"3"
>
<widget
class=
"QComboBox"
name=
"stylesCombo"
/>
</item>
<item
row=
"5"
column=
"1"
colspan=
"2"
>
<widget
class=
"QLabel"
name=
"notificationComboLabel"
>
<item
row=
"4"
column=
"0"
colspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"systrayBox"
>
<property
name=
"text"
>
<string>
Show
media change popup:
</string>
<string>
Show
systray icon
</string>
</property>
</widget>
</item>
<item
row=
"5"
column=
"3"
colspan=
"2"
>
<widget
class=
"QComboBox"
name=
"notificationCombo"
/>
</item>
</layout>
</widget>
</item>
...
...
@@ -485,9 +488,9 @@
</widget>
</item>
<item
row=
"3"
column=
"0"
colspan=
"2"
>
<widget
class=
"QGroupBox"
name=
"
playlist
GroupBox"
>
<widget
class=
"QGroupBox"
name=
"
os
GroupBox"
>
<property
name=
"title"
>
<string>
Playlist
</string>
<string>
Operating System Integration
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_4"
>
<item
row=
"2"
column=
"0"
>
...
...
@@ -640,19 +643,27 @@
<tabstop>
qt
</tabstop>
<tabstop>
skins
</tabstop>
<tabstop>
fsController
</tabstop>
<tabstop>
embedVideo
</tabstop>
<tabstop>
resizingBox
</tabstop>
<tabstop>
minimalviewBox
</tabstop>
<tabstop>
pauseMinimizedBox
</tabstop>
<tabstop>
systrayBox
</tabstop>
<tabstop>
notificationCombo
</tabstop>
<tabstop>
stylesCombo
</tabstop>
<tabstop>
OneInterfaceMode
</tabstop>
<tabstop>
EnqueueOneInterfaceMode
</tabstop>
<tabstop>
oneInstanceFromFile
</tabstop>
<tabstop>
treePlaylist
</tabstop>
<tabstop>
playPauseBox
</tabstop>
<tabstop>
artFetcher
</tabstop>
<tabstop>
sqlMLbtn
</tabstop>
<tabstop>
updatesBox
</tabstop>
<tabstop>
updatesDays
</tabstop>
<tabstop>
saveRecentlyPlayed
</tabstop>
<tabstop>
recentlyPlayedFilters
</tabstop>
<tabstop>
assoButton
</tabstop>
<tabstop>
fileSkin
</tabstop>
<tabstop>
skinBrowse
</tabstop>
<tabstop>
fileSkin
</tabstop>
</tabstops>
<resources/>
<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