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
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
Hide 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,
...
@@ -639,7 +639,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
qtr
(
"Subtitles & On Screen Display Settings"
)
);
qtr
(
"Subtitles & On Screen Display Settings"
)
);
CONFIG_BOOL
(
"osd"
,
OSDBox
);
CONFIG_BOOL
(
"osd"
,
OSDBox
);
CONFIG_BOOL
(
"video-title-show"
,
OSDTitleBox
);
CONFIG_BOOL
(
"video-title-show"
,
OSDTitleBox
);
CONFIG_GENERIC
(
"video-title-position"
,
IntegerList
,
ui
.
OSDTitlePosLabel
,
OSDTitlePos
);
CONFIG_GENERIC
(
"subsdec-encoding"
,
StringList
,
ui
.
encodLabel
,
CONFIG_GENERIC
(
"subsdec-encoding"
,
StringList
,
ui
.
encodLabel
,
encoding
);
encoding
);
...
...
modules/gui/qt4/ui/sprefs_subtitles.ui
View file @
f5b0dbb4
...
@@ -23,21 +23,43 @@
...
@@ -23,21 +23,43 @@
<property
name=
"title"
>
<property
name=
"title"
>
<string>
On Screen Display
</string>
<string>
On Screen Display
</string>
</property>
</property>
<layout
class=
"Q
VBox
Layout"
>
<layout
class=
"Q
GridLayout"
name=
"grid
Layout"
>
<item>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"OSDBox"
>
<widget
class=
"QCheckBox"
name=
"OSDBox"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Enable On Screen Display (OSD)
</string>
<string>
Enable On Screen Display (OSD)
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"OSDTitleBox"
>
<widget
class=
"QCheckBox"
name=
"OSDTitleBox"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Show media title on video start
</string>
<string>
Show media title on video start
</string>
</property>
</property>
</widget>
</widget>
</item>
</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>
</layout>
</widget>
</widget>
</item>
</item>
...
@@ -247,6 +269,7 @@
...
@@ -247,6 +269,7 @@
<tabstops>
<tabstops>
<tabstop>
OSDBox
</tabstop>
<tabstop>
OSDBox
</tabstop>
<tabstop>
OSDTitleBox
</tabstop>
<tabstop>
OSDTitleBox
</tabstop>
<tabstop>
OSDTitlePos
</tabstop>
<tabstop>
preferredLanguage
</tabstop>
<tabstop>
preferredLanguage
</tabstop>
<tabstop>
encoding
</tabstop>
<tabstop>
encoding
</tabstop>
<tabstop>
font
</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