citra_qt/record_dialog: Switch to QFormLayout

This commit is contained in:
zhupengfei 2019-08-29 00:03:56 +08:00
parent 42cefdbff0
commit 3d14abeb41
No known key found for this signature in database
GPG key ID: DD129E108BD09378

View file

@ -21,53 +21,43 @@
<property name="title"> <property name="title">
<string>Client</string> <string>Client</string>
</property> </property>
<layout class="QVBoxLayout"> <layout class="QFormLayout">
<item> <item row="0" column="0">
<layout class="QHBoxLayout">
<item>
<widget class="QLabel"> <widget class="QLabel">
<property name="text"> <property name="text">
<string>Process:</string> <string>Process:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1">
<widget class="QLineEdit" name="clientProcess"> <widget class="QLineEdit" name="clientProcess">
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="1" column="0">
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel"> <widget class="QLabel">
<property name="text"> <property name="text">
<string>Thread:</string> <string>Thread:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="1">
<widget class="QLineEdit" name="clientThread"> <widget class="QLineEdit" name="clientThread">
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="2" column="0">
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel"> <widget class="QLabel">
<property name="text"> <property name="text">
<string>Session:</string> <string>Session:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="1">
<widget class="QLineEdit" name="clientSession"> <widget class="QLineEdit" name="clientSession">
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
@ -75,8 +65,6 @@
</widget> </widget>
</item> </item>
</layout> </layout>
</item>
</layout>
</widget> </widget>
</item> </item>
<item> <item>
@ -84,53 +72,43 @@
<property name="title"> <property name="title">
<string>Server</string> <string>Server</string>
</property> </property>
<layout class="QVBoxLayout"> <layout class="QFormLayout">
<item> <item row="0" column="0">
<layout class="QHBoxLayout">
<item>
<widget class="QLabel"> <widget class="QLabel">
<property name="text"> <property name="text">
<string>Process:</string> <string>Process:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1">
<widget class="QLineEdit" name="serverProcess"> <widget class="QLineEdit" name="serverProcess">
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="1" column="0">
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel"> <widget class="QLabel">
<property name="text"> <property name="text">
<string>Thread:</string> <string>Thread:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="1">
<widget class="QLineEdit" name="serverThread"> <widget class="QLineEdit" name="serverThread">
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="2" column="0">
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel"> <widget class="QLabel">
<property name="text"> <property name="text">
<string>Session:</string> <string>Session:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="1">
<widget class="QLineEdit" name="serverSession"> <widget class="QLineEdit" name="serverSession">
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
@ -138,8 +116,6 @@
</widget> </widget>
</item> </item>
</layout> </layout>
</item>
</layout>
</widget> </widget>
</item> </item>
</layout> </layout>
@ -149,53 +125,43 @@
<property name="title"> <property name="title">
<string>General</string> <string>General</string>
</property> </property>
<layout class="QVBoxLayout"> <layout class="QFormLayout">
<item> <item row="0" column="0">
<layout class="QHBoxLayout">
<item>
<widget class="QLabel"> <widget class="QLabel">
<property name="text"> <property name="text">
<string>Client Port:</string> <string>Client Port:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1">
<widget class="QLineEdit" name="clientPort"> <widget class="QLineEdit" name="clientPort">
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="1" column="0">
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel"> <widget class="QLabel">
<property name="text"> <property name="text">
<string>Service:</string> <string>Service:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="1">
<widget class="QLineEdit" name="service"> <widget class="QLineEdit" name="service">
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="2" column="0">
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel"> <widget class="QLabel">
<property name="text"> <property name="text">
<string>Function:</string> <string>Function:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="1">
<widget class="QLineEdit" name="function"> <widget class="QLineEdit" name="function">
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
@ -203,8 +169,6 @@
</widget> </widget>
</item> </item>
</layout> </layout>
</item>
</layout>
</widget> </widget>
</item> </item>
<item> <item>