新建 修改目标内容 ui
This commit is contained in:
parent
7929480d04
commit
7cc0791625
|
|
@ -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
|
||||||
|
|
||||||
|
|
@ -0,0 +1,118 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>Form</class>
|
||||||
|
<widget class="QWidget" name="Form">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>760</width>
|
||||||
|
<height>490</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>修改目标内容</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>30</x>
|
||||||
|
<y>40</y>
|
||||||
|
<width>61</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>目标编号</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLineEdit" name="lineEdit_id">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>90</x>
|
||||||
|
<y>40</y>
|
||||||
|
<width>261</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="placeholderText">
|
||||||
|
<string>课时编号: K*******B(X), 单元编号: D*****B(X)</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="pushButton_getcontent">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>370</x>
|
||||||
|
<y>40</y>
|
||||||
|
<width>111</width>
|
||||||
|
<height>24</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>获取目标内容</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPlainTextEdit" name="plainTextEdit_objcontent">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>30</x>
|
||||||
|
<y>90</y>
|
||||||
|
<width>571</width>
|
||||||
|
<height>351</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>30</x>
|
||||||
|
<y>70</y>
|
||||||
|
<width>54</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>目标内容</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="pushButton_modify">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>610</x>
|
||||||
|
<y>90</y>
|
||||||
|
<width>131</width>
|
||||||
|
<height>171</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>修改与预提交</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="pushButton_commit">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>610</x>
|
||||||
|
<y>270</y>
|
||||||
|
<width>131</width>
|
||||||
|
<height>171</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<bold>true</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">background-color: rgb(255, 255, 127);</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>提交到数据库</string>
|
||||||
|
</property>
|
||||||
|
<property name="checkable">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
||||||
Reference in New Issue