Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ab13e4a2
Commit
ab13e4a2
authored
Mar 26, 2007
by
Yoann Peronneau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* build the subtitle align combo box
parent
fa724854
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
15 deletions
+16
-15
modules/gui/qt4/components/open.cpp
modules/gui/qt4/components/open.cpp
+16
-0
modules/gui/qt4/ui/open_file.ui
modules/gui/qt4/ui/open_file.ui
+0
-15
No files found.
modules/gui/qt4/components/open.cpp
View file @
ab13e4a2
...
...
@@ -106,6 +106,22 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
}
}
/* Build the subs align combo box */
p_item
=
config_FindConfig
(
VLC_OBJECT
(
p_intf
),
"subsdec-align"
);
if
(
p_item
)
{
for
(
int
i_index
=
0
;
i_index
<
p_item
->
i_list
;
i_index
++
)
{
ui
.
alignSubComboBox
->
addItem
(
qfu
(
p_item
->
ppsz_list_text
[
i_index
]
),
QVariant
(
p_item
->
pi_list
[
i_index
]
)
);
if
(
p_item
->
value
.
i
==
p_item
->
pi_list
[
i_index
]
)
{
ui
.
alignSubComboBox
->
setCurrentIndex
(
i_index
);
}
}
}
BUTTONACT
(
ui
.
subBrowseButton
,
browseFileSub
()
);
BUTTONACT
(
ui
.
subCheckBox
,
toggleSubtitleFrame
());
...
...
modules/gui/qt4/ui/open_file.ui
View file @
ab13e4a2
...
...
@@ -161,21 +161,6 @@
<property name="minimumContentsLength" >
<number>0</number>
</property>
<item>
<property name="text" >
<string>Left</string>
</property>
</item>
<item>
<property name="text" >
<string>Center</string>
</property>
</item>
<item>
<property name="text" >
<string>Right</string>
</property>
</item>
</widget>
</item>
<item row="1" column="4" >
...
...
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