Commit 5364ae67 authored by Rafaël Carré's avatar Rafaël Carré

Simplification of Advanced Open

Control & Playback buttons have the same size
parent 32616498
...@@ -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( "");
......
...@@ -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::OpenNetwork 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
...@@ -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 );
......
...@@ -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.hboxLayout->insertWidget( 0, slider ); ui.vboxLayout->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, "" );
......
...@@ -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>35</width> <width>45</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>35</width> <width>45</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>35</width> <width>45</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>35</width> <width>45</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>40</width> <width>80</width>
<height>20</height> <height>27</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>
......
...@@ -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>
......
...@@ -6,42 +6,41 @@ ...@@ -6,42 +6,41 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>569</width> <width>448</width>
<height>214</height> <height>232</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QGroupBox" name="diskTypeGroupBox" > <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" > <property name="title" >
<string>Disc Type</string> <string>Disc Type</string>
</property> </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" > <layout class="QVBoxLayout" >
<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>
<widget class="QRadioButton" name="dvdRadioButton" >
<property name="text" >
<string>DVD</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" > <property name="margin" >
...@@ -51,20 +50,14 @@ ...@@ -51,20 +50,14 @@
<number>6</number> <number>6</number>
</property> </property>
<item> <item>
<spacer> <widget class="QRadioButton" name="dvdRadioButton" >
<property name="orientation" > <property name="text" >
<enum>Qt::Horizontal</enum> <string>DVD</string>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property> </property>
<property name="sizeHint" > <property name="checked" >
<size> <bool>true</bool>
<width>8</width>
<height>10</height>
</size>
</property> </property>
</spacer> </widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="menuDVDButton" > <widget class="QCheckBox" name="menuDVDButton" >
...@@ -76,19 +69,6 @@ ...@@ -76,19 +69,6 @@
</property> </property>
</widget> </widget>
</item> </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> </layout>
</item> </item>
<item> <item>
...@@ -105,24 +85,18 @@ ...@@ -105,24 +85,18 @@
</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> </layout>
</widget> </widget>
</item> </widget>
<item>
<widget class="QGroupBox" name="diskOptionGroupBox" > <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" > <property name="sizePolicy" >
<sizepolicy> <sizepolicy>
<hsizetype>5</hsizetype> <hsizetype>5</hsizetype>
...@@ -132,7 +106,7 @@ ...@@ -132,7 +106,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="title" > <property name="title" >
<string>Options</string> <string>Device</string>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" > <property name="margin" >
...@@ -149,13 +123,6 @@ ...@@ -149,13 +123,6 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item>
<widget class="QLabel" name="pathDiskLabel" >
<property name="text" >
<string>Path:</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QComboBox" name="diskBrowseLine" > <widget class="QComboBox" name="diskBrowseLine" >
<property name="sizePolicy" > <property name="sizePolicy" >
...@@ -180,115 +147,8 @@ ...@@ -180,115 +147,8 @@
</item> </item>
</layout> </layout>
</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>
<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>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;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:&lt;/p>&lt;/body>&lt;/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>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;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:&lt;/p>&lt;/body>&lt;/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>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;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:&lt;/p>&lt;/body>&lt;/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>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;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:&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="diskOptionBox4" />
</item>
</layout>
</item>
</layout> </layout>
</widget> </widget>
</item>
</layout>
</widget> </widget>
<resources/> <resources/>
<connections/> <connections/>
......
...@@ -6,63 +6,49 @@ ...@@ -6,63 +6,49 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>433</width> <width>415</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" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QGroupBox" name="fileGroupBox" > <widget class="QGroupBox" name="fileGroupBox" >
<property name="geometry" >
<rect>
<x>9</x>
<y>9</y>
<width>397</width>
<height>67</height>
</rect>
</property>
<property name="title" > <property name="title" >
<string>Media File</string> <string>Media File</string>
</property> </property>
<widget class="QWidget" name="" >
<property name="geometry" >
<rect>
<x>11</x>
<y>28</y>
<width>371</width>
<height>29</height>
</rect>
</property>
<layout class="QHBoxLayout" > <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>
<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> <item>
<widget class="QComboBox" name="fileInput" > <widget class="QComboBox" name="fileInput" >
<property name="sizePolicy" > <property name="sizePolicy" >
...@@ -81,22 +67,6 @@ ...@@ -81,22 +67,6 @@
</property> </property>
</widget> </widget>
</item> </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> <item>
<widget class="QPushButton" name="fileBrowseButton" > <widget class="QPushButton" name="fileBrowseButton" >
<property name="text" > <property name="text" >
...@@ -106,9 +76,16 @@ ...@@ -106,9 +76,16 @@
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </widget>
<item>
<widget class="QGroupBox" name="subGroupBox" > <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" > <property name="title" >
<string>Subtitles</string> <string>Subtitles</string>
</property> </property>
...@@ -118,14 +95,15 @@ ...@@ -118,14 +95,15 @@
<property name="checked" > <property name="checked" >
<bool>false</bool> <bool>false</bool>
</property> </property>
<layout class="QVBoxLayout" > <widget class="QWidget" name="layoutWidget" >
<property name="margin" > <property name="geometry" >
<number>9</number> <rect>
</property> <x>10</x>
<property name="spacing" > <y>20</y>
<number>6</number> <width>371</width>
<height>29</height>
</rect>
</property> </property>
<item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
...@@ -133,29 +111,6 @@ ...@@ -133,29 +111,6 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item>
<widget class="QLabel" name="subOpenLabel" >
<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> <item>
<widget class="QComboBox" name="subInput" > <widget class="QComboBox" name="subInput" >
<property name="sizePolicy" > <property name="sizePolicy" >
...@@ -171,22 +126,6 @@ ...@@ -171,22 +126,6 @@
</property> </property>
</widget> </widget>
</item> </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> <item>
<widget class="QPushButton" name="subBrowseButton" > <widget class="QPushButton" name="subBrowseButton" >
<property name="text" > <property name="text" >
...@@ -195,8 +134,16 @@ ...@@ -195,8 +134,16 @@
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </widget>
<item> <widget class="QWidget" name="" >
<property name="geometry" >
<rect>
<x>10</x>
<y>60</y>
<width>371</width>
<height>28</height>
</rect>
</property>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
...@@ -213,6 +160,12 @@ ...@@ -213,6 +160,12 @@
</item> </item>
<item> <item>
<widget class="QComboBox" name="sizeSubComboBox" > <widget class="QComboBox" name="sizeSubComboBox" >
<property name="minimumSize" >
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<item> <item>
<property name="text" > <property name="text" >
<string>Very Small</string> <string>Very Small</string>
...@@ -247,8 +200,8 @@ ...@@ -247,8 +200,8 @@
</property> </property>
<property name="sizeHint" > <property name="sizeHint" >
<size> <size>
<width>16</width> <width>40</width>
<height>28</height> <height>20</height>
</size> </size>
</property> </property>
</spacer> </spacer>
...@@ -265,6 +218,12 @@ ...@@ -265,6 +218,12 @@
</item> </item>
<item> <item>
<widget class="QComboBox" name="alignSubComboBox" > <widget class="QComboBox" name="alignSubComboBox" >
<property name="minimumSize" >
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="currentIndex" > <property name="currentIndex" >
<number>0</number> <number>0</number>
</property> </property>
...@@ -291,65 +250,17 @@ ...@@ -291,65 +250,17 @@
</item> </item>
</widget> </widget>
</item> </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> </layout>
</widget> </widget>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="extraAudioButton" >
<property name="text" >
<string>Extra Audio...</string>
</property>
</widget> </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="QGroupBox" name="audioGroupBox" > <widget class="QGroupBox" name="audioGroupBox" >
<property name="enabled" > <property name="geometry" >
<bool>true</bool> <rect>
<x>10</x>
<y>190</y>
<width>397</width>
<height>61</height>
</rect>
</property> </property>
<property name="title" > <property name="title" >
<string>Extra Audio File</string> <string>Extra Audio File</string>
...@@ -360,36 +271,22 @@ ...@@ -360,36 +271,22 @@
<property name="checked" > <property name="checked" >
<bool>false</bool> <bool>false</bool>
</property> </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" > <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>
<widget class="QLabel" name="audioOpenLabel" >
<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> <item>
<widget class="QComboBox" name="audioFileInput" > <widget class="QComboBox" name="audioFileInput" >
<property name="sizePolicy" > <property name="sizePolicy" >
...@@ -405,22 +302,6 @@ ...@@ -405,22 +302,6 @@
</property> </property>
</widget> </widget>
</item> </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> <item>
<widget class="QPushButton" name="audioBrowseButton" > <widget class="QPushButton" name="audioBrowseButton" >
<property name="text" > <property name="text" >
...@@ -430,21 +311,7 @@ ...@@ -430,21 +311,7 @@
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </widget>
<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> </widget>
<resources/> <resources/>
<connections/> <connections/>
......
<ui version="4.0" > <ui version="4.0" >
<author>Jean-Baptiste Kempf</author> <author>Jean-Baptiste Kempf</author>
<class>OpenNet</class> <class>OpenNetwork</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="QWidget" native="1" name="gridLayout_2" > <widget class="QGroupBox" name="groupBox" >
<property name="geometry" > <property name="geometry" >
<rect> <rect>
<x>10</x> <x>10</x>
<y>10</y> <y>90</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" > <property name="margin" >
<number>0</number> <number>0</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" > <layout class="QHBoxLayout" >
<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" > <property name="margin" >
<number>0</number> <number>0</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="QLabel" name="label_4" > <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" > <property name="text" >
<string>_("URL") :</string> <string>_("Port") :</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" > <item>
<widget class="QLineEdit" name="lineEdit_3" /> <widget class="QSpinBox" name="spinBox" >
</item> <property name="minimumSize" >
<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> <size>
<width>20</width> <width>80</width>
<height>10</height> <height>0</height>
</size> </size>
</property> </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> </widget>
</item> </item>
<item row="4" column="2" colspan="3" > <item>
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="2" >
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" > <property name="sizeHint" >
<size> <size>
<width>40</width> <width>40</width>
...@@ -158,128 +87,116 @@ ...@@ -158,128 +87,116 @@
</property> </property>
</spacer> </spacer>
</item> </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> </layout>
</item> </item>
<item row="2" column="1" colspan="4" > <item>
<widget class="Line" name="line_2" > <widget class="QCheckBox" name="checkBox_3" >
<property name="orientation" > <property name="text" >
<enum>Qt::Horizontal</enum> <string>force IPv6</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" colspan="3" > <item>
<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" > <widget class="QCheckBox" name="checkBox_2" >
<property name="text" > <property name="text" >
<string>localhost</string> <string>localhost</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > </layout>
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>_("Port") :</string>
</property>
</widget> </widget>
</item> </widget>
<item row="1" column="1" > <widget class="QRadioButton" name="radioButton" >
<widget class="QSpinBox" name="spinBox" /> <property name="geometry" >
</item> <rect>
<item row="0" column="1" > <x>10</x>
<widget class="QLineEdit" name="lineEdit" /> <y>0</y>
</item> <width>101</width>
<item row="0" column="3" > <height>23</height>
<widget class="QCheckBox" name="checkBox_3" > </rect>
</property>
<property name="text" > <property name="text" >
<string>force IPv6</string> <string>UDP/RTP</string>
</property>
<property name="checked" >
<bool>true</bool>
</property> </property>
</widget> </widget>
</item> <widget class="QRadioButton" name="radioButton_3" >
<item row="0" column="0" > <property name="geometry" >
<widget class="QLabel" name="label" > <rect>
<x>60</x>
<y>160</y>
<width>154</width>
<height>23</height>
</rect>
</property>
<property name="text" > <property name="text" >
<string>_("Address") :</string> <string>HTTP/HTTPS/FTP/MMS</string>
</property> </property>
</widget> </widget>
</item> <widget class="QRadioButton" name="radioButton_4" >
</layout> <property name="geometry" >
</item> <rect>
<item row="3" column="2" > <x>10</x>
<spacer> <y>160</y>
<property name="orientation" > <width>45</width>
<enum>Qt::Vertical</enum> <height>23</height>
</rect>
</property> </property>
<property name="sizeType" > <property name="text" >
<enum>QSizePolicy::Minimum</enum> <string>RTP</string>
</property> </property>
<property name="sizeHint" > </widget>
<size> <widget class="QGroupBox" name="groupBox_2" >
<width>20</width> <property name="geometry" >
<height>10</height> <rect>
</size> <x>10</x>
<y>180</y>
<width>391</width>
<height>69</height>
</rect>
</property> </property>
</spacer> <property name="title" >
</item> <string>_("URL")</string>
<item row="1" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeType" > <layout class="QHBoxLayout" >
<enum>QSizePolicy::Minimum</enum> <property name="margin" >
<number>9</number>
</property> </property>
<property name="sizeHint" > <property name="spacing" >
<size> <number>6</number>
<width>20</width>
<height>10</height>
</size>
</property> </property>
</spacer> <item>
<widget class="QLineEdit" name="lineEdit_2" />
</item> </item>
<item row="8" column="0" colspan="2" > </layout>
<widget class="QRadioButton" name="radioButton_4" >
<property name="text" >
<string>RTP</string>
</property>
</widget> </widget>
</item> <widget class="QGroupBox" name="groupBox_3" >
<item row="9" column="2" > <property name="geometry" >
<spacer> <rect>
<property name="orientation" > <x>10</x>
<enum>Qt::Vertical</enum> <y>20</y>
<width>391</width>
<height>69</height>
</rect>
</property> </property>
<property name="sizeType" > <property name="title" >
<enum>QSizePolicy::Minimum</enum> <string>_("Address")</string>
</property> </property>
<property name="sizeHint" > <layout class="QHBoxLayout" >
<size> <property name="margin" >
<width>20</width> <number>9</number>
<height>10</height>
</size>
</property> </property>
</spacer> <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>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment