Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
5364ae67
Commit
5364ae67
authored
Dec 01, 2006
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplification of Advanced Open
Control & Playback buttons have the same size
parent
32616498
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
593 additions
and
937 deletions
+593
-937
modules/gui/qt4/components/open.cpp
modules/gui/qt4/components/open.cpp
+0
-14
modules/gui/qt4/components/open.hpp
modules/gui/qt4/components/open.hpp
+1
-4
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+1
-0
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+1
-1
modules/gui/qt4/ui/main_interface.ui
modules/gui/qt4/ui/main_interface.ui
+22
-8
modules/gui/qt4/ui/open.ui
modules/gui/qt4/ui/open.ui
+15
-1
modules/gui/qt4/ui/open_disk.ui
modules/gui/qt4/ui/open_disk.ui
+119
-259
modules/gui/qt4/ui/open_file.ui
modules/gui/qt4/ui/open_file.ui
+263
-396
modules/gui/qt4/ui/open_net.ui
modules/gui/qt4/ui/open_net.ui
+171
-254
No files found.
modules/gui/qt4/components/open.cpp
View file @
5364ae67
...
...
@@ -41,9 +41,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
OpenPanel
(
_parent
,
_p_intf
)
{
ui
.
setupUi
(
this
);
ui
.
audioGroupBox
->
hide
();
BUTTONACT
(
ui
.
extraAudioButton
,
toggleExtraAudio
()
);
BUTTONACT
(
ui
.
fileBrowseButton
,
browseFile
()
);
BUTTONACT
(
ui
.
subBrowseButton
,
browseFileSub
()
);
BUTTONACT
(
ui
.
audioBrowseButton
,
browseFileAudio
()
);
...
...
@@ -108,18 +106,6 @@ QString FileOpenPanel::getUpdatedMRL()
return
ui
.
fileInput
->
currentText
();
}
void
FileOpenPanel
::
toggleExtraAudio
()
{
if
(
ui
.
audioGroupBox
->
isVisible
())
{
ui
.
audioGroupBox
->
hide
();
}
else
{
ui
.
audioGroupBox
->
show
();
}
}
void
FileOpenPanel
::
clear
()
{
ui
.
fileInput
->
setEditText
(
""
);
...
...
modules/gui/qt4/components/open.hpp
View file @
5364ae67
...
...
@@ -62,7 +62,6 @@ private:
void
updateSubsMRL
();
public
slots
:
virtual
void
sendUpdate
()
;
void
toggleExtraAudio
()
;
void
updateMRL
();
void
browseFile
();
void
browseFileSub
();
...
...
@@ -79,7 +78,7 @@ public:
virtual
~
NetOpenPanel
();
virtual
QString
getUpdatedMRL
();
private:
Ui
::
OpenNet
ui
;
Ui
::
OpenNet
work
ui
;
public
slots
:
virtual
void
sendUpdate
()
;
signals:
...
...
@@ -103,6 +102,4 @@ signals:
};
#endif
modules/gui/qt4/dialogs/open.cpp
View file @
5364ae67
...
...
@@ -39,6 +39,7 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
{
setWindowTitle
(
qtr
(
"Open"
)
);
ui
.
setupUi
(
this
);
ui
.
vboxLayout
->
setSizeConstraint
(
QLayout
::
SetFixedSize
);
fileOpenPanel
=
new
FileOpenPanel
(
this
,
_p_intf
);
diskOpenPanel
=
new
DiskOpenPanel
(
this
,
_p_intf
);
netOpenPanel
=
new
NetOpenPanel
(
this
,
_p_intf
);
...
...
modules/gui/qt4/main_interface.cpp
View file @
5364ae67
...
...
@@ -164,7 +164,7 @@ void MainInterface::handleMainUi( QSettings *settings )
ui
.
setupUi
(
centralWidget
()
);
slider
=
new
InputSlider
(
Qt
::
Horizontal
,
NULL
);
ui
.
h
boxLayout
->
insertWidget
(
0
,
slider
);
ui
.
v
boxLayout
->
insertWidget
(
0
,
slider
);
ui
.
discFrame
->
hide
();
BUTTON_SET_IMG
(
ui
.
prevSectionButton
,
""
,
previous
.
png
,
""
);
BUTTON_SET_IMG
(
ui
.
nextSectionButton
,
""
,
next
.
png
,
""
);
...
...
modules/gui/qt4/ui/main_interface.ui
View file @
5364ae67
...
...
@@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>
819
</width>
<height>
384
</height>
<width>
502
</width>
<height>
201
</height>
</rect>
</property>
<property name="sizePolicy" >
...
...
@@ -93,7 +93,7 @@
</property>
<property name="maximumSize" >
<size>
<width>
3
5</width>
<width>
4
5</width>
<height>26</height>
</size>
</property>
...
...
@@ -117,7 +117,7 @@
</property>
<property name="maximumSize" >
<size>
<width>
3
5</width>
<width>
4
5</width>
<height>26</height>
</size>
</property>
...
...
@@ -144,7 +144,7 @@
</property>
<property name="maximumSize" >
<size>
<width>
3
5</width>
<width>
4
5</width>
<height>26</height>
</size>
</property>
...
...
@@ -171,7 +171,7 @@
</property>
<property name="maximumSize" >
<size>
<width>
3
5</width>
<width>
4
5</width>
<height>26</height>
</size>
</property>
...
...
@@ -193,8 +193,8 @@
</property>
<property name="sizeHint" >
<size>
<width>
4
0</width>
<height>2
0
</height>
<width>
8
0</width>
<height>2
7
</height>
</size>
</property>
</spacer>
...
...
@@ -229,6 +229,20 @@
</item>
<item>
<widget class="QPushButton" name="playlistButton" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize" >
<size>
<width>45</width>
<height>26</height>
</size>
</property>
<property name="text" >
<string/>
</property>
...
...
modules/gui/qt4/ui/open.ui
View file @
5364ae67
...
...
@@ -10,7 +10,7 @@
<x>0</x>
<y>0</y>
<width>435</width>
<height>
339
</height>
<height>
441
</height>
</rect>
</property>
<property name="windowTitle" >
...
...
@@ -25,6 +25,20 @@
</property>
<item>
<widget class="QTabWidget" name="Tab" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>417</width>
<height>290</height>
</size>
</property>
<property name="currentIndex" >
<number>-1</number>
</property>
...
...
modules/gui/qt4/ui/open_disk.ui
View file @
5364ae67
...
...
@@ -6,42 +6,41 @@
<rect>
<x>0</x>
<y>0</y>
<width>
569
</width>
<height>2
14
</height>
<width>
448
</width>
<height>2
32
</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QGroupBox" name="diskTypeGroupBox" >
<property name="geometry" >
<rect>
<x>10</x>
<y>10</y>
<width>391</width>
<height>121</height>
</rect>
</property>
<property name="title" >
<string>Disc Type</string>
</property>
<widget class="QWidget" name="layoutWidget" >
<property name="geometry" >
<rect>
<x>10</x>
<y>20</y>
<width>159</width>
<height>85</height>
</rect>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9
</number>
<number>0
</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QRadioButton" name="dvdRadioButton" >
<property name="text" >
<string>DVD</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
...
...
@@ -51,20 +50,14 @@
<number>6</number>
</property>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
<widget class="QRadioButton" name="dvdRadioButton" >
<property name="text" >
<string>DVD</string>
</property>
<property name="sizeHint" >
<size>
<width>8</width>
<height>10</height>
</size>
<property name="checked" >
<bool>true</bool>
</property>
</spacer
>
</widget
>
</item>
<item>
<widget class="QCheckBox" name="menuDVDButton" >
...
...
@@ -76,19 +69,6 @@
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
...
...
@@ -105,24 +85,18 @@
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
</widget>
<widget class="QGroupBox" name="diskOptionGroupBox" >
<property name="geometry" >
<rect>
<x>10</x>
<y>130</y>
<width>391</width>
<height>69</height>
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
...
...
@@ -132,7 +106,7 @@
</sizepolicy>
</property>
<property name="title" >
<string>Options
</string>
<string>Device
</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
...
...
@@ -149,13 +123,6 @@
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="pathDiskLabel" >
<property name="text" >
<string>Path:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="diskBrowseLine" >
<property name="sizePolicy" >
...
...
@@ -180,115 +147,8 @@
</item>
</layout>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="diskOptionsLabel1" >
<property name="text" >
<string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;">Entry:</p></body></html></string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="diskOptionBox1" />
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="diskOptionsLabel2" >
<property name="text" >
<string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;">Chapter:</p></body></html></string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="diskOptionBox2" />
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="diskOptionsLabel3" >
<property name="text" >
<string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;">Subtitles:</p></body></html></string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="diskOptionBox3" />
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="diskOptionsLabel4" >
<property name="text" >
<string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;">Audio Channel:</p></body></html></string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="diskOptionBox4" />
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
...
...
modules/gui/qt4/ui/open_file.ui
View file @
5364ae67
This diff is collapsed.
Click to expand it.
modules/gui/qt4/ui/open_net.ui
View file @
5364ae67
This diff is collapsed.
Click to expand it.
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