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
Hide 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 ) :
...
@@ -41,9 +41,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
OpenPanel
(
_parent
,
_p_intf
)
OpenPanel
(
_parent
,
_p_intf
)
{
{
ui
.
setupUi
(
this
);
ui
.
setupUi
(
this
);
ui
.
audioGroupBox
->
hide
();
BUTTONACT
(
ui
.
extraAudioButton
,
toggleExtraAudio
()
);
BUTTONACT
(
ui
.
fileBrowseButton
,
browseFile
()
);
BUTTONACT
(
ui
.
fileBrowseButton
,
browseFile
()
);
BUTTONACT
(
ui
.
subBrowseButton
,
browseFileSub
()
);
BUTTONACT
(
ui
.
subBrowseButton
,
browseFileSub
()
);
BUTTONACT
(
ui
.
audioBrowseButton
,
browseFileAudio
()
);
BUTTONACT
(
ui
.
audioBrowseButton
,
browseFileAudio
()
);
...
@@ -108,18 +106,6 @@ QString FileOpenPanel::getUpdatedMRL()
...
@@ -108,18 +106,6 @@ QString FileOpenPanel::getUpdatedMRL()
return
ui
.
fileInput
->
currentText
();
return
ui
.
fileInput
->
currentText
();
}
}
void
FileOpenPanel
::
toggleExtraAudio
()
{
if
(
ui
.
audioGroupBox
->
isVisible
())
{
ui
.
audioGroupBox
->
hide
();
}
else
{
ui
.
audioGroupBox
->
show
();
}
}
void
FileOpenPanel
::
clear
()
void
FileOpenPanel
::
clear
()
{
{
ui
.
fileInput
->
setEditText
(
""
);
ui
.
fileInput
->
setEditText
(
""
);
...
...
modules/gui/qt4/components/open.hpp
View file @
5364ae67
...
@@ -62,7 +62,6 @@ private:
...
@@ -62,7 +62,6 @@ private:
void
updateSubsMRL
();
void
updateSubsMRL
();
public
slots
:
public
slots
:
virtual
void
sendUpdate
()
;
virtual
void
sendUpdate
()
;
void
toggleExtraAudio
()
;
void
updateMRL
();
void
updateMRL
();
void
browseFile
();
void
browseFile
();
void
browseFileSub
();
void
browseFileSub
();
...
@@ -79,7 +78,7 @@ public:
...
@@ -79,7 +78,7 @@ public:
virtual
~
NetOpenPanel
();
virtual
~
NetOpenPanel
();
virtual
QString
getUpdatedMRL
();
virtual
QString
getUpdatedMRL
();
private:
private:
Ui
::
OpenNet
ui
;
Ui
::
OpenNet
work
ui
;
public
slots
:
public
slots
:
virtual
void
sendUpdate
()
;
virtual
void
sendUpdate
()
;
signals:
signals:
...
@@ -103,6 +102,4 @@ signals:
...
@@ -103,6 +102,4 @@ signals:
};
};
#endif
#endif
modules/gui/qt4/dialogs/open.cpp
View file @
5364ae67
...
@@ -39,6 +39,7 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
...
@@ -39,6 +39,7 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
{
{
setWindowTitle
(
qtr
(
"Open"
)
);
setWindowTitle
(
qtr
(
"Open"
)
);
ui
.
setupUi
(
this
);
ui
.
setupUi
(
this
);
ui
.
vboxLayout
->
setSizeConstraint
(
QLayout
::
SetFixedSize
);
fileOpenPanel
=
new
FileOpenPanel
(
this
,
_p_intf
);
fileOpenPanel
=
new
FileOpenPanel
(
this
,
_p_intf
);
diskOpenPanel
=
new
DiskOpenPanel
(
this
,
_p_intf
);
diskOpenPanel
=
new
DiskOpenPanel
(
this
,
_p_intf
);
netOpenPanel
=
new
NetOpenPanel
(
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 )
...
@@ -164,7 +164,7 @@ void MainInterface::handleMainUi( QSettings *settings )
ui
.
setupUi
(
centralWidget
()
);
ui
.
setupUi
(
centralWidget
()
);
slider
=
new
InputSlider
(
Qt
::
Horizontal
,
NULL
);
slider
=
new
InputSlider
(
Qt
::
Horizontal
,
NULL
);
ui
.
h
boxLayout
->
insertWidget
(
0
,
slider
);
ui
.
v
boxLayout
->
insertWidget
(
0
,
slider
);
ui
.
discFrame
->
hide
();
ui
.
discFrame
->
hide
();
BUTTON_SET_IMG
(
ui
.
prevSectionButton
,
""
,
previous
.
png
,
""
);
BUTTON_SET_IMG
(
ui
.
prevSectionButton
,
""
,
previous
.
png
,
""
);
BUTTON_SET_IMG
(
ui
.
nextSectionButton
,
""
,
next
.
png
,
""
);
BUTTON_SET_IMG
(
ui
.
nextSectionButton
,
""
,
next
.
png
,
""
);
...
...
modules/gui/qt4/ui/main_interface.ui
View file @
5364ae67
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<rect>
<rect>
<x>0</x>
<x>0</x>
<y>0</y>
<y>0</y>
<width>
819
</width>
<width>
502
</width>
<height>
384
</height>
<height>
201
</height>
</rect>
</rect>
</property>
</property>
<property name="sizePolicy" >
<property name="sizePolicy" >
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
</property>
</property>
<property name="maximumSize" >
<property name="maximumSize" >
<size>
<size>
<width>
3
5</width>
<width>
4
5</width>
<height>26</height>
<height>26</height>
</size>
</size>
</property>
</property>
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
</property>
</property>
<property name="maximumSize" >
<property name="maximumSize" >
<size>
<size>
<width>
3
5</width>
<width>
4
5</width>
<height>26</height>
<height>26</height>
</size>
</size>
</property>
</property>
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
</property>
</property>
<property name="maximumSize" >
<property name="maximumSize" >
<size>
<size>
<width>
3
5</width>
<width>
4
5</width>
<height>26</height>
<height>26</height>
</size>
</size>
</property>
</property>
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
</property>
</property>
<property name="maximumSize" >
<property name="maximumSize" >
<size>
<size>
<width>
3
5</width>
<width>
4
5</width>
<height>26</height>
<height>26</height>
</size>
</size>
</property>
</property>
...
@@ -193,8 +193,8 @@
...
@@ -193,8 +193,8 @@
</property>
</property>
<property name="sizeHint" >
<property name="sizeHint" >
<size>
<size>
<width>
4
0</width>
<width>
8
0</width>
<height>2
0
</height>
<height>2
7
</height>
</size>
</size>
</property>
</property>
</spacer>
</spacer>
...
@@ -229,6 +229,20 @@
...
@@ -229,6 +229,20 @@
</item>
</item>
<item>
<item>
<widget class="QPushButton" name="playlistButton" >
<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" >
<property name="text" >
<string/>
<string/>
</property>
</property>
...
...
modules/gui/qt4/ui/open.ui
View file @
5364ae67
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<x>0</x>
<x>0</x>
<y>0</y>
<y>0</y>
<width>435</width>
<width>435</width>
<height>
339
</height>
<height>
441
</height>
</rect>
</rect>
</property>
</property>
<property name="windowTitle" >
<property name="windowTitle" >
...
@@ -25,6 +25,20 @@
...
@@ -25,6 +25,20 @@
</property>
</property>
<item>
<item>
<widget class="QTabWidget" name="Tab" >
<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" >
<property name="currentIndex" >
<number>-1</number>
<number>-1</number>
</property>
</property>
...
...
modules/gui/qt4/ui/open_disk.ui
View file @
5364ae67
...
@@ -6,289 +6,149 @@
...
@@ -6,289 +6,149 @@
<rect>
<rect>
<x>0</x>
<x>0</x>
<y>0</y>
<y>0</y>
<width>
569
</width>
<width>
448
</width>
<height>2
14
</height>
<height>2
32
</height>
</rect>
</rect>
</property>
</property>
<property name="windowTitle" >
<property name="windowTitle" >
<string>Form</string>
<string>Form</string>
</property>
</property>
<layout class="QHBoxLayout" >
<widget class="QGroupBox" name="diskTypeGroupBox" >
<property name="margin" >
<property name="geometry" >
<number>9</number>
<rect>
<x>10</x>
<y>10</y>
<width>391</width>
<height>121</height>
</rect>
</property>
</property>
<property name="
spacing
" >
<property name="
title
" >
<
number>6</number
>
<
string>Disc Type</string
>
</property>
</property>
<item>
<widget class="QWidget" name="layoutWidget" >
<widget class="QGroupBox" name="diskTypeGroupBox" >
<property name="geometry" >
<property name="title" >
<rect>
<string>Disc Type</string>
<x>10</x>
<y>20</y>
<width>159</width>
<height>85</height>
</rect>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
</property>
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<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>
<widget class="QCheckBox" name="menuDVDButton" >
<property name="text" >
<string>Show Menus</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QRadioButton" name="vcdRadioButton" >
<property name="text" >
<string>SVCD/VCD</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="audioCDRAdioButton" >
<property name="text" >
<string>Audio CD</string>
</property>
</widget>
</item>
</layout>
</widget>
</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>
<vsizetype>5</vsizetype>
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title" >
<string>Device</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<property name="margin" >
<number>
9
</number>
<number>
0
</number>
</property>
</property>
<property name="spacing" >
<property name="spacing" >
<number>6</number>
<number>6</number>
</property>
</property>
<item>
<item>
<widget class="QRadioButton" name="dvdRadioButton" >
<widget class="QComboBox" name="diskBrowseLine" >
<property name="text" >
<property name="sizePolicy" >
<string>DVD</string>
<sizepolicy>
</property>
<hsizetype>5</hsizetype>
<property name="checked" >
<vsizetype>0</vsizetype>
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable" >
<bool>true</bool>
<bool>true</bool>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<item>
<layout class="QHBoxLayout" >
<widget class="QPushButton" name="browseDiskButton" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>8</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="menuDVDButton" >
<property name="text" >
<string>Show Menus</string>
</property>
<property name="checked" >
<bool>true</bool>
</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>
<widget class="QRadioButton" name="vcdRadioButton" >
<property name="text" >
<string>SVCD/VCD</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="audioCDRAdioButton" >
<property name="text" >
<property name="text" >
<string>
Audio CD
</string>
<string>
Browse
</string>
</property>
</property>
</widget>
</widget>
</item>
</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 class="QGroupBox" name="diskOptionGroupBox" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title" >
<string>Options</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<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" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="browseDiskButton" >
<property name="text" >
<string>Browse</string>
</property>
</widget>
</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>
</layout>
</
widget
>
</
item
>
</
item
>
</
layout
>
</
layou
t>
</
widge
t>
</widget>
</widget>
<resources/>
<resources/>
<connections/>
<connections/>
...
...
modules/gui/qt4/ui/open_file.ui
View file @
5364ae67
...
@@ -6,317 +6,144 @@
...
@@ -6,317 +6,144 @@
<rect>
<rect>
<x>0</x>
<x>0</x>
<y>0</y>
<y>0</y>
<width>4
33
</width>
<width>4
15
</width>
<height>
421
</height>
<height>
305
</height>
</rect>
</rect>
</property>
</property>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle" >
<property name="windowTitle" >
<string>Form</string>
<string>Form</string>
</property>
</property>
<layout class="QVBoxLayout" >
<widget class="QGroupBox" name="fileGroupBox" >
<property name="margin" >
<property name="geometry" >
<number>9</number>
<rect>
<x>9</x>
<y>9</y>
<width>397</width>
<height>67</height>
</rect>
</property>
</property>
<property name="
spacing
" >
<property name="
title
" >
<
number>6</number
>
<
string>Media File</string
>
</property>
</property>
<item>
<widget class="QWidget" name="" >
<widget class="QGroupBox" name="fileGroupBox" >
<property name="geometry" >
<property name="title" >
<rect>
<string>Media File</string>
<x>11</x>
<y>28</y>
<width>371</width>
<height>29</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
</property>
<layout class="QHBoxLayout" >
<property name="spacing" >
<property name="margin" >
<number>6</number>
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="fileOpenLabel" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Open:</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>16</width>
<height>51</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QComboBox" name="fileInput" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable" >
<bool>true</bool>
</property>
<property name="maxVisibleItems" >
<number>7</number>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>16</width>
<height>51</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fileBrowseButton" >
<property name="text" >
<string>Browse</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="subGroupBox" >
<property name="title" >
<string>Subtitles</string>
</property>
</property>
<property name="checkable" >
<item>
<bool>true</bool>
<widget class="QComboBox" name="fileInput" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable" >
<bool>true</bool>
</property>
<property name="maxVisibleItems" >
<number>7</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fileBrowseButton" >
<property name="text" >
<string>Browse</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="subGroupBox" >
<property name="geometry" >
<rect>
<x>10</x>
<y>80</y>
<width>397</width>
<height>103</height>
</rect>
</property>
<property name="title" >
<string>Subtitles</string>
</property>
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<widget class="QWidget" name="layoutWidget" >
<property name="geometry" >
<rect>
<x>10</x>
<y>20</y>
<width>371</width>
<height>29</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
</property>
<property name="
checked
" >
<property name="
spacing
" >
<
bool>false</bool
>
<
number>6</number
>
</property>
</property>
<layout class="QVBoxLayout" >
<item>
<property name="margin" >
<widget class="QComboBox" name="subInput" >
<number>9</number>
<property name="sizePolicy" >
</property>
<sizepolicy>
<property name="spacing" >
<hsizetype>7</hsizetype>
<number>6</number>
<vsizetype>0</vsizetype>
</property>
<horstretch>0</horstretch>
<item>
<verstretch>0</verstretch>
<layout class="QHBoxLayout" >
</sizepolicy>
<property name="margin" >
</property>
<number>0</number>
<property name="editable" >
</property>
<bool>true</bool>
<property name="spacing" >
</property>
<number>6</number>
</widget>
</property>
</item>
<item>
<item>
<widget class="QLabel" name="subOpenLabel" >
<widget class="QPushButton" name="subBrowseButton" >
<property name="text" >
<property name="text" >
<string>Open:</string>
<string>Browse</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
</layout>
<spacer>
</widget>
<property name="orientation" >
<widget class="QWidget" name="" >
<enum>Qt::Horizontal</enum>
<property name="geometry" >
</property>
<rect>
<property name="sizeType" >
<x>10</x>
<enum>QSizePolicy::Minimum</enum>
<y>60</y>
</property>
<width>371</width>
<property name="sizeHint" >
<height>28</height>
<size>
</rect>
<width>16</width>
</property>
<height>51</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QComboBox" name="subInput" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" >
<size>
<width>16</width>
<height>51</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="subBrowseButton" >
<property name="text" >
<string>Browse</string>
</property>
</widget>
</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="sizeSubLabel" >
<property name="text" >
<string>Size:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="sizeSubComboBox" >
<item>
<property name="text" >
<string>Very Small</string>
</property>
</item>
<item>
<property name="text" >
<string>Small</string>
</property>
</item>
<item>
<property name="text" >
<string>Normal</string>
</property>
</item>
<item>
<property name="text" >
<string>Big</string>
</property>
</item>
<item>
<property name="text" >
<string>Very Big</string>
</property>
</item>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>16</width>
<height>28</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="alignSubLabel" >
<property name="text" >
<string>Alignment:</string>
</property>
<property name="buddy" >
<cstring>alignSubLabel</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="alignSubComboBox" >
<property name="currentIndex" >
<number>0</number>
</property>
<property name="insertPolicy" >
<enum>QComboBox::NoInsert</enum>
</property>
<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>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>16</width>
<height>28</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="optionsSubButton" >
<property name="text" >
<string>Options</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<layout class="QHBoxLayout" >
<property name="margin" >
<property name="margin" >
<number>0</number>
<number>0</number>
...
@@ -325,12 +152,47 @@
...
@@ -325,12 +152,47 @@
<number>6</number>
<number>6</number>
</property>
</property>
<item>
<item>
<widget class="Q
PushButton" name="extraAudioButton
" >
<widget class="Q
Label" name="sizeSubLabel
" >
<property name="text" >
<property name="text" >
<string>
Extra Audio...
</string>
<string>
Size:
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<widget class="QComboBox" name="sizeSubComboBox" >
<property name="minimumSize" >
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<item>
<property name="text" >
<string>Very Small</string>
</property>
</item>
<item>
<property name="text" >
<string>Small</string>
</property>
</item>
<item>
<property name="text" >
<string>Normal</string>
</property>
</item>
<item>
<property name="text" >
<string>Big</string>
</property>
</item>
<item>
<property name="text" >
<string>Very Big</string>
</property>
</item>
</widget>
</item>
<item>
<item>
<spacer>
<spacer>
<property name="orientation" >
<property name="orientation" >
...
@@ -344,107 +206,112 @@
...
@@ -344,107 +206,112 @@
</property>
</property>
</spacer>
</spacer>
</item>
</item>
</layout>
<item>
</item>
<widget class="QLabel" name="alignSubLabel" >
<item>
<property name="text" >
<widget class="QGroupBox" name="audioGroupBox" >
<string>Alignment:</string>
<property name="enabled" >
</property>
<bool>true</bool>
<property name="buddy" >
</property>
<cstring>alignSubLabel</cstring>
<property name="title" >
</property>
<string>Extra Audio File</string>
</widget>
</property>
</item>
<property name="checkable" >
<item>
<bool>true</bool>
<widget class="QComboBox" name="alignSubComboBox" >
</property>
<property name="minimumSize" >
<property name="checked" >
<size>
<bool>false</bool>
<width>80</width>
</property>
<height>0</height>
<layout class="QHBoxLayout" >
</size>
<property name="margin" >
</property>
<number>9</number>
<property name="currentIndex" >
</property>
<number>0</number>
<property name="spacing" >
</property>
<number>6</number>
<property name="insertPolicy" >
</property>
<enum>QComboBox::NoInsert</enum>
<item>
</property>
<widget class="QLabel" name="audioOpenLabel" >
<property name="minimumContentsLength" >
<number>0</number>
</property>
<item>
<property name="text" >
<property name="text" >
<string>Open:</string>
<string>Left</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="sizeType" >
</item>
<enum>QSizePolicy::Minimum</enum>
<item>
</property>
<property name="text" >
<property name="sizeHint" >
<string>Center</string>
<size>
<width>16</width>
<height>51</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QComboBox" name="audioFileInput" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" >
<size>
<width>16</width>
<height>51</height>
</size>
</property>
</property>
</spacer>
</item>
</item>
<item>
<item>
<widget class="QPushButton" name="audioBrowseButton" >
<property name="text" >
<property name="text" >
<string>
Browse
</string>
<string>
Right
</string>
</property>
</property>
</widget>
</item>
</item>
</widget>
</layout>
</item>
</widget>
</layout>
</item>
</widget>
<item>
</widget>
<spacer>
<widget class="QGroupBox" name="audioGroupBox" >
<property name="orientation" >
<property name="geometry" >
<enum>Qt::Vertical</enum>
<rect>
<x>10</x>
<y>190</y>
<width>397</width>
<height>61</height>
</rect>
</property>
<property name="title" >
<string>Extra Audio File</string>
</property>
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<widget class="QWidget" name="" >
<property name="geometry" >
<rect>
<x>10</x>
<y>20</y>
<width>371</width>
<height>29</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
</property>
<property name="sizeHint" >
<property name="spacing" >
<size>
<number>6</number>
<width>20</width>
<height>40</height>
</size>
</property>
</property>
</spacer>
<item>
</item>
<widget class="QComboBox" name="audioFileInput" >
</layout>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="audioBrowseButton" >
<property name="text" >
<string>Browse</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
</widget>
<resources/>
<resources/>
<connections/>
<connections/>
...
...
modules/gui/qt4/ui/open_net.ui
View file @
5364ae67
<ui version="4.0" >
<ui version="4.0" >
<author>Jean-Baptiste Kempf</author>
<author>Jean-Baptiste Kempf</author>
<class>OpenNet</class>
<class>OpenNet
work
</class>
<widget class="QWidget" name="OpenNetwork" >
<widget class="QWidget" name="OpenNetwork" >
<property name="geometry" >
<property name="geometry" >
<rect>
<rect>
<x>0</x>
<x>0</x>
<y>0</y>
<y>0</y>
<width>
600
</width>
<width>
418
</width>
<height>350</height>
<height>350</height>
</rect>
</rect>
</property>
</property>
<property name="windowTitle" >
<property name="windowTitle" >
<string>Form</string>
<string>Form</string>
</property>
</property>
<widget class="Q
Widget" native="1" name="gridLayout_2
" >
<widget class="Q
GroupBox" name="groupBox
" >
<property name="geometry" >
<property name="geometry" >
<rect>
<rect>
<x>10</x>
<x>10</x>
<y>
1
0</y>
<y>
9
0</y>
<width>
572
</width>
<width>
391
</width>
<height>
328
</height>
<height>
61
</height>
</rect>
</rect>
</property>
</property>
<layout class="QGridLayout" >
<property name="title" >
<string>Options</string>
</property>
<widget class="QWidget" name="layoutWidget" >
<property name="geometry" >
<rect>
<x>10</x>
<y>20</y>
<width>361</width>
<height>33</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="label_3" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>_("Port") :</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox" >
<property name="minimumSize" >
<size>
<width>80</width>
<height>0</height>
</size>
</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>
<widget class="QCheckBox" name="checkBox_3" >
<property name="text" >
<string>force IPv6</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_2" >
<property name="text" >
<string>localhost</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QRadioButton" name="radioButton" >
<property name="geometry" >
<rect>
<x>10</x>
<y>0</y>
<width>101</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>UDP/RTP</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
<widget class="QRadioButton" name="radioButton_3" >
<property name="geometry" >
<rect>
<x>60</x>
<y>160</y>
<width>154</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>HTTP/HTTPS/FTP/MMS</string>
</property>
</widget>
<widget class="QRadioButton" name="radioButton_4" >
<property name="geometry" >
<rect>
<x>10</x>
<y>160</y>
<width>45</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>RTP</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_2" >
<property name="geometry" >
<rect>
<x>10</x>
<y>180</y>
<width>391</width>
<height>69</height>
</rect>
</property>
<property name="title" >
<string>_("URL")</string>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<property name="margin" >
<number>
0
</number>
<number>
9
</number>
</property>
</property>
<property name="spacing" >
<property name="spacing" >
<number>6</number>
<number>6</number>
</property>
</property>
<item row="0" column="0" >
<item>
<widget class="QRadioButton" name="radioButton" >
<widget class="QLineEdit" name="lineEdit_2" />
<property name="text" >
<string>UDP/RTP</string>
</property>
</widget>
</item>
<item row="5" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" >
<widget class="QRadioButton" name="radioButton_3" >
<property name="text" >
<string>HTTP/HTTPS/FTP/MMS</string>
</property>
</widget>
</item>
<item row="8" column="2" colspan="3" >
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>_("URL") :</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="lineEdit_3" />
</item>
<item row="0" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="7" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="6" column="1" colspan="4" >
<widget class="Line" name="line_3" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="4" column="2" colspan="3" >
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="lineEdit_2" />
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>_("URL") :</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="1" colspan="4" >
<widget class="Line" name="line_2" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="0" column="2" colspan="3" >
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="2" >
<widget class="QCheckBox" name="checkBox_2" >
<property name="text" >
<string>localhost</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>_("Port") :</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="spinBox" />
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="lineEdit" />
</item>
<item row="0" column="3" >
<widget class="QCheckBox" name="checkBox_3" >
<property name="text" >
<string>force IPv6</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>_("Address") :</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="8" column="0" colspan="2" >
<widget class="QRadioButton" name="radioButton_4" >
<property name="text" >
<string>RTP</string>
</property>
</widget>
</item>
</item>
<item row="9" column="2" >
</layout>
<spacer>
</widget>
<property name="orientation" >
<widget class="QGroupBox" name="groupBox_3" >
<enum>Qt::Vertical</enum>
<property name="geometry" >
</property>
<rect>
<property name="sizeType" >
<x>10</x>
<enum>QSizePolicy::Minimum</enum>
<y>20</y>
</property>
<width>391</width>
<property name="sizeHint" >
<height>69</height>
<size>
</rect>
<width>20</width>
</property>
<height>10</height>
<property name="title" >
</size>
<string>_("Address")</string>
</property>
</property>
</spacer>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLineEdit" name="lineEdit" />
</item>
</item>
</layout>
</layout>
</widget>
</widget>
</widget>
</widget>
<includes/>
<resources/>
<resources/>
<connections/>
<connections/>
</ui>
</ui>
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