qfedu-qt-level/qtdemo03/form4.ui

123 lines
3.1 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form4</class>
<widget class="QWidget" name="Form4">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>640</width>
<height>480</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QWidget" name="widget_2" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">
<widget class="QComboBox" name="cityBox">
<item>
<property name="text">
<string/>
</property>
</item>
<item>
<property name="text">
<string>北京</string>
</property>
</item>
<item>
<property name="text">
<string>上海</string>
</property>
</item>
<item>
<property name="text">
<string>陕西</string>
</property>
</item>
<item>
<property name="text">
<string>甘肃</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>家乡: </string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>性别: </string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="sexBox">
<item>
<property name="text">
<string/>
</property>
</item>
<item>
<property name="text">
<string>男</string>
</property>
</item>
<item>
<property name="text">
<string>女</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>339</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="okBtn">
<property name="text">
<string>提交</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="result">
<property name="text">
<string>结果:</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>