Commit deb83e3b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: Back on open dialog: rewrite the UIs to have consistent forms on resize.

May need a few more vertical spacer, after the last tab (Capture) will be added.
parent 63f55615
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>448</width> <width>487</width>
<height>275</height> <height>254</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
...@@ -25,60 +25,50 @@ ...@@ -25,60 +25,50 @@
<property name="title" > <property name="title" >
<string>Disc selection</string> <string>Disc selection</string>
</property> </property>
<layout class="QHBoxLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item> <item row="1" column="0" >
<layout class="QGridLayout" > <widget class="QLabel" name="label" >
<property name="margin" > <property name="text" >
<number>0</number> <string>Disk device</string>
</property> </property>
<property name="spacing" > </widget>
<number>6</number> </item>
</property> <item row="0" column="1" >
<item row="0" column="1" > <widget class="QRadioButton" name="vcdRadioButton" >
<widget class="QRadioButton" name="vcdRadioButton" > <property name="text" >
<property name="text" > <string>SVCD/VCD</string>
<string>SVCD/VCD</string> </property>
</property> </widget>
</widget> </item>
</item> <item row="1" column="1" colspan="2" >
<item row="0" column="0" > <widget class="QComboBox" name="deviceCombo" >
<widget class="QRadioButton" name="dvdRadioButton" > <property name="editable" >
<property name="text" > <bool>true</bool>
<string>DVD</string> </property>
</property> </widget>
<property name="checked" > </item>
<bool>true</bool> <item row="0" column="2" >
</property> <widget class="QRadioButton" name="audioCDRadioButton" >
</widget> <property name="text" >
</item> <string>Audio CD</string>
<item row="0" column="2" > </property>
<widget class="QRadioButton" name="audioCDRadioButton" > </widget>
<property name="text" > </item>
<string>Audio CD</string> <item row="0" column="0" >
</property> <widget class="QRadioButton" name="dvdRadioButton" >
</widget> <property name="text" >
</item> <string>DVD</string>
<item row="1" column="0" > </property>
<widget class="QLabel" name="label" > <property name="checked" >
<property name="text" > <bool>true</bool>
<string>Disk device</string> </property>
</property> </widget>
</widget>
</item>
<item row="1" column="1" colspan="2" >
<widget class="QComboBox" name="deviceCombo" >
<property name="editable" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item> </item>
</layout> </layout>
</widget> </widget>
...@@ -96,72 +86,75 @@ ...@@ -96,72 +86,75 @@
<property name="title" > <property name="title" >
<string>Starting position</string> <string>Starting position</string>
</property> </property>
<layout class="QHBoxLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item> <item row="1" column="0" >
<layout class="QGridLayout" > <widget class="QLabel" name="label_3" >
<property name="margin" > <property name="text" >
<number>0</number> <string>Chapter</string>
</property> </property>
<property name="spacing" > </widget>
<number>6</number> </item>
</property> <item row="1" column="1" >
<item row="0" column="1" > <widget class="QSpinBox" name="chapterSpin" >
<widget class="QSpinBox" name="titleSpin" > <property name="suffix" >
<property name="autoFillBackground" > <string/>
<bool>false</bool> </property>
</property> <property name="prefix" >
<property name="suffix" > <string/>
<string/> </property>
</property> <property name="minimum" >
<property name="minimum" > <number>-1</number>
<number>-1</number> </property>
</property> <property name="value" >
<property name="value" > <number>-1</number>
<number>-1</number> </property>
</property> </widget>
</widget> </item>
</item> <item row="0" column="0" >
<item row="0" column="0" > <widget class="QLabel" name="label_2" >
<widget class="QLabel" name="label_2" > <property name="text" >
<property name="text" > <string>Title</string>
<string>Title</string> </property>
</property> </widget>
</widget> </item>
</item> <item row="0" column="1" >
<item row="1" column="0" > <widget class="QSpinBox" name="titleSpin" >
<widget class="QLabel" name="label_3" > <property name="autoFillBackground" >
<property name="text" > <bool>false</bool>
<string>Chapter</string> </property>
</property> <property name="suffix" >
</widget> <string/>
</item> </property>
<item row="1" column="1" > <property name="minimum" >
<widget class="QSpinBox" name="chapterSpin" > <number>-1</number>
<property name="suffix" > </property>
<string/> <property name="value" >
</property> <number>-1</number>
<property name="prefix" > </property>
<string/> </widget>
</property>
<property name="minimum" >
<number>-1</number>
</property>
<property name="value" >
<number>-1</number>
</property>
</widget>
</item>
</layout>
</item> </item>
</layout> </layout>
</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>
<resources/> <resources/>
......
This diff is collapsed.
...@@ -6,76 +6,79 @@ ...@@ -6,76 +6,79 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>445</width> <width>487</width>
<height>217</height> <height>165</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item> <item row="3" column="1" >
<layout class="QGridLayout" > <spacer>
<property name="margin" > <property name="orientation" >
<number>0</number> <enum>Qt::Vertical</enum>
</property> </property>
<property name="spacing" > <property name="sizeHint" >
<number>6</number> <size>
<width>20</width>
<height>40</height>
</size>
</property> </property>
<item row="1" column="0" > </spacer>
<widget class="QComboBox" name="protocolCombo" />
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Protocol</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLabel" name="label_2" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Address</string>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Port</string>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QSpinBox" name="portSpin" >
<property name="maximum" >
<number>65535</number>
</property>
<property name="value" >
<number>1234</number>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="addressText" />
</item>
</layout>
</item> </item>
<item> <item row="1" column="0" >
<widget class="QComboBox" name="protocolCombo" />
</item>
<item row="0" column="1" >
<widget class="QLabel" name="label_2" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Address</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="addressText" />
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Port</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Protocol</string>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QSpinBox" name="portSpin" >
<property name="maximum" >
<number>65535</number>
</property>
<property name="value" >
<number>1234</number>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3" >
<widget class="QGroupBox" name="groupBox_3" > <widget class="QGroupBox" name="groupBox_3" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy> <sizepolicy>
......
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