赞
踩
这个算是我的前一篇管理系统的进阶版本,直接更改的原实验代码(因此有些代码被注释了),加入了数据库连接、错误抛出、显示界面等功能,代码模块名在没弄清前尽量不要更改,另外还需添加一些模块(看图自行添加),本篇博客以及代码仅用于学习!!!
项目模块:
显示界面:
仅用于学习==!!!
仅用于学习==!!!
仅用于学习==!!!
代码展现:
#main.py
import re
import pymysql
from PyQt5 import QtWidgets, QtCore
# from bll import manage_student
import bll
from show__ import Ui_MainWindow
db = pymysql.connect(host='localhost',
port=3306,
user='root',
passwd='qwe151314',
database='stu_info',
charset='utf8')
class Ui_main(QtWidgets.QMainWindow, Ui_MainWindow):
def __init__(self):
super(Ui_main, self).__init__()
self.management = bll.manage_student()
self.setupUi(self)
self.pushButton.clicked.connect(lambda: self.stackedWidget.setCurrentIndex(1))
self.pushButton_2.clicked.connect(lambda: {self.stackedWidget.setCurrentIndex(2), self.Print1()})
self.pushButton_3.clicked.connect(lambda: {self.stackedWidget.setCurrentIndex(3), self.Print()})
self.pushButton_4.clicked.connect(lambda: self.stackedWidget.setCurrentIndex(4))
self.pushButton_5.clicked.connect(lambda: {self.stackedWidget.setCurrentIndex(5), self.sort()})
self.pushButton_6.clicked.connect(lambda: self.Append())
self.pushButton_7.clicked.connect(
lambda: {self.stackedWidget.setCurrentIndex(0), self.lineEdit.clear(), self.lineEdit_2.clear(),
self.lineEdit_3.clear(), self.lineEdit_4.clear()})
self.pushButton_8.clicked.connect(lambda: {self.DelStudentall(), QtWidgets.QApplication.quit()})
self.pushButton_9.clicked.connect(lambda: {self.stackedWidget.setCurrentIndex(0), self.plainTextEdit.clear()})
self.pushButton_10.clicked.connect(
lambda: {self.stackedWidget.setCurrentIndex(0), self.plainTextEdit_2.clear(), self.lineEdit_5.clear()})
self.pushButton_11.clicked.connect(
lambda: {self.stackedWidget.setCurrentIndex(0), self.lineEdit_8.clear(), self.lineEdit_6.clear(),
self.lineEdit_7.clear(), self.lineEdit_9.clear(), self.lineEdit_10.clear()})
self.pushButton_13.clicked.connect(
lambda: {self.stackedWidget.setCurrentIndex(0), self.plainTextEdit_3.clear()})
self.pushButton_14.clicked.connect(lambda: self.Delete())
self.pushButton_12.clicked.connect(lambda: self.Alter())
def Append(self):
name = self.lineEdit.text()
age = int(self.lineEdit_2.text())
score = int(self.lineEdit_3.text())
id = int(self.lineEdit_4.text())
try:
self.management.AppendStudent(name, age, score, id)
self.datatext()
except ValueError as m:
self.msgbox_range(m)
def Delete(self):
id = int(self.lineEdit_5.text())
try:
self.management.DelStudent(id)
except ValueError as m:
self.msgbox_range(m)
def Alter(self):
i = int(self.lineEdit_6.text())
name = self.lineEdit_7.text()
age = int(self.lineEdit_8.text())
score = int(self.lineEdit_9.text())
id = int(self.lineEdit_10.text())
try:
self.management.AlterStudent(i, name, age, score, id)
self.datatext()
except ValueError as m:
self.msgbox_range(m)
def sort(self):
for i in range(1, len(bll.Student_s)):
for j in range(0, len(bll.Student_s) - i):
if bll.Student_s[j].score < bll.Student_s[j + 1].score:
t = bll.Student_s[j]
bll.Student_s[j] = bll.Student_s[j + 1]
bll.Student_s[j + 1] = t
for i in bll.Student_s:
self.plainTextEdit_3.appendPlainText(
'姓名:' + str(i.name) + '年龄:' + str(i.age) + '成绩:' + str(
i.score) + '学号:' + str(i.id))
def Print(self): # 删除时显示
# self.plainTextEdit_2. = bll.Student_s[]
# a=bll.Student_s[]
for i in bll.Student_s:
self.plainTextEdit_2.appendPlainText(
'姓名:' + str(i.name) + '年龄:' + str(i.age) + '成绩:' + str(
i.score) + '学号:' + str(i.id))
def Print1(self): # 显示界面
for i in bll.Student_s:
self.plainTextEdit.appendPlainText(
'姓名:' + str(i.name) + '年龄:' + str(i.age) + '成绩:' + str(
i.score) + '学号:' + str(i.id))
def datatext(self):
f = open('test.txt', 'w')
f.write(' 姓名 年龄 分数 学号')
f.write('\n')
for i in range(len(bll.Student_s)):
f.write(str('%d. %s %s %s %s' % (
i + 1, bll.Student_s[i].name, bll.Student_s[i].age, bll.Student_s[i].score, bll.Student_s[i].id)))
f.write('\n')
f.close()
def msgbox_range(self, m):
pattern = '[\u4E00-\u9FFF ,]+'
s = re.search(pattern, repr(m))
QtWidgets.QMessageBox.warning(self, '警告', s.group(), QtWidgets.QMessageBox.Yes)
# QtWidgets.QMessageBox.warning(self, 'nice', '保存成功!')
def DelStudentall(self):
# 获取游标,创建游标对象
cur = db.cursor()
sql = "delete from jiuban where score >0;"
cur.execute(sql)
db.commit()
# 关闭游标和数据库连接
cur.close()
db.close()
if __name__ == "__main__":
import sys
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling)
# 使窗体按照Qt设计显示
app = QtWidgets.QApplication(sys.argv)
window = Ui_main()
window.show()
sys.exit(app.exec_())
#model.py
class StudentModel(object):
def __init__(self, name, age, score, id):
self.name = name
self.age = age
self.score = score
self.id = id
#bll.py
import pymysql
import model
db = pymysql.connect(host='localhost',
port=3306,
user='root',
passwd='qwe151314',
database='stu_info',
charset='utf8')
Student_s = []
class manage_student():
def __init__(self):
pass
@classmethod
# def takeelem(cls, elem):
# return elem.score
def AppendStudent(self, name, age, score, id):
# # 名字
# name = input('姓名:')
#
# # 获取年龄
# def get_age():
# age = int(input('年龄(1-140):'))
# if age in range(1, 141):
# # if age>0 or age<=140:
# return age
# raise ValueError # 抛出异常(传入无效的参数)
#
# while True:
# try:
# age = get_age()
# # print('用户输入的年龄是:', age)
# break
# except ValueError: # 接收抛出的异常
# print('用户输入的年龄不在1-140之间,获取年龄失败!')
#
# # 获取成绩
# def get_score():
# score = int(input('成绩(0-100):'))
# if score in range(0, 101):
# return score
# raise ValueError # 抛出异常(传入无效的参数)
#
# while True:
# try:
# score = get_score()
# break
# except ValueError: # 接收抛出的异常
# print('用户输入的成绩不在0-100之间,获取成绩失败!')
#
# # 获取唯一学号
# def get_id():
# id = input('请输入唯一学号:')
# if len(Student_s) == 0:
# return id
# else:
# for i in range(len(Student_s)):
# if id != Student_s[i].id:
# return id
# else:
# raise ValueError # 抛出异常
#
# while True:
# try:
# id = get_id()
# break
# except ValueError: # 接收抛出的异常
# print('用户输入的学号不唯一,获取学号失败!')
for i in range(len(Student_s)):
if id == Student_s[i].id:
raise ValueError("学号重复,请重新输入")
if score > 100 or score < 0:
raise ValueError("分数输入错误,请重新输入")
else:
NewStudent = model.StudentModel(name, age, score, id)
print(NewStudent.id)
Student_s.append(NewStudent)
# 获取游标,创建游标对象
cur = db.cursor()
print('5555')
print(name, age, score, id)
db.ping(reconnect=True)
cur.execute("insert into jiuban values ('%d','%s','%d','%d');" % (id, name, age, score))
print('33')
db.commit()
# 关闭游标和数据库连接
cur.close()
db.close()
print(name, age, score, id)
for i in range(len(Student_s)):
print(i)
print(Student_s[i].id)
raise ValueError("添加成功!")
# f = open('test.txt', 'w')
# f.write(' 姓名 年龄 分数 学号')
# f.write('\n')
# for i in range(len(Student_s)):
# f.write(str('%d. %s %s %s %s' % (
# i + 1, name, Student_s[i].age, Student_s[i].score, Student_s[i].id)))
# f.write('\n')
# f.close()
#
# def PrintStudent(self):
# # print(' 姓名 年龄 分数 学号')
# for i in range(len(Student_s)):
# print('%d. %s %s %s %s' % (i + 1, Student_s[i].name, Student_s[i].age, Student_s[i].score, Student_s[i].id))
# f = open('test.txt', 'r')
# print(f.read())
# f.close()
def DelStudent(self, id):
# flag = 0
# print(id)
# self.PrintStudent(Student_s)
# name = input('请输入要删除的学生名字:')
print("222")
for i in range(len(Student_s)):
print(id)
print(Student_s[i].id)
if id == Student_s[i].id:
print("4")
del Student_s[i]
print("5")
cur = db.cursor()
print(id)
db.ping(reconnect=True)
cur.execute("delete from jiuban where id=('%d');" % id)
db.commit()
# 关闭游标和数据库连接
cur.close()
db.close()
print(id)
raise ValueError("删除成功!")
else:
raise ValueError("查无此人!")
# f = open('test.txt', 'w')
# f.write(' 姓名 年龄 分数 学号')
# f.write('\n')
# for i in range(len(Student_s)):
# f.write(str('%s %d %d %d' % (
# Student_s[i].name, Student_s[i].age, Student_s[i].score, Student_s[i].id)))
# f.write('\n')
# flag = 1
# f.close()
# break
# if flag == 0:
# raise ValueError("查无此人!")
def AlterStudent(self, i, name, age, score, id):
# self.PrintStudent(Student_s)
# i = int(input('请选择修改对象(输入前方编号):'))
# if i > len(Student_s):
# print('错误编号')
# else:
# i -= 1
# print('1.姓名 2.年龄 3.分数 4.学号')
# j = int(input('请选择:'))
# if j == 1:
# Student_s[i].name = input('请输入姓名:')
# elif j == 2:
# # Student_s[i].age = input('请输入年龄:')
# # 修改年龄
# def get_age():
# age = int(input('请输入年龄(1-140):'))
# if age in range(1, 141):
# # if age>0 or age<=140:
# return age
# raise ValueError # 抛出异常(传入无效的参数)
#
# while True:
# try:
# Student_s[i].age = get_age()
# # print('用户输入的年龄是:', age)
# break
# except ValueError: # 接收抛出的异常
# print('用户输入的年龄不在1-140之间,获取年龄失败!')
# elif j == 3:
# # Student_s[i].score = input('请输入分数:')
# # 修改成绩
# def get_score():
# score = int(input('亲输入分数(0-100):'))
# if score in range(0, 101):
# return score
# raise ValueError # 抛出异常(传入无效的参数)
#
# while True:
# try:
# Student_s[i].score = get_score()
# break
# except ValueError: # 接收抛出的异常
# print('用户输入的成绩不在0-100之间,获取成绩失败!')
# elif j == 4:
# Student_s[i].id = input('请输入学号:')
# else:
# print('输入有误')
# print('222')
for j in range(len(Student_s)):
if Student_s[j].id == i:
# del Student_s[j]
print(i)
NewStudent_s = model.StudentModel(name, age, score, id)
print('111')
Student_s[j] = NewStudent_s
# 获取游标,创建游标对象
cur = db.cursor()
print('222')
db.ping(reconnect=True)
sql="update jiuban set id=%d,name='%s',age=%d,score=%d where id=%d;" % (id, name, age, score, i)
cur.execute(sql)
db.commit()
# 关闭游标和数据库连接
cur.close()
db.close()
print('333')
raise ValueError("修改成功!")
else:
raise ValueError("查无此人!")
# f = open('test.txt', 'w')
# f.write(' 姓名 年龄 分数 学号')
# f.write('\n')
# for i in range(len(Student_s)):
# f.write(str('%d. %s %s %s %s' % (
# i + 1, name, Student_s[i].age, Student_s[i].score, Student_s[i].id)))
# f.write('\n')
# f.close()
# def SortStudent(self):
# # Student_t = list(Student_s)
# # Student_t.sort(key=manage_student.takeelem, reverse=True)
#
# # for i in range(1, len(Student_s)):
# # for j in range(0, len(Student_s) - i):
# # if Student_s[j].score < Student_s[j + 1].score:
# # t = Student_s[j]
# # Student_s[j] = Student_s[j + 1]
# # Student_s[j + 1] = t
# # print('排序成功')
# f = open('test.txt', 'w')
# f.write(' 姓名 年龄 分数 学号')
# f.write('\n')
# for i in range(len(Student_s)):
# f.write(str('%d. %s %s %s %s' % (
# i + 1, Student_s[i].name, Student_s[i].age, Student_s[i].score, Student_s[i].id)))
# f.write('\n')
# f.close()
#MainWindow.untitled,这段代码直接复制便可,不改名字!
<?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>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QStackedWidget" name="stackedWidget">
<property name="geometry">
<rect>
<x>120</x>
<y>100</y>
<width>541</width>
<height>311</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="page">
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>231</width>
<height>291</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>huahangbiao.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>230</x>
<y>20</y>
<width>281</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>20</pointsize>
</font>
</property>
<property name="text">
<string>华航监狱登记系统</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>310</x>
<y>80</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>添加学生</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>310</x>
<y>120</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>显示学生</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_3">
<property name="geometry">
<rect>
<x>310</x>
<y>160</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>删除学生</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_4">
<property name="geometry">
<rect>
<x>310</x>
<y>200</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>修改学生</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_5">
<property name="geometry">
<rect>
<x>310</x>
<y>240</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>降序排列</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_2">
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>160</x>
<y>60</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>姓名:</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>160</x>
<y>110</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>年龄:</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>160</x>
<y>160</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>成绩:</string>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>160</x>
<y>210</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>学号:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit">
<property name="geometry">
<rect>
<x>220</x>
<y>60</y>
<width>131</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_2">
<property name="geometry">
<rect>
<x>220</x>
<y>110</y>
<width>131</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_3">
<property name="geometry">
<rect>
<x>220</x>
<y>160</y>
<width>131</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_4">
<property name="geometry">
<rect>
<x>220</x>
<y>210</y>
<width>131</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton_6">
<property name="geometry">
<rect>
<x>130</x>
<y>250</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>添加</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_7">
<property name="geometry">
<rect>
<x>290</x>
<y>250</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>返回</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_3">
<widget class="QPushButton" name="pushButton_9">
<property name="geometry">
<rect>
<x>100</x>
<y>130</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>返回值班室</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="geometry">
<rect>
<x>230</x>
<y>40</y>
<width>281</width>
<height>231</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
</font>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_4">
<widget class="QPlainTextEdit" name="plainTextEdit_2">
<property name="geometry">
<rect>
<x>190</x>
<y>20</y>
<width>271</width>
<height>121</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>50</x>
<y>60</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>已有犯人:</string>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>40</x>
<y>170</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>准备释放(学号):</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_5">
<property name="geometry">
<rect>
<x>190</x>
<y>170</y>
<width>271</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton_10">
<property name="geometry">
<rect>
<x>140</x>
<y>240</y>
<width>211</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>返回值班室</string>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>50</x>
<y>10</y>
<width>91</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>删除:</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_5">
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>31</x>
<y>14</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>修改:</string>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>101</x>
<y>64</y>
<width>131</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>修改哪个(学号):</string>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>140</x>
<y>110</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>姓名:</string>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>140</x>
<y>150</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>年龄:</string>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>140</x>
<y>190</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>成绩:</string>
</property>
</widget>
<widget class="QLabel" name="label_15">
<property name="geometry">
<rect>
<x>140</x>
<y>230</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>学号:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_6">
<property name="geometry">
<rect>
<x>240</x>
<y>60</y>
<width>113</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_7">
<property name="geometry">
<rect>
<x>190</x>
<y>110</y>
<width>113</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_8">
<property name="geometry">
<rect>
<x>190</x>
<y>150</y>
<width>113</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_9">
<property name="geometry">
<rect>
<x>190</x>
<y>190</y>
<width>113</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_10">
<property name="geometry">
<rect>
<x>190</x>
<y>230</y>
<width>113</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton_11">
<property name="geometry">
<rect>
<x>370</x>
<y>190</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>返回值班室</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_12">
<property name="geometry">
<rect>
<x>370</x>
<y>120</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>确认修改</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_6">
<widget class="QPushButton" name="pushButton_13">
<property name="geometry">
<rect>
<x>180</x>
<y>220</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>返回值班室</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit_3">
<property name="geometry">
<rect>
<x>153</x>
<y>26</y>
<width>251</width>
<height>141</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_16">
<property name="geometry">
<rect>
<x>31</x>
<y>85</y>
<width>91</width>
<height>20</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>800</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>
#show__.py
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'show__.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(800, 600)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.stackedWidget = QtWidgets.QStackedWidget(self.centralwidget)
self.stackedWidget.setGeometry(QtCore.QRect(120, 110, 541, 311))
self.stackedWidget.setObjectName("stackedWidget")
self.page = QtWidgets.QWidget()
self.page.setObjectName("page")
self.label = QtWidgets.QLabel(self.page)
self.label.setGeometry(QtCore.QRect(90, 30, 231, 291))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(18)
self.label.setFont(font)
self.label.setText("")
self.label.setPixmap(QtGui.QPixmap("huahangbiao.png"))
self.label.setObjectName("label")
self.label_2 = QtWidgets.QLabel(self.page)
self.label_2.setGeometry(QtCore.QRect(130, 10, 281, 61))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(20)
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.pushButton = QtWidgets.QPushButton(self.page)
self.pushButton.setGeometry(QtCore.QRect(310, 80, 93, 28))
self.pushButton.setObjectName("pushButton")
self.pushButton_2 = QtWidgets.QPushButton(self.page)
self.pushButton_2.setGeometry(QtCore.QRect(310, 120, 93, 28))
self.pushButton_2.setObjectName("pushButton_2")
self.pushButton_3 = QtWidgets.QPushButton(self.page)
self.pushButton_3.setGeometry(QtCore.QRect(310, 160, 93, 28))
self.pushButton_3.setObjectName("pushButton_3")
self.pushButton_4 = QtWidgets.QPushButton(self.page)
self.pushButton_4.setGeometry(QtCore.QRect(310, 200, 93, 28))
self.pushButton_4.setObjectName("pushButton_4")
self.pushButton_5 = QtWidgets.QPushButton(self.page)
self.pushButton_5.setGeometry(QtCore.QRect(310, 240, 93, 28))
self.pushButton_5.setObjectName("pushButton_5")
self.pushButton_8 = QtWidgets.QPushButton(self.page)
self.pushButton_8.setGeometry(QtCore.QRect(450, 220, 51, 41))
self.pushButton_8.setObjectName("pushButton_8")
self.stackedWidget.addWidget(self.page)
self.page_2 = QtWidgets.QWidget()
self.page_2.setObjectName("page_2")
self.label_3 = QtWidgets.QLabel(self.page_2)
self.label_3.setGeometry(QtCore.QRect(160, 60, 72, 15))
self.label_3.setObjectName("label_3")
self.label_4 = QtWidgets.QLabel(self.page_2)
self.label_4.setGeometry(QtCore.QRect(160, 110, 72, 15))
self.label_4.setObjectName("label_4")
self.label_5 = QtWidgets.QLabel(self.page_2)
self.label_5.setGeometry(QtCore.QRect(160, 160, 72, 15))
self.label_5.setObjectName("label_5")
self.label_6 = QtWidgets.QLabel(self.page_2)
self.label_6.setGeometry(QtCore.QRect(160, 210, 72, 15))
self.label_6.setObjectName("label_6")
self.lineEdit = QtWidgets.QLineEdit(self.page_2)
self.lineEdit.setGeometry(QtCore.QRect(220, 60, 131, 21))
self.lineEdit.setObjectName("lineEdit")
self.lineEdit_2 = QtWidgets.QLineEdit(self.page_2)
self.lineEdit_2.setGeometry(QtCore.QRect(220, 110, 131, 21))
self.lineEdit_2.setObjectName("lineEdit_2")
self.lineEdit_3 = QtWidgets.QLineEdit(self.page_2)
self.lineEdit_3.setGeometry(QtCore.QRect(220, 160, 131, 21))
self.lineEdit_3.setObjectName("lineEdit_3")
self.lineEdit_4 = QtWidgets.QLineEdit(self.page_2)
self.lineEdit_4.setGeometry(QtCore.QRect(220, 210, 131, 21))
self.lineEdit_4.setObjectName("lineEdit_4")
self.pushButton_6 = QtWidgets.QPushButton(self.page_2)
self.pushButton_6.setGeometry(QtCore.QRect(130, 250, 93, 28))
self.pushButton_6.setObjectName("pushButton_6")
self.pushButton_7 = QtWidgets.QPushButton(self.page_2)
self.pushButton_7.setGeometry(QtCore.QRect(290, 250, 93, 28))
self.pushButton_7.setObjectName("pushButton_7")
self.stackedWidget.addWidget(self.page_2)
self.page_3 = QtWidgets.QWidget()
self.page_3.setObjectName("page_3")
self.pushButton_9 = QtWidgets.QPushButton(self.page_3)
self.pushButton_9.setGeometry(QtCore.QRect(50, 130, 93, 28))
self.pushButton_9.setObjectName("pushButton_9")
self.plainTextEdit = QtWidgets.QPlainTextEdit(self.page_3)
self.plainTextEdit.setGeometry(QtCore.QRect(170, 40, 341, 231))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
self.plainTextEdit.setFont(font)
self.plainTextEdit.setObjectName("plainTextEdit")
self.stackedWidget.addWidget(self.page_3)
self.page_4 = QtWidgets.QWidget()
self.page_4.setObjectName("page_4")
self.plainTextEdit_2 = QtWidgets.QPlainTextEdit(self.page_4)
self.plainTextEdit_2.setGeometry(QtCore.QRect(170, 20, 331, 121))
self.plainTextEdit_2.setObjectName("plainTextEdit_2")
self.label_7 = QtWidgets.QLabel(self.page_4)
self.label_7.setGeometry(QtCore.QRect(50, 60, 72, 15))
self.label_7.setObjectName("label_7")
self.label_8 = QtWidgets.QLabel(self.page_4)
self.label_8.setGeometry(QtCore.QRect(40, 170, 141, 31))
self.label_8.setObjectName("label_8")
self.lineEdit_5 = QtWidgets.QLineEdit(self.page_4)
self.lineEdit_5.setGeometry(QtCore.QRect(170, 170, 331, 21))
self.lineEdit_5.setObjectName("lineEdit_5")
self.pushButton_10 = QtWidgets.QPushButton(self.page_4)
self.pushButton_10.setGeometry(QtCore.QRect(340, 240, 121, 31))
self.pushButton_10.setObjectName("pushButton_10")
self.label_9 = QtWidgets.QLabel(self.page_4)
self.label_9.setGeometry(QtCore.QRect(50, 10, 91, 21))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
self.label_9.setFont(font)
self.label_9.setObjectName("label_9")
self.pushButton_14 = QtWidgets.QPushButton(self.page_4)
self.pushButton_14.setGeometry(QtCore.QRect(180, 240, 101, 31))
self.pushButton_14.setObjectName("pushButton_14")
self.stackedWidget.addWidget(self.page_4)
self.page_5 = QtWidgets.QWidget()
self.page_5.setObjectName("page_5")
self.label_10 = QtWidgets.QLabel(self.page_5)
self.label_10.setGeometry(QtCore.QRect(31, 14, 81, 31))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
self.label_10.setFont(font)
self.label_10.setObjectName("label_10")
self.label_11 = QtWidgets.QLabel(self.page_5)
self.label_11.setGeometry(QtCore.QRect(101, 64, 131, 21))
self.label_11.setObjectName("label_11")
self.label_12 = QtWidgets.QLabel(self.page_5)
self.label_12.setGeometry(QtCore.QRect(140, 110, 72, 15))
self.label_12.setObjectName("label_12")
self.label_13 = QtWidgets.QLabel(self.page_5)
self.label_13.setGeometry(QtCore.QRect(140, 150, 72, 15))
self.label_13.setObjectName("label_13")
self.label_14 = QtWidgets.QLabel(self.page_5)
self.label_14.setGeometry(QtCore.QRect(140, 190, 72, 15))
self.label_14.setObjectName("label_14")
self.label_15 = QtWidgets.QLabel(self.page_5)
self.label_15.setGeometry(QtCore.QRect(140, 230, 72, 15))
self.label_15.setObjectName("label_15")
self.lineEdit_6 = QtWidgets.QLineEdit(self.page_5)
self.lineEdit_6.setGeometry(QtCore.QRect(240, 60, 113, 21))
self.lineEdit_6.setObjectName("lineEdit_6")
self.lineEdit_7 = QtWidgets.QLineEdit(self.page_5)
self.lineEdit_7.setGeometry(QtCore.QRect(190, 110, 113, 21))
self.lineEdit_7.setObjectName("lineEdit_7")
self.lineEdit_8 = QtWidgets.QLineEdit(self.page_5)
self.lineEdit_8.setGeometry(QtCore.QRect(190, 150, 113, 21))
self.lineEdit_8.setObjectName("lineEdit_8")
self.lineEdit_9 = QtWidgets.QLineEdit(self.page_5)
self.lineEdit_9.setGeometry(QtCore.QRect(190, 190, 113, 21))
self.lineEdit_9.setObjectName("lineEdit_9")
self.lineEdit_10 = QtWidgets.QLineEdit(self.page_5)
self.lineEdit_10.setGeometry(QtCore.QRect(190, 230, 113, 21))
self.lineEdit_10.setObjectName("lineEdit_10")
self.pushButton_11 = QtWidgets.QPushButton(self.page_5)
self.pushButton_11.setGeometry(QtCore.QRect(370, 190, 93, 28))
self.pushButton_11.setObjectName("pushButton_11")
self.pushButton_12 = QtWidgets.QPushButton(self.page_5)
self.pushButton_12.setGeometry(QtCore.QRect(370, 120, 93, 28))
self.pushButton_12.setObjectName("pushButton_12")
self.stackedWidget.addWidget(self.page_5)
self.page_6 = QtWidgets.QWidget()
self.page_6.setObjectName("page_6")
self.pushButton_13 = QtWidgets.QPushButton(self.page_6)
self.pushButton_13.setGeometry(QtCore.QRect(230, 220, 93, 28))
self.pushButton_13.setObjectName("pushButton_13")
self.plainTextEdit_3 = QtWidgets.QPlainTextEdit(self.page_6)
self.plainTextEdit_3.setGeometry(QtCore.QRect(153, 26, 341, 141))
self.plainTextEdit_3.setObjectName("plainTextEdit_3")
self.label_16 = QtWidgets.QLabel(self.page_6)
self.label_16.setGeometry(QtCore.QRect(31, 85, 91, 20))
self.label_16.setObjectName("label_16")
self.stackedWidget.addWidget(self.page_6)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 26))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
self.stackedWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.label_2.setText(_translate("MainWindow", "华航监狱登记系统"))
self.pushButton.setText(_translate("MainWindow", "添加学生"))
self.pushButton_2.setText(_translate("MainWindow", "显示学生"))
self.pushButton_3.setText(_translate("MainWindow", "删除学生"))
self.pushButton_4.setText(_translate("MainWindow", "修改学生"))
self.pushButton_5.setText(_translate("MainWindow", "降序排列"))
self.pushButton_8.setText(_translate("MainWindow", "回家"))
self.label_3.setText(_translate("MainWindow", "姓名:"))
self.label_4.setText(_translate("MainWindow", "年龄:"))
self.label_5.setText(_translate("MainWindow", "成绩:"))
self.label_6.setText(_translate("MainWindow", "学号:"))
self.pushButton_6.setText(_translate("MainWindow", "添加"))
self.pushButton_7.setText(_translate("MainWindow", "返回"))
self.pushButton_9.setText(_translate("MainWindow", "返回值班室"))
self.label_7.setText(_translate("MainWindow", "已有犯人:"))
self.label_8.setText(_translate("MainWindow", "准备释放(学号):"))
self.pushButton_10.setText(_translate("MainWindow", "返回值班室"))
self.label_9.setText(_translate("MainWindow", "删除:"))
self.pushButton_14.setText(_translate("MainWindow", "确认释放"))
self.label_10.setText(_translate("MainWindow", "修改:"))
self.label_11.setText(_translate("MainWindow", "修改哪个(学号):"))
self.label_12.setText(_translate("MainWindow", "姓名:"))
self.label_13.setText(_translate("MainWindow", "年龄:"))
self.label_14.setText(_translate("MainWindow", "成绩:"))
self.label_15.setText(_translate("MainWindow", "学号:"))
self.pushButton_11.setText(_translate("MainWindow", "返回值班室"))
self.pushButton_12.setText(_translate("MainWindow", "确认修改"))
self.pushButton_13.setText(_translate("MainWindow", "返回值班室"))
self.label_16.setText(_translate("MainWindow", "降序排列:"))
#show__.ui
<?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>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QStackedWidget" name="stackedWidget">
<property name="geometry">
<rect>
<x>120</x>
<y>110</y>
<width>541</width>
<height>311</height>
</rect>
</property>
<property name="currentIndex">
<number>4</number>
</property>
<widget class="QWidget" name="page">
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>90</x>
<y>30</y>
<width>231</width>
<height>291</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>18</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>C:/Users/asd/.designer/backup/huahangbiao.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>130</x>
<y>10</y>
<width>281</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>20</pointsize>
</font>
</property>
<property name="text">
<string>华航监狱登记系统</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>310</x>
<y>80</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>添加学生</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>310</x>
<y>120</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>显示学生</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_3">
<property name="geometry">
<rect>
<x>310</x>
<y>160</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>删除学生</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_4">
<property name="geometry">
<rect>
<x>310</x>
<y>200</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>修改学生</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_5">
<property name="geometry">
<rect>
<x>310</x>
<y>240</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>降序排列</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_8">
<property name="geometry">
<rect>
<x>450</x>
<y>220</y>
<width>51</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>回家</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_2">
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>160</x>
<y>60</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>姓名:</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>160</x>
<y>110</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>年龄:</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>160</x>
<y>160</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>成绩:</string>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>160</x>
<y>210</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>学号:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit">
<property name="geometry">
<rect>
<x>220</x>
<y>60</y>
<width>131</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_2">
<property name="geometry">
<rect>
<x>220</x>
<y>110</y>
<width>131</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_3">
<property name="geometry">
<rect>
<x>220</x>
<y>160</y>
<width>131</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_4">
<property name="geometry">
<rect>
<x>220</x>
<y>210</y>
<width>131</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton_6">
<property name="geometry">
<rect>
<x>130</x>
<y>250</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>添加</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_7">
<property name="geometry">
<rect>
<x>290</x>
<y>250</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>返回</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_3">
<widget class="QPushButton" name="pushButton_9">
<property name="geometry">
<rect>
<x>50</x>
<y>130</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>返回值班室</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="geometry">
<rect>
<x>170</x>
<y>40</y>
<width>341</width>
<height>231</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
</font>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_4">
<widget class="QPlainTextEdit" name="plainTextEdit_2">
<property name="geometry">
<rect>
<x>170</x>
<y>20</y>
<width>331</width>
<height>121</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>50</x>
<y>60</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>已有犯人:</string>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>40</x>
<y>170</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>准备释放(学号):</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_5">
<property name="geometry">
<rect>
<x>170</x>
<y>170</y>
<width>331</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton_10">
<property name="geometry">
<rect>
<x>340</x>
<y>240</y>
<width>121</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>返回值班室</string>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>50</x>
<y>10</y>
<width>91</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>删除:</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_14">
<property name="geometry">
<rect>
<x>180</x>
<y>240</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>确认释放</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_5">
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>31</x>
<y>14</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>修改:</string>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>101</x>
<y>64</y>
<width>131</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>修改哪个(学号):</string>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>140</x>
<y>110</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>姓名:</string>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>140</x>
<y>150</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>年龄:</string>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>140</x>
<y>190</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>成绩:</string>
</property>
</widget>
<widget class="QLabel" name="label_15">
<property name="geometry">
<rect>
<x>140</x>
<y>230</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>学号:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_6">
<property name="geometry">
<rect>
<x>240</x>
<y>60</y>
<width>113</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_7">
<property name="geometry">
<rect>
<x>190</x>
<y>110</y>
<width>113</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_8">
<property name="geometry">
<rect>
<x>190</x>
<y>150</y>
<width>113</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_9">
<property name="geometry">
<rect>
<x>190</x>
<y>190</y>
<width>113</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_10">
<property name="geometry">
<rect>
<x>190</x>
<y>230</y>
<width>113</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton_11">
<property name="geometry">
<rect>
<x>370</x>
<y>190</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>返回值班室</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_12">
<property name="geometry">
<rect>
<x>370</x>
<y>120</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>确认修改</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_6">
<widget class="QPushButton" name="pushButton_13">
<property name="geometry">
<rect>
<x>230</x>
<y>220</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>返回值班室</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit_3">
<property name="geometry">
<rect>
<x>153</x>
<y>26</y>
<width>341</width>
<height>141</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_16">
<property name="geometry">
<rect>
<x>31</x>
<y>85</y>
<width>91</width>
<height>20</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>800</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。