diff --git a/工具v4/Ui_修改目标内容.py b/工具v4/Ui_修改目标内容.py new file mode 100644 index 00000000..d6df50fa --- /dev/null +++ b/工具v4/Ui_修改目标内容.py @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- + +################################################################################ +## Form generated from reading UI file '修改目标内容.ui' +## +## Created by: Qt User Interface Compiler version 6.6.2 +## +## WARNING! All changes made in this file will be lost when recompiling UI file! +################################################################################ + +from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale, + QMetaObject, QObject, QPoint, QRect, + QSize, QTime, QUrl, Qt) +from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor, + QFont, QFontDatabase, QGradient, QIcon, + QImage, QKeySequence, QLinearGradient, QPainter, + QPalette, QPixmap, QRadialGradient, QTransform) +from PySide6.QtWidgets import (QApplication, QLabel, QLineEdit, QPlainTextEdit, + QPushButton, QSizePolicy, QWidget) + +class Ui_Form(object): + def setupUi(self, Form): + if not Form.objectName(): + Form.setObjectName(u"Form") + Form.resize(760, 490) + self.label = QLabel(Form) + self.label.setObjectName(u"label") + self.label.setGeometry(QRect(30, 40, 61, 16)) + self.lineEdit_id = QLineEdit(Form) + self.lineEdit_id.setObjectName(u"lineEdit_id") + self.lineEdit_id.setGeometry(QRect(90, 40, 261, 20)) + self.pushButton_getcontent = QPushButton(Form) + self.pushButton_getcontent.setObjectName(u"pushButton_getcontent") + self.pushButton_getcontent.setGeometry(QRect(370, 40, 111, 24)) + self.plainTextEdit_objcontent = QPlainTextEdit(Form) + self.plainTextEdit_objcontent.setObjectName(u"plainTextEdit_objcontent") + self.plainTextEdit_objcontent.setGeometry(QRect(30, 90, 571, 351)) + self.label_2 = QLabel(Form) + self.label_2.setObjectName(u"label_2") + self.label_2.setGeometry(QRect(30, 70, 54, 16)) + self.pushButton_modify = QPushButton(Form) + self.pushButton_modify.setObjectName(u"pushButton_modify") + self.pushButton_modify.setGeometry(QRect(610, 90, 131, 171)) + self.pushButton_commit = QPushButton(Form) + self.pushButton_commit.setObjectName(u"pushButton_commit") + self.pushButton_commit.setGeometry(QRect(610, 270, 131, 171)) + font = QFont() + font.setBold(True) + self.pushButton_commit.setFont(font) + self.pushButton_commit.setStyleSheet(u"background-color: rgb(255, 255, 127);") + self.pushButton_commit.setCheckable(False) + + self.retranslateUi(Form) + + QMetaObject.connectSlotsByName(Form) + # setupUi + + def retranslateUi(self, Form): + Form.setWindowTitle(QCoreApplication.translate("Form", u"\u4fee\u6539\u76ee\u6807\u5185\u5bb9", None)) + self.label.setText(QCoreApplication.translate("Form", u"\u76ee\u6807\u7f16\u53f7", None)) + self.lineEdit_id.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bfe\u65f6\u7f16\u53f7: K*******B(X), \u5355\u5143\u7f16\u53f7: D*****B(X)", None)) + self.pushButton_getcontent.setText(QCoreApplication.translate("Form", u"\u83b7\u53d6\u76ee\u6807\u5185\u5bb9", None)) + self.label_2.setText(QCoreApplication.translate("Form", u"\u76ee\u6807\u5185\u5bb9", None)) + self.pushButton_modify.setText(QCoreApplication.translate("Form", u"\u4fee\u6539\u4e0e\u9884\u63d0\u4ea4", None)) + self.pushButton_commit.setText(QCoreApplication.translate("Form", u"\u63d0\u4ea4\u5230\u6570\u636e\u5e93", None)) + # retranslateUi + diff --git a/工具v4/修改目标内容.ui b/工具v4/修改目标内容.ui new file mode 100644 index 00000000..7b2c4930 --- /dev/null +++ b/工具v4/修改目标内容.ui @@ -0,0 +1,118 @@ + + + Form + + + + 0 + 0 + 760 + 490 + + + + 修改目标内容 + + + + + 30 + 40 + 61 + 16 + + + + 目标编号 + + + + + + 90 + 40 + 261 + 20 + + + + 课时编号: K*******B(X), 单元编号: D*****B(X) + + + + + + 370 + 40 + 111 + 24 + + + + 获取目标内容 + + + + + + 30 + 90 + 571 + 351 + + + + + + + 30 + 70 + 54 + 16 + + + + 目标内容 + + + + + + 610 + 90 + 131 + 171 + + + + 修改与预提交 + + + + + + 610 + 270 + 131 + 171 + + + + + true + + + + background-color: rgb(255, 255, 127); + + + 提交到数据库 + + + false + + + + + +