1 Star 1 Fork 0

Loac/university-management-system

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mainwindow.ui 20.04 KB
一键复制 编辑 原始数据 按行查看 历史
Loac 提交于 2022-12-18 15:45 . 完善程序所有功能
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1041</width>
<height>700</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>高校人员管理系统</string>
</property>
<property name="windowIcon">
<iconset resource="images.qrc">
<normaloff>:/img/image/icon.png</normaloff>:/img/image/icon.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QTabWidget" name="tabWidget">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>3</x>
<y>0</y>
<width>1041</width>
<height>671</height>
</rect>
</property>
<property name="currentIndex">
<number>2</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>学生</string>
</attribute>
<widget class="QTableView" name="student_tableView">
<property name="geometry">
<rect>
<x>3</x>
<y>3</y>
<width>761</width>
<height>631</height>
</rect>
</property>
</widget>
<widget class="QPlainTextEdit" name="student_nameEdit">
<property name="geometry">
<rect>
<x>808</x>
<y>10</y>
<width>221</width>
<height>34</height>
</rect>
</property>
<property name="font">
<font>
<family>MiSans</family>
<pointsize>11</pointsize>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>768</x>
<y>10</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>姓名</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>768</x>
<y>60</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>性别</string>
</property>
</widget>
<widget class="QComboBox" name="student_genderComboBox">
<property name="geometry">
<rect>
<x>808</x>
<y>60</y>
<width>221</width>
<height>34</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>768</x>
<y>110</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>出生</string>
</property>
</widget>
<widget class="QDateEdit" name="student_birthDateEdit">
<property name="geometry">
<rect>
<x>808</x>
<y>110</y>
<width>221</width>
<height>34</height>
</rect>
</property>
<property name="displayFormat">
<string>yyyy/MM/dd</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="student_majorEdit">
<property name="geometry">
<rect>
<x>808</x>
<y>160</y>
<width>221</width>
<height>34</height>
</rect>
</property>
<property name="font">
<font>
<family>MiSans</family>
<pointsize>11</pointsize>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>768</x>
<y>160</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>专业</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="student_classNameEdit">
<property name="geometry">
<rect>
<x>808</x>
<y>210</y>
<width>221</width>
<height>34</height>
</rect>
</property>
<property name="font">
<font>
<family>MiSans</family>
<pointsize>11</pointsize>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>768</x>
<y>210</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>班级</string>
</property>
</widget>
<widget class="QPushButton" name="student_addBtn">
<property name="geometry">
<rect>
<x>768</x>
<y>260</y>
<width>261</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>添加学生</string>
</property>
</widget>
<widget class="QPushButton" name="student_saveBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>768</x>
<y>260</y>
<width>125</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>保存</string>
</property>
<property name="checkable">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="student_returnBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>903</x>
<y>260</y>
<width>125</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>返回添加</string>
</property>
</widget>
<zorder>student_addBtn</zorder>
<zorder>student_tableView</zorder>
<zorder>student_nameEdit</zorder>
<zorder>label</zorder>
<zorder>label_2</zorder>
<zorder>student_genderComboBox</zorder>
<zorder>label_3</zorder>
<zorder>student_birthDateEdit</zorder>
<zorder>student_majorEdit</zorder>
<zorder>label_4</zorder>
<zorder>student_classNameEdit</zorder>
<zorder>label_5</zorder>
<zorder>student_saveBtn</zorder>
<zorder>student_returnBtn</zorder>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>教师</string>
</attribute>
<widget class="QTableView" name="teacher_tableView">
<property name="geometry">
<rect>
<x>3</x>
<y>34</y>
<width>761</width>
<height>600</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>768</x>
<y>90</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>性别</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="teacher_postAndTitleEdit">
<property name="geometry">
<rect>
<x>808</x>
<y>340</y>
<width>221</width>
<height>34</height>
</rect>
</property>
<property name="font">
<font>
<family>MiSans</family>
<pointsize>11</pointsize>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>768</x>
<y>140</y>
<width>61</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>出生时间</string>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>768</x>
<y>40</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>姓名</string>
</property>
</widget>
<widget class="QDateEdit" name="teacher_birthDateEdit">
<property name="geometry">
<rect>
<x>838</x>
<y>140</y>
<width>191</width>
<height>34</height>
</rect>
</property>
<property name="displayFormat">
<string>yyyy/MM/dd</string>
</property>
</widget>
<widget class="QPushButton" name="teacher_saveBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>768</x>
<y>390</y>
<width>125</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>保存</string>
</property>
<property name="checkable">
<bool>false</bool>
</property>
</widget>
<widget class="QPlainTextEdit" name="teacher_departmentEdit">
<property name="geometry">
<rect>
<x>808</x>
<y>240</y>
<width>221</width>
<height>34</height>
</rect>
</property>
<property name="font">
<font>
<family>MiSans</family>
<pointsize>11</pointsize>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="teacher_returnBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>903</x>
<y>390</y>
<width>125</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>返回添加</string>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>768</x>
<y>240</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>系部</string>
</property>
</widget>
<widget class="QPushButton" name="teacher_addBtn">
<property name="geometry">
<rect>
<x>768</x>
<y>390</y>
<width>261</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>添加教师</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="teacher_nameEdit">
<property name="geometry">
<rect>
<x>808</x>
<y>40</y>
<width>221</width>
<height>34</height>
</rect>
</property>
<property name="font">
<font>
<family>MiSans</family>
<pointsize>11</pointsize>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
</widget>
<widget class="QComboBox" name="teacher_genderComboBox">
<property name="geometry">
<rect>
<x>808</x>
<y>90</y>
<width>221</width>
<height>34</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="teacher_typeLabel">
<property name="geometry">
<rect>
<x>768</x>
<y>340</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>职务</string>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>3</x>
<y>3</y>
<width>61</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>教师类别</string>
</property>
</widget>
<widget class="QComboBox" name="teacher_typeComboBox">
<property name="geometry">
<rect>
<x>70</x>
<y>3</y>
<width>131</width>
<height>28</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">padding-left: 1px;</string>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>768</x>
<y>190</y>
<width>61</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>工作时间</string>
</property>
</widget>
<widget class="QDateEdit" name="teacher_startDateEdit">
<property name="geometry">
<rect>
<x>838</x>
<y>190</y>
<width>191</width>
<height>34</height>
</rect>
</property>
<property name="displayFormat">
<string>yyyy/MM/dd</string>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>768</x>
<y>290</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>类别</string>
</property>
</widget>
<widget class="QComboBox" name="teacher_typeComboBoxEdit">
<property name="geometry">
<rect>
<x>808</x>
<y>290</y>
<width>221</width>
<height>34</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">padding-left: 1px;</string>
</property>
</widget>
<zorder>teacher_addBtn</zorder>
<zorder>teacher_tableView</zorder>
<zorder>label_6</zorder>
<zorder>teacher_postAndTitleEdit</zorder>
<zorder>label_7</zorder>
<zorder>label_8</zorder>
<zorder>teacher_birthDateEdit</zorder>
<zorder>teacher_saveBtn</zorder>
<zorder>teacher_departmentEdit</zorder>
<zorder>teacher_returnBtn</zorder>
<zorder>label_9</zorder>
<zorder>teacher_nameEdit</zorder>
<zorder>teacher_genderComboBox</zorder>
<zorder>teacher_typeLabel</zorder>
<zorder>label_11</zorder>
<zorder>teacher_typeComboBox</zorder>
<zorder>label_12</zorder>
<zorder>teacher_startDateEdit</zorder>
<zorder>label_13</zorder>
<zorder>teacher_typeComboBoxEdit</zorder>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>查询</string>
</attribute>
<widget class="QTableView" name="search_tableView">
<property name="geometry">
<rect>
<x>3</x>
<y>3</y>
<width>761</width>
<height>631</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="search_groupComboBox">
<property name="geometry">
<rect>
<x>808</x>
<y>10</y>
<width>221</width>
<height>34</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>768</x>
<y>10</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>群体</string>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>768</x>
<y>60</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>类型</string>
</property>
</widget>
<widget class="QComboBox" name="search_typeComboBox">
<property name="geometry">
<rect>
<x>808</x>
<y>60</y>
<width>221</width>
<height>34</height>
</rect>
</property>
</widget>
<widget class="QPlainTextEdit" name="search_keyEdit">
<property name="geometry">
<rect>
<x>808</x>
<y>110</y>
<width>221</width>
<height>34</height>
</rect>
</property>
<property name="font">
<font>
<family>MiSans</family>
<pointsize>11</pointsize>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="search_keyLabel">
<property name="geometry">
<rect>
<x>768</x>
<y>110</y>
<width>31</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>搜索</string>
</property>
</widget>
<widget class="QPushButton" name="search_searchBtn">
<property name="geometry">
<rect>
<x>768</x>
<y>160</y>
<width>261</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>搜索</string>
</property>
</widget>
</widget>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1041</width>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuSetting">
<property name="title">
<string>文件</string>
</property>
<addaction name="menu_importStudent"/>
<addaction name="menu_importAdminTeacher"/>
<addaction name="menu_importFullTimeTeacher"/>
<addaction name="separator"/>
<addaction name="menu_exit"/>
</widget>
<widget class="QMenu" name="menu">
<property name="title">
<string>帮助</string>
</property>
<addaction name="menu_about"/>
</widget>
<addaction name="menuSetting"/>
<addaction name="menu"/>
</widget>
<action name="menu_importStudent">
<property name="icon">
<iconset theme="face-kiss">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>导入学生</string>
</property>
</action>
<action name="menu_about">
<property name="icon">
<iconset theme="face-smile">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>关于</string>
</property>
</action>
<action name="menu_exit">
<property name="icon">
<iconset theme="application-exit">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>退出</string>
</property>
</action>
<action name="menu_importAdminTeacher">
<property name="icon">
<iconset theme="face-cool">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>导入行政人员</string>
</property>
<property name="toolTip">
<string>导入行政人员</string>
</property>
</action>
<action name="menu_importFullTimeTeacher">
<property name="icon">
<iconset theme="face-smirk">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>导入专任教师</string>
</property>
</action>
</widget>
<tabstops>
<tabstop>student_nameEdit</tabstop>
<tabstop>student_genderComboBox</tabstop>
<tabstop>student_birthDateEdit</tabstop>
<tabstop>student_majorEdit</tabstop>
<tabstop>student_classNameEdit</tabstop>
<tabstop>student_addBtn</tabstop>
<tabstop>tabWidget</tabstop>
<tabstop>student_tableView</tabstop>
</tabstops>
<resources>
<include location="images.qrc"/>
</resources>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/luodachui/university_management_system.git
git@gitee.com:luodachui/university_management_system.git
luodachui
university_management_system
university-management-system
main

搜索帮助