qfedu-qt-level/qtdemo03/form6.ui

271 lines
6.7 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form6</class>
<widget class="QWidget" name="Form6">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>670</width>
<height>480</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>学号: </string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="sidEdit">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>姓名: </string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="nameEdit"/>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>性别: </string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="sexBox">
<item>
<property name="text">
<string>男</string>
</property>
</item>
<item>
<property name="text">
<string>女</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>年龄: </string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="ageEdit"/>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QTableWidget" name="tableWidget">
<row>
<property name="text">
<string>1</string>
</property>
</row>
<row>
<property name="text">
<string>2</string>
</property>
</row>
<row>
<property name="text">
<string>3</string>
</property>
</row>
<column>
<property name="text">
<string>学号</string>
</property>
</column>
<column>
<property name="text">
<string>姓名</string>
</property>
</column>
<column>
<property name="text">
<string>性别</string>
</property>
</column>
<column>
<property name="text">
<string>年龄</string>
</property>
</column>
<item row="0" column="0">
<property name="text">
<string>1001</string>
</property>
</item>
<item row="0" column="1">
<property name="text">
<string>张三</string>
</property>
</item>
<item row="0" column="2">
<property name="text">
<string>男</string>
</property>
</item>
<item row="0" column="3">
<property name="text">
<string>20</string>
</property>
</item>
<item row="1" column="0">
<property name="text">
<string>1002</string>
</property>
</item>
<item row="1" column="1">
<property name="text">
<string>李四</string>
</property>
</item>
<item row="1" column="2">
<property name="text">
<string>女</string>
</property>
</item>
<item row="1" column="3">
<property name="text">
<string>23</string>
</property>
</item>
<item row="2" column="0">
<property name="text">
<string>1003</string>
</property>
</item>
<item row="2" column="1">
<property name="text">
<string>王五</string>
</property>
</item>
<item row="2" column="2">
<property name="text">
<string>男</string>
</property>
</item>
<item row="2" column="3">
<property name="text">
<string>20</string>
</property>
</item>
</widget>
</item>
<item row="1" column="1">
<widget class="QWidget" name="widget_2" native="true">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="addBtn">
<property name="text">
<string>PushButton</string>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/icons/images/add.png</normaloff>:/icons/images/add.png</iconset>
</property>
<property name="iconSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="getBtn">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/icons/images/open.png</normaloff>:/icons/images/open.png</iconset>
</property>
<property name="iconSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="delBtn">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/images/images/cleanport.png</normaloff>:/images/images/cleanport.png</iconset>
</property>
<property name="iconSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="res.qrc"/>
</resources>
<connections/>
</ui>