📄 addcourse.ui
字号:
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>Form5</class>
<widget class="QDialog">
<property name="name">
<cstring>Form5</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>396</width>
<height>225</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>textLabel6</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>70</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>CourseName</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>40</y>
<width>63</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>CourseID</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel8</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>70</y>
<width>63</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Point</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel10</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>130</y>
<width>69</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>TeacherID</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>pushButton78</cstring>
</property>
<property name="geometry">
<rect>
<x>290</x>
<y>170</y>
<width>92</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit46</cstring>
</property>
<property name="geometry">
<rect>
<x>130</x>
<y>10</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>lineEdit47</cstring>
</property>
<property name="geometry">
<rect>
<x>130</x>
<y>40</y>
<width>250</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit49</cstring>
</property>
<property name="geometry">
<rect>
<x>130</x>
<y>100</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>lineEdit50</cstring>
</property>
<property name="geometry">
<rect>
<x>130</x>
<y>130</y>
<width>250</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QComboBox">
<item>
<property name="text">
<string>1.0</string>
</property>
</item>
<item>
<property name="text">
<string>1.5</string>
</property>
</item>
<item>
<property name="text">
<string>2.0</string>
</property>
</item>
<item>
<property name="text">
<string>2.5</string>
</property>
</item>
<item>
<property name="text">
<string>3.0</string>
</property>
</item>
<item>
<property name="text">
<string>3.5</string>
</property>
</item>
<item>
<property name="text">
<string>4.0</string>
</property>
</item>
<item>
<property name="text">
<string>4.5</string>
</property>
</item>
<item>
<property name="text">
<string>5.0</string>
</property>
</item>
<item>
<property name="text">
<string>5.5</string>
</property>
</item>
<property name="name">
<cstring>comboBox8</cstring>
</property>
<property name="geometry">
<rect>
<x>130</x>
<y>70</y>
<width>85</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel9</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>100</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>TeacherName</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>pushButton77</cstring>
</property>
<property name="geometry">
<rect>
<x>90</x>
<y>170</y>
<width>92</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>ADD</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>pushButton99</cstring>
</property>
<property name="geometry">
<rect>
<x>190</x>
<y>170</y>
<width>92</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Modify</string>
</property>
</widget>
</widget>
<connections>
<connection>
<sender>pushButton78</sender>
<signal>clicked()</signal>
<receiver>Form5</receiver>
<slot>close()</slot>
</connection>
<connection>
<sender>pushButton77</sender>
<signal>clicked()</signal>
<receiver>Form5</receiver>
<slot>ADD()</slot>
</connection>
<connection>
<sender>pushButton99</sender>
<signal>clicked()</signal>
<receiver>Form5</receiver>
<slot>ADD()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">AddCourse.ui.h</include>
</includes>
<variables>
<variable access="public">QString name;</variable>
<variable access="public">QString ID;</variable>
<variable access="public">QString tname;</variable>
<variable access="public">QString tID;</variable>
<variable access="public">double point;</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 + -