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
f5b0dbb4
Commit
f5b0dbb4
authored
Dec 19, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt, sprefs: add configuration for OSD Title position
parent
cb085c10
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
4 deletions
+28
-4
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-1
modules/gui/qt4/ui/sprefs_subtitles.ui
modules/gui/qt4/ui/sprefs_subtitles.ui
+26
-3
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
f5b0dbb4
...
...
@@ -639,7 +639,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
qtr
(
"Subtitles & On Screen Display Settings"
)
);
CONFIG_BOOL
(
"osd"
,
OSDBox
);
CONFIG_BOOL
(
"video-title-show"
,
OSDTitleBox
);
CONFIG_GENERIC
(
"video-title-position"
,
IntegerList
,
ui
.
OSDTitlePosLabel
,
OSDTitlePos
);
CONFIG_GENERIC
(
"subsdec-encoding"
,
StringList
,
ui
.
encodLabel
,
encoding
);
...
...
modules/gui/qt4/ui/sprefs_subtitles.ui
View file @
f5b0dbb4
...
...
@@ -23,21 +23,43 @@
<property
name=
"title"
>
<string>
On Screen Display
</string>
</property>
<layout
class=
"Q
VBox
Layout"
>
<item>
<layout
class=
"Q
GridLayout"
name=
"grid
Layout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"OSDBox"
>
<property
name=
"text"
>
<string>
Enable On Screen Display (OSD)
</string>
</property>
</widget>
</item>
<item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"OSDTitleBox"
>
<property
name=
"text"
>
<string>
Show media title on video start
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"2"
>
<widget
class=
"QComboBox"
name=
"OSDTitlePos"
/>
</item>
<item
row=
"1"
column=
"1"
>
<widget
class=
"QLabel"
name=
"OSDTitlePosLabel"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Maximum"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"text"
>
<string>
Position
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
</property>
<property
name=
"buddy"
>
<cstring>
OSDTitlePos
</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
...
...
@@ -247,6 +269,7 @@
<tabstops>
<tabstop>
OSDBox
</tabstop>
<tabstop>
OSDTitleBox
</tabstop>
<tabstop>
OSDTitlePos
</tabstop>
<tabstop>
preferredLanguage
</tabstop>
<tabstop>
encoding
</tabstop>
<tabstop>
font
</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