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
fecd2c37
Commit
fecd2c37
authored
Nov 10, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: open BRD
parent
4a806883
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
22 deletions
+45
-22
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+15
-0
modules/gui/qt4/components/open_panels.hpp
modules/gui/qt4/components/open_panels.hpp
+2
-1
modules/gui/qt4/ui/open_disk.ui
modules/gui/qt4/ui/open_disk.ui
+28
-21
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
fecd2c37
...
...
@@ -436,6 +436,19 @@ void DiscOpenPanel::updateButtons()
ui
.
diskOptionBox_2
->
show
();
ui
.
dvdsimple
->
setEnabled
(
true
);
}
if
(
ui
.
bdRadioButton
->
isChecked
()
)
{
if
(
m_discType
!=
BRD
)
{
setDrive
(
psz_dvddiscpath
);
m_discType
=
BRD
;
}
ui
.
titleLabel
->
setText
(
qtr
(
"Title"
)
);
ui
.
chapterLabel
->
hide
();
ui
.
chapterSpin
->
hide
();
ui
.
diskOptionBox_2
->
hide
();
ui
.
dvdsimple
->
setEnabled
(
true
);
}
else
if
(
ui
.
vcdRadioButton
->
isChecked
()
)
{
if
(
m_discType
!=
Vcd
)
...
...
@@ -500,6 +513,8 @@ void DiscOpenPanel::updateMRL()
mrl
+=
QString
(
":%1"
).
arg
(
ui
.
chapterSpin
->
value
()
);
}
}
}
else
if
(
ui
.
bdRadioButton
->
isChecked
()
)
{
mrl
=
"bluray://"
LOCALHOST
+
discPath
;
/* VCD */
}
else
if
(
ui
.
vcdRadioButton
->
isChecked
()
)
{
...
...
modules/gui/qt4/components/open_panels.hpp
View file @
fecd2c37
...
...
@@ -166,7 +166,8 @@ class DiscOpenPanel: public OpenPanel
None
,
Dvd
,
Vcd
,
Cdda
Cdda
,
BRD
};
public:
DiscOpenPanel
(
QWidget
*
,
intf_thread_t
*
);
...
...
modules/gui/qt4/ui/open_disk.ui
View file @
fecd2c37
...
...
@@ -33,19 +33,6 @@
<string>
Disc Selection
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<item
row=
"0"
column=
"0"
>
<spacer>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
16
</width>
<height>
25
</height>
</size>
</property>
</spacer>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QRadioButton"
name=
"dvdRadioButton"
>
<property
name=
"layoutDirection"
>
...
...
@@ -73,13 +60,20 @@
</spacer>
</item>
<item
row=
"0"
column=
"3"
>
<widget
class=
"QRadioButton"
name=
"bdRadioButton"
>
<property
name=
"text"
>
<string>
BluRay
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"5"
>
<widget
class=
"QRadioButton"
name=
"audioCDRadioButton"
>
<property
name=
"text"
>
<string>
Audio CD
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"
4
"
>
<item
row=
"0"
column=
"
6
"
>
<spacer>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
...
...
@@ -92,14 +86,14 @@
</property>
</spacer>
</item>
<item
row=
"0"
column=
"
5
"
>
<item
row=
"0"
column=
"
7
"
>
<widget
class=
"QRadioButton"
name=
"vcdRadioButton"
>
<property
name=
"text"
>
<string>
SVCD/VCD
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"
6
"
>
<item
row=
"0"
column=
"
8
"
>
<spacer>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
...
...
@@ -112,24 +106,24 @@
</property>
</spacer>
</item>
<item
row=
"1"
column=
"1"
colspan=
"
3
"
>
<item
row=
"1"
column=
"1"
colspan=
"
4
"
>
<widget
class=
"QCheckBox"
name=
"dvdsimple"
>
<property
name=
"toolTip"
>
<string>
Disable D
VD Menus (for compatibility)
</string>
<string>
Disable D
isc Menus
</string>
</property>
<property
name=
"text"
>
<string>
No
DVD
menus
</string>
<string>
No
disc
menus
</string>
</property>
</widget>
</item>
<item
row=
"2"
column=
"
2"
colspan=
"5
"
>
<item
row=
"2"
column=
"
3"
colspan=
"6
"
>
<widget
class=
"Line"
name=
"line"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</widget>
</item>
<item
row=
"3"
column=
"0"
colspan=
"
7
"
>
<item
row=
"3"
column=
"0"
colspan=
"
9
"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_5"
>
<item>
<widget
class=
"QLabel"
name=
"deviceLabel"
>
...
...
@@ -179,6 +173,19 @@
</item>
</layout>
</item>
<item
row=
"0"
column=
"4"
>
<spacer>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
16
</width>
<height>
25
</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
...
...
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