|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | + |
| 3 | +################################################################################ |
| 4 | +## Form generated from reading UI file 'page_top_in_grade.ui' |
| 5 | +## |
| 6 | +## Created by: Qt User Interface Compiler version 6.7.0 |
| 7 | +## |
| 8 | +## WARNING! All changes made in this file will be lost when recompiling UI file! |
| 9 | +################################################################################ |
| 10 | + |
| 11 | +from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale, |
| 12 | + QMetaObject, QObject, QPoint, QRect, |
| 13 | + QSize, QTime, QUrl, Qt) |
| 14 | +from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor, |
| 15 | + QFont, QFontDatabase, QGradient, QIcon, |
| 16 | + QImage, QKeySequence, QLinearGradient, QPainter, |
| 17 | + QPalette, QPixmap, QRadialGradient, QTransform) |
| 18 | +from PySide6.QtWidgets import (QApplication, QComboBox, QFrame, QGridLayout, |
| 19 | + QHBoxLayout, QLabel, QListView, QSizePolicy, |
| 20 | + QVBoxLayout, QWidget) |
| 21 | + |
| 22 | +class Ui_page_top_in_grade(object): |
| 23 | + def setupUi(self, page_top_in_grade): |
| 24 | + if not page_top_in_grade.objectName(): |
| 25 | + page_top_in_grade.setObjectName(u"page_top_in_grade") |
| 26 | + page_top_in_grade.resize(800, 600) |
| 27 | + self.horizontalLayout = QHBoxLayout(page_top_in_grade) |
| 28 | + self.horizontalLayout.setObjectName(u"horizontalLayout") |
| 29 | + self.leftPanel = QFrame(page_top_in_grade) |
| 30 | + self.leftPanel.setObjectName(u"leftPanel") |
| 31 | + self.leftPanel.setMaximumSize(QSize(280, 16777215)) |
| 32 | + self.leftPanel.setStyleSheet(u"\n" |
| 33 | +" background-color: white;\n" |
| 34 | +" border-radius: 8px;\n" |
| 35 | +" padding: 10px;\n" |
| 36 | +" ") |
| 37 | + self.gridLayout = QGridLayout(self.leftPanel) |
| 38 | + self.gridLayout.setObjectName(u"gridLayout") |
| 39 | + self.verticalLayout_2 = QVBoxLayout() |
| 40 | + self.verticalLayout_2.setObjectName(u"verticalLayout_2") |
| 41 | + self.labelExamList = QLabel(self.leftPanel) |
| 42 | + self.labelExamList.setObjectName(u"labelExamList") |
| 43 | + self.labelExamList.setStyleSheet(u"font-weight: bold; font-size: 14px;") |
| 44 | + |
| 45 | + self.verticalLayout_2.addWidget(self.labelExamList) |
| 46 | + |
| 47 | + self.listView = QListView(self.leftPanel) |
| 48 | + self.listView.setObjectName(u"listView") |
| 49 | + self.listView.setStyleSheet(u"\n" |
| 50 | +" QListView {\n" |
| 51 | +" border: 1px solid #dcdfe6;\n" |
| 52 | +" border-radius: 4px;\n" |
| 53 | +" padding: 4px;\n" |
| 54 | +" background-color: #ffffff;\n" |
| 55 | +" }\n" |
| 56 | +" QListView::item {\n" |
| 57 | +" padding: 8px 12px;\n" |
| 58 | +" border-bottom: 1px solid #ebeef5;\n" |
| 59 | +" }\n" |
| 60 | +" QListView::item:hover {\n" |
| 61 | +" background-color: #f5f7fa;\n" |
| 62 | +" }\n" |
| 63 | +" QListView::item:selected {\n" |
| 64 | +" background-color: #ecf5ff;\n" |
| 65 | +" color: #409eff;\n" |
| 66 | +" border-left: 3px solid #409eff;\n" |
| 67 | +" }\n" |
| 68 | +" ") |
| 69 | + |
| 70 | + self.verticalLayout_2.addWidget(self.listView) |
| 71 | + |
| 72 | + |
| 73 | + self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1) |
| 74 | + |
| 75 | + |
| 76 | + self.horizontalLayout.addWidget(self.leftPanel) |
| 77 | + |
| 78 | + self.rightPanel = QFrame(page_top_in_grade) |
| 79 | + self.rightPanel.setObjectName(u"rightPanel") |
| 80 | + self.rightPanel.setStyleSheet(u"\n" |
| 81 | +" background-color: white;\n" |
| 82 | +" border-radius: 8px;\n" |
| 83 | +" padding: 10px;\n" |
| 84 | +" ") |
| 85 | + self.gridLayout_2 = QGridLayout(self.rightPanel) |
| 86 | + self.gridLayout_2.setObjectName(u"gridLayout_2") |
| 87 | + self.verticalLayout = QVBoxLayout() |
| 88 | + self.verticalLayout.setObjectName(u"verticalLayout") |
| 89 | + self.horizontalLayout_2 = QHBoxLayout() |
| 90 | + self.horizontalLayout_2.setObjectName(u"horizontalLayout_2") |
| 91 | + self.labelClass = QLabel(self.rightPanel) |
| 92 | + self.labelClass.setObjectName(u"labelClass") |
| 93 | + |
| 94 | + self.horizontalLayout_2.addWidget(self.labelClass) |
| 95 | + |
| 96 | + self.comboBoxClass = QComboBox(self.rightPanel) |
| 97 | + self.comboBoxClass.setObjectName(u"comboBoxClass") |
| 98 | + |
| 99 | + self.horizontalLayout_2.addWidget(self.comboBoxClass) |
| 100 | + |
| 101 | + |
| 102 | + self.verticalLayout.addLayout(self.horizontalLayout_2) |
| 103 | + |
| 104 | + self.labelChartTitle = QLabel(self.rightPanel) |
| 105 | + self.labelChartTitle.setObjectName(u"labelChartTitle") |
| 106 | + self.labelChartTitle.setStyleSheet(u"font-weight: bold; font-size: 14px;") |
| 107 | + |
| 108 | + self.verticalLayout.addWidget(self.labelChartTitle) |
| 109 | + |
| 110 | + self.widgetChart = QWidget(self.rightPanel) |
| 111 | + self.widgetChart.setObjectName(u"widgetChart") |
| 112 | + self.widgetChart.setMinimumSize(QSize(0, 400)) |
| 113 | + |
| 114 | + self.verticalLayout.addWidget(self.widgetChart) |
| 115 | + |
| 116 | + |
| 117 | + self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1) |
| 118 | + |
| 119 | + |
| 120 | + self.horizontalLayout.addWidget(self.rightPanel) |
| 121 | + |
| 122 | + |
| 123 | + self.retranslateUi(page_top_in_grade) |
| 124 | + |
| 125 | + QMetaObject.connectSlotsByName(page_top_in_grade) |
| 126 | + # setupUi |
| 127 | + |
| 128 | + def retranslateUi(self, page_top_in_grade): |
| 129 | + page_top_in_grade.setWindowTitle(QCoreApplication.translate("page_top_in_grade", u"\u73ed\u7ea7\u7b2c\u4e00\u4e0e\u5e74\u7ea7\u7b2c\u4e00\u5bf9\u6bd4", None)) |
| 130 | + self.labelExamList.setText(QCoreApplication.translate("page_top_in_grade", u"\u9009\u62e9\u8003\u8bd5", None)) |
| 131 | + self.labelClass.setText(QCoreApplication.translate("page_top_in_grade", u"\u9009\u62e9\u73ed\u7ea7\uff1a", None)) |
| 132 | + self.labelChartTitle.setText(QCoreApplication.translate("page_top_in_grade", u"\u73ed\u7ea7\u7b2c\u4e00&\u5e74\u7ea7\u7b2c\u4e00\u5bf9\u6bd4\u56fe", None)) |
| 133 | + # retranslateUi |
| 134 | + |
0 commit comments