⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addstudentform.ui

📁 学生管理系统 使用Qt写的界面 交互性好
💻 UI
字号:
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>Form2</class>
<widget class="QDialog">
    <property name="name">
        <cstring>Form2</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>400</width>
            <height>193</height>
        </rect>
    </property>
    <property name="caption">
        <string>ADD</string>
    </property>
    <property name="icon">
        <pixmap>ADD.png</pixmap>
    </property>
    <widget class="QLabel">
        <property name="name">
            <cstring>textLabel3</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>30</x>
                <y>80</y>
                <width>63</width>
                <height>20</height>
            </rect>
        </property>
        <property name="font">
            <font>
                <pointsize>11</pointsize>
            </font>
        </property>
        <property name="text">
            <string>age</string>
        </property>
    </widget>
    <widget class="QLabel">
        <property name="name">
            <cstring>textLabel4</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>30</x>
                <y>110</y>
                <width>63</width>
                <height>20</height>
            </rect>
        </property>
        <property name="font">
            <font>
                <pointsize>11</pointsize>
            </font>
        </property>
        <property name="text">
            <string>sex</string>
        </property>
    </widget>
    <widget class="QPushButton">
        <property name="name">
            <cstring>pushButton18</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>290</x>
                <y>150</y>
                <width>92</width>
                <height>27</height>
            </rect>
        </property>
        <property name="text">
            <string>Cancel</string>
        </property>
    </widget>
    <widget class="QLabel">
        <property name="name">
            <cstring>textLabel1</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>30</x>
                <y>20</y>
                <width>63</width>
                <height>20</height>
            </rect>
        </property>
        <property name="font">
            <font>
                <pointsize>11</pointsize>
            </font>
        </property>
        <property name="text">
            <string>NAME</string>
        </property>
    </widget>
    <widget class="QLineEdit">
        <property name="name">
            <cstring>lineEdit1</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>130</x>
                <y>20</y>
                <width>250</width>
                <height>21</height>
            </rect>
        </property>
        <property name="frameShape">
            <enum>LineEditPanel</enum>
        </property>
        <property name="frameShadow">
            <enum>Sunken</enum>
        </property>
    </widget>
    <widget class="QLineEdit">
        <property name="name">
            <cstring>lineEdit2</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>130</x>
                <y>50</y>
                <width>250</width>
                <height>21</height>
            </rect>
        </property>
    </widget>
    <widget class="QLineEdit">
        <property name="name">
            <cstring>lineEdit3</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>130</x>
                <y>80</y>
                <width>250</width>
                <height>21</height>
            </rect>
        </property>
    </widget>
    <widget class="QComboBox">
        <item>
            <property name="text">
                <string>Male</string>
            </property>
        </item>
        <item>
            <property name="text">
                <string>Female</string>
            </property>
        </item>
        <property name="name">
            <cstring>comboBox1</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>130</x>
                <y>110</y>
                <width>85</width>
                <height>21</height>
            </rect>
        </property>
    </widget>
    <widget class="QPushButton">
        <property name="name">
            <cstring>pushButton17</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>90</x>
                <y>150</y>
                <width>92</width>
                <height>27</height>
            </rect>
        </property>
        <property name="text">
            <string>ADD</string>
        </property>
    </widget>
    <widget class="QPushButton">
        <property name="name">
            <cstring>pushButton88</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>190</x>
                <y>150</y>
                <width>92</width>
                <height>27</height>
            </rect>
        </property>
        <property name="text">
            <string>Modify</string>
        </property>
    </widget>
    <widget class="QLabel">
        <property name="name">
            <cstring>textLabel2</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>30</x>
                <y>50</y>
                <width>63</width>
                <height>20</height>
            </rect>
        </property>
        <property name="font">
            <font>
                <pointsize>11</pointsize>
            </font>
        </property>
        <property name="text">
            <string>ID</string>
        </property>
    </widget>
</widget>
<connections>
    <connection>
        <sender>pushButton18</sender>
        <signal>clicked()</signal>
        <receiver>Form2</receiver>
        <slot>close()</slot>
    </connection>
    <connection>
        <sender>pushButton17</sender>
        <signal>clicked()</signal>
        <receiver>Form2</receiver>
        <slot>Add()</slot>
    </connection>
    <connection>
        <sender>pushButton88</sender>
        <signal>clicked()</signal>
        <receiver>Form2</receiver>
        <slot>Add()</slot>
    </connection>
</connections>
<includes>
    <include location="local" impldecl="in implementation">AddStudentform.ui.h</include>
</includes>
<variables>
    <variable access="public">QString sextext;</variable>
    <variable access="public">QString agetext;</variable>
    <variable access="public">int age;</variable>
    <variable access="public">QString ID;</variable>
    <variable access="public">QString name;</variable>
    <variable access="public">char sex;</variable>
</variables>
<slots>
    <slot specifier="non virtual">Add()</slot>
</slots>
<functions>
    <function specifier="non virtual">myinit()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -