讲义与答题纸查询窗体制作
This commit is contained in:
parent
67d3c21f96
commit
0c311dccd5
|
|
@ -0,0 +1,91 @@
|
|||
# -*- 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, QHeaderView, QLabel, QLineEdit,
|
||||
QPushButton, QSizePolicy, QTableWidget, QTableWidgetItem,
|
||||
QWidget)
|
||||
|
||||
class Ui_Form(object):
|
||||
def setupUi(self, Form):
|
||||
if not Form.objectName():
|
||||
Form.setObjectName(u"Form")
|
||||
Form.resize(760, 490)
|
||||
self.tableWidget = QTableWidget(Form)
|
||||
if (self.tableWidget.columnCount() < 3):
|
||||
self.tableWidget.setColumnCount(3)
|
||||
__qtablewidgetitem = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(0, __qtablewidgetitem)
|
||||
__qtablewidgetitem1 = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(1, __qtablewidgetitem1)
|
||||
__qtablewidgetitem2 = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(2, __qtablewidgetitem2)
|
||||
self.tableWidget.setObjectName(u"tableWidget")
|
||||
self.tableWidget.setGeometry(QRect(30, 100, 701, 361))
|
||||
self.pushButton_nid = QPushButton(Form)
|
||||
self.pushButton_nid.setObjectName(u"pushButton_nid")
|
||||
self.pushButton_nid.setGeometry(QRect(160, 30, 75, 51))
|
||||
font = QFont()
|
||||
font.setBold(True)
|
||||
self.pushButton_nid.setFont(font)
|
||||
self.label = QLabel(Form)
|
||||
self.label.setObjectName(u"label")
|
||||
self.label.setGeometry(QRect(30, 30, 91, 16))
|
||||
self.lineEdit_nid = QLineEdit(Form)
|
||||
self.lineEdit_nid.setObjectName(u"lineEdit_nid")
|
||||
self.lineEdit_nid.setGeometry(QRect(30, 60, 121, 20))
|
||||
self.lineEdit_name = QLineEdit(Form)
|
||||
self.lineEdit_name.setObjectName(u"lineEdit_name")
|
||||
self.lineEdit_name.setGeometry(QRect(270, 60, 121, 20))
|
||||
self.label_2 = QLabel(Form)
|
||||
self.label_2.setObjectName(u"label_2")
|
||||
self.label_2.setGeometry(QRect(270, 30, 91, 16))
|
||||
self.pushButton_name = QPushButton(Form)
|
||||
self.pushButton_name.setObjectName(u"pushButton_name")
|
||||
self.pushButton_name.setGeometry(QRect(400, 30, 75, 51))
|
||||
self.pushButton_name.setFont(font)
|
||||
self.label_3 = QLabel(Form)
|
||||
self.label_3.setObjectName(u"label_3")
|
||||
self.label_3.setGeometry(QRect(510, 30, 111, 16))
|
||||
self.pushButton_pid = QPushButton(Form)
|
||||
self.pushButton_pid.setObjectName(u"pushButton_pid")
|
||||
self.pushButton_pid.setGeometry(QRect(640, 30, 75, 51))
|
||||
self.pushButton_pid.setFont(font)
|
||||
self.lineEdit_pid = QLineEdit(Form)
|
||||
self.lineEdit_pid.setObjectName(u"lineEdit_pid")
|
||||
self.lineEdit_pid.setGeometry(QRect(510, 60, 121, 20))
|
||||
|
||||
self.retranslateUi(Form)
|
||||
|
||||
QMetaObject.connectSlotsByName(Form)
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, Form):
|
||||
Form.setWindowTitle(QCoreApplication.translate("Form", u"\u8bb2\u4e49\u4e0e\u7b54\u9898\u7eb8\u4fe1\u606f\u67e5\u8be2", None))
|
||||
___qtablewidgetitem = self.tableWidget.horizontalHeaderItem(0)
|
||||
___qtablewidgetitem.setText(QCoreApplication.translate("Form", u"\u8bb2\u4e49\u5e8f\u53f7", None));
|
||||
___qtablewidgetitem1 = self.tableWidget.horizontalHeaderItem(1)
|
||||
___qtablewidgetitem1.setText(QCoreApplication.translate("Form", u"\u8bb2\u4e49\u540d\u79f0", None));
|
||||
___qtablewidgetitem2 = self.tableWidget.horizontalHeaderItem(2)
|
||||
___qtablewidgetitem2.setText(QCoreApplication.translate("Form", u"\u7b54\u9898\u7eb8\u5e8f\u53f7", None));
|
||||
self.pushButton_nid.setText(QCoreApplication.translate("Form", u"\u4f9d\u5e8f\u53f7\u67e5\u8be2", None))
|
||||
self.label.setText(QCoreApplication.translate("Form", u"\u8bb2\u4e49\u5e8f\u53f7regex", None))
|
||||
self.label_2.setText(QCoreApplication.translate("Form", u"\u8bb2\u4e49\u540d\u79f0regex", None))
|
||||
self.pushButton_name.setText(QCoreApplication.translate("Form", u"\u4f9d\u540d\u79f0\u67e5\u8be2", None))
|
||||
self.label_3.setText(QCoreApplication.translate("Form", u"\u7b54\u9898\u7eb8\u5e8f\u53f7regex", None))
|
||||
self.pushButton_pid.setText(QCoreApplication.translate("Form", u"\u7b54\u9898\u7eb8\u67e5\u8be2", None))
|
||||
# retranslateUi
|
||||
|
||||
|
|
@ -0,0 +1,167 @@
|
|||
<?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="QTableWidget" name="tableWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>100</y>
|
||||
<width>701</width>
|
||||
<height>361</height>
|
||||
</rect>
|
||||
</property>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>讲义序号</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>讲义名称</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>答题纸序号</string>
|
||||
</property>
|
||||
</column>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_nid">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>160</x>
|
||||
<y>30</y>
|
||||
<width>75</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>依序号查询</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>30</y>
|
||||
<width>91</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>讲义序号regex</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_nid">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>60</y>
|
||||
<width>121</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_name">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>270</x>
|
||||
<y>60</y>
|
||||
<width>121</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>270</x>
|
||||
<y>30</y>
|
||||
<width>91</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>讲义名称regex</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_name">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>400</x>
|
||||
<y>30</y>
|
||||
<width>75</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>依名称查询</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>510</x>
|
||||
<y>30</y>
|
||||
<width>111</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>答题纸序号regex</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_pid">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>640</x>
|
||||
<y>30</y>
|
||||
<width>75</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>答题纸查询</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_pid">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>510</x>
|
||||
<y>60</y>
|
||||
<width>121</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
Reference in New Issue