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,60 +21,48 @@
<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"> <widget class="QLabel">
<item> <property name="text">
<widget class="QLabel"> <string>Process:</string>
<property name="text"> </property>
<string>Process:</string> </widget>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="clientProcess">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="0" column="1">
<layout class="QHBoxLayout"> <widget class="QLineEdit" name="clientProcess">
<item> <property name="readOnly">
<widget class="QLabel"> <bool>true</bool>
<property name="text"> </property>
<string>Thread:</string> </widget>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="clientThread">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="1" column="0">
<layout class="QHBoxLayout"> <widget class="QLabel">
<item> <property name="text">
<widget class="QLabel"> <string>Thread:</string>
<property name="text"> </property>
<string>Session:</string> </widget>
</property> </item>
</widget> <item row="1" column="1">
</item> <widget class="QLineEdit" name="clientThread">
<item> <property name="readOnly">
<widget class="QLineEdit" name="clientSession"> <bool>true</bool>
<property name="readOnly"> </property>
<bool>true</bool> </widget>
</property> </item>
</widget> <item row="2" column="0">
</item> <widget class="QLabel">
</layout> <property name="text">
<string>Session:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="clientSession">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -84,60 +72,48 @@
<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"> <widget class="QLabel">
<item> <property name="text">
<widget class="QLabel"> <string>Process:</string>
<property name="text"> </property>
<string>Process:</string> </widget>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="serverProcess">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="0" column="1">
<layout class="QHBoxLayout"> <widget class="QLineEdit" name="serverProcess">
<item> <property name="readOnly">
<widget class="QLabel"> <bool>true</bool>
<property name="text"> </property>
<string>Thread:</string> </widget>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="serverThread">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="1" column="0">
<layout class="QHBoxLayout"> <widget class="QLabel">
<item> <property name="text">
<widget class="QLabel"> <string>Thread:</string>
<property name="text"> </property>
<string>Session:</string> </widget>
</property> </item>
</widget> <item row="1" column="1">
</item> <widget class="QLineEdit" name="serverThread">
<item> <property name="readOnly">
<widget class="QLineEdit" name="serverSession"> <bool>true</bool>
<property name="readOnly"> </property>
<bool>true</bool> </widget>
</property> </item>
</widget> <item row="2" column="0">
</item> <widget class="QLabel">
</layout> <property name="text">
<string>Session:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="serverSession">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -149,60 +125,48 @@
<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"> <widget class="QLabel">
<item> <property name="text">
<widget class="QLabel"> <string>Client Port:</string>
<property name="text"> </property>
<string>Client Port:</string> </widget>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="clientPort">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="0" column="1">
<layout class="QHBoxLayout"> <widget class="QLineEdit" name="clientPort">
<item> <property name="readOnly">
<widget class="QLabel"> <bool>true</bool>
<property name="text"> </property>
<string>Service:</string> </widget>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="service">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="1" column="0">
<layout class="QHBoxLayout"> <widget class="QLabel">
<item> <property name="text">
<widget class="QLabel"> <string>Service:</string>
<property name="text"> </property>
<string>Function:</string> </widget>
</property> </item>
</widget> <item row="1" column="1">
</item> <widget class="QLineEdit" name="service">
<item> <property name="readOnly">
<widget class="QLineEdit" name="function"> <bool>true</bool>
<property name="readOnly"> </property>
<bool>true</bool> </widget>
</property> </item>
</widget> <item row="2" column="0">
</item> <widget class="QLabel">
</layout> <property name="text">
<string>Function:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="function">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>