|
@@ -168,6 +168,180 @@ class Ui_MainWindow(object):
|
|
|
self.groupBox.setObjectName("groupBox")
|
|
|
self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
|
|
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
|
|
+ self.pushButton_6 = QtWidgets.QPushButton(self.groupBox)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setPointSize(20)
|
|
|
+ self.pushButton_6.setFont(font)
|
|
|
+ self.pushButton_6.setStyleSheet("background-color:rgb(140,100,220);")
|
|
|
+ self.pushButton_6.setObjectName("pushButton_6")
|
|
|
+ self.gridLayout_2.addWidget(self.pushButton_6, 1, 0, 1, 2)
|
|
|
+ self.pushButton_grade3 = QtWidgets.QPushButton(self.groupBox)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setFamily("宋体")
|
|
|
+ font.setPointSize(9)
|
|
|
+ self.pushButton_grade3.setFont(font)
|
|
|
+ self.pushButton_grade3.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
+ self.pushButton_grade3.setStyleSheet("text-align:left;")
|
|
|
+ icon = QtGui.QIcon()
|
|
|
+ icon.addPixmap(QtGui.QPixmap("../images/2050.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
+ self.pushButton_grade3.setIcon(icon)
|
|
|
+ self.pushButton_grade3.setIconSize(QtCore.QSize(35, 35))
|
|
|
+ self.pushButton_grade3.setObjectName("pushButton_grade3")
|
|
|
+ self.gridLayout_2.addWidget(self.pushButton_grade3, 4, 3, 1, 1)
|
|
|
+ self.pushButton_8 = QtWidgets.QPushButton(self.groupBox)
|
|
|
+ palette = QtGui.QPalette()
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 100, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 221, 163))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(247, 196, 109))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(160, 115, 37))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 100, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 100, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(247, 213, 155))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 100, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 221, 163))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(247, 196, 109))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(160, 115, 37))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 100, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 100, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(247, 213, 155))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 100, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 221, 163))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(247, 196, 109))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(160, 115, 37))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 100, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 100, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(240, 172, 55))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
|
|
|
+ self.pushButton_8.setPalette(palette)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setFamily("新宋体")
|
|
|
+ font.setPointSize(20)
|
|
|
+ self.pushButton_8.setFont(font)
|
|
|
+ self.pushButton_8.setStyleSheet("background-color:rgb(0,100,255);")
|
|
|
+ self.pushButton_8.setObjectName("pushButton_8")
|
|
|
+ self.gridLayout_2.addWidget(self.pushButton_8, 3, 0, 1, 2)
|
|
|
self.pushButton_3 = QtWidgets.QPushButton(self.groupBox)
|
|
|
font = QtGui.QFont()
|
|
|
font.setFamily("新宋体")
|
|
@@ -177,7 +351,20 @@ class Ui_MainWindow(object):
|
|
|
icon = QtGui.QIcon.fromTheme("./images/1480.png")
|
|
|
self.pushButton_3.setIcon(icon)
|
|
|
self.pushButton_3.setObjectName("pushButton_3")
|
|
|
- self.gridLayout_2.addWidget(self.pushButton_3, 0, 0, 1, 2)
|
|
|
+ self.gridLayout_2.addWidget(self.pushButton_3, 3, 2, 1, 2)
|
|
|
+ self.pushButton_grade1 = QtWidgets.QPushButton(self.groupBox)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setFamily("宋体")
|
|
|
+ font.setPointSize(9)
|
|
|
+ self.pushButton_grade1.setFont(font)
|
|
|
+ self.pushButton_grade1.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
+ self.pushButton_grade1.setStyleSheet("text-align:left;")
|
|
|
+ icon1 = QtGui.QIcon()
|
|
|
+ icon1.addPixmap(QtGui.QPixmap("../images/1480.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
+ self.pushButton_grade1.setIcon(icon1)
|
|
|
+ self.pushButton_grade1.setIconSize(QtCore.QSize(35, 35))
|
|
|
+ self.pushButton_grade1.setObjectName("pushButton_grade1")
|
|
|
+ self.gridLayout_2.addWidget(self.pushButton_grade1, 4, 0, 1, 1)
|
|
|
self.pushButton_4 = QtWidgets.QPushButton(self.groupBox)
|
|
|
font = QtGui.QFont()
|
|
|
font.setFamily("新宋体")
|
|
@@ -188,6 +375,175 @@ class Ui_MainWindow(object):
|
|
|
self.pushButton_4.setIcon(icon)
|
|
|
self.pushButton_4.setObjectName("pushButton_4")
|
|
|
self.gridLayout_2.addWidget(self.pushButton_4, 0, 2, 1, 2)
|
|
|
+ self.pushButton_7 = QtWidgets.QPushButton(self.groupBox)
|
|
|
+ palette = QtGui.QPalette()
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 221, 163))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(247, 196, 109))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(160, 115, 37))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(247, 213, 155))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.PlaceholderText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 221, 163))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(247, 196, 109))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(160, 115, 37))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(247, 213, 155))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.PlaceholderText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 221, 163))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(247, 196, 109))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(160, 115, 37))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(120, 86, 27))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(240, 172, 55))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(255, 255, 220))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush)
|
|
|
+ brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
|
|
|
+ brush.setStyle(QtCore.Qt.SolidPattern)
|
|
|
+ palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.PlaceholderText, brush)
|
|
|
+ self.pushButton_7.setPalette(palette)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setFamily("新宋体")
|
|
|
+ font.setPointSize(20)
|
|
|
+ self.pushButton_7.setFont(font)
|
|
|
+ self.pushButton_7.setStyleSheet("background-color:rgb(0,255,0);")
|
|
|
+ self.pushButton_7.setObjectName("pushButton_7")
|
|
|
+ self.gridLayout_2.addWidget(self.pushButton_7, 2, 0, 1, 2)
|
|
|
+ self.pushButton_grade2 = QtWidgets.QPushButton(self.groupBox)
|
|
|
+ font = QtGui.QFont()
|
|
|
+ font.setFamily("宋体")
|
|
|
+ font.setPointSize(9)
|
|
|
+ font.setBold(False)
|
|
|
+ font.setWeight(50)
|
|
|
+ self.pushButton_grade2.setFont(font)
|
|
|
+ self.pushButton_grade2.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
+ self.pushButton_grade2.setStyleSheet("text-align:left;")
|
|
|
+ icon2 = QtGui.QIcon()
|
|
|
+ icon2.addPixmap(QtGui.QPixmap("../images/1500.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
+ self.pushButton_grade2.setIcon(icon2)
|
|
|
+ self.pushButton_grade2.setIconSize(QtCore.QSize(35, 35))
|
|
|
+ self.pushButton_grade2.setObjectName("pushButton_grade2")
|
|
|
+ self.gridLayout_2.addWidget(self.pushButton_grade2, 4, 1, 1, 2)
|
|
|
self.pushButton_5 = QtWidgets.QPushButton(self.groupBox)
|
|
|
palette = QtGui.QPalette()
|
|
|
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
|
|
@@ -341,7 +697,7 @@ class Ui_MainWindow(object):
|
|
|
self.pushButton_5.setFont(font)
|
|
|
self.pushButton_5.setStyleSheet("background-color:rgb(102,255,255);")
|
|
|
self.pushButton_5.setObjectName("pushButton_5")
|
|
|
- self.gridLayout_2.addWidget(self.pushButton_5, 1, 0, 1, 2)
|
|
|
+ self.gridLayout_2.addWidget(self.pushButton_5, 0, 0, 1, 2)
|
|
|
self.pushButton_2 = QtWidgets.QPushButton(self.groupBox)
|
|
|
font = QtGui.QFont()
|
|
|
font.setFamily("新宋体")
|
|
@@ -352,13 +708,6 @@ class Ui_MainWindow(object):
|
|
|
self.pushButton_2.setIcon(icon)
|
|
|
self.pushButton_2.setObjectName("pushButton_2")
|
|
|
self.gridLayout_2.addWidget(self.pushButton_2, 1, 2, 1, 2)
|
|
|
- self.pushButton_6 = QtWidgets.QPushButton(self.groupBox)
|
|
|
- font = QtGui.QFont()
|
|
|
- font.setPointSize(20)
|
|
|
- self.pushButton_6.setFont(font)
|
|
|
- self.pushButton_6.setStyleSheet("background-color:rgb(140,100,220);")
|
|
|
- self.pushButton_6.setObjectName("pushButton_6")
|
|
|
- self.gridLayout_2.addWidget(self.pushButton_6, 2, 0, 1, 2)
|
|
|
self.pushButton = QtWidgets.QPushButton(self.groupBox)
|
|
|
font = QtGui.QFont()
|
|
|
font.setFamily("新宋体")
|
|
@@ -369,55 +718,8 @@ class Ui_MainWindow(object):
|
|
|
self.pushButton.setIcon(icon)
|
|
|
self.pushButton.setObjectName("pushButton")
|
|
|
self.gridLayout_2.addWidget(self.pushButton, 2, 2, 1, 2)
|
|
|
- self.pushButton_grade1 = QtWidgets.QPushButton(self.groupBox)
|
|
|
- font = QtGui.QFont()
|
|
|
- font.setPointSize(9)
|
|
|
- self.pushButton_grade1.setFont(font)
|
|
|
- self.pushButton_grade1.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
- self.pushButton_grade1.setStyleSheet("text-align:left;")
|
|
|
- icon = QtGui.QIcon()
|
|
|
- icon.addPixmap(QtGui.QPixmap("../images/1480.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
- self.pushButton_grade1.setIcon(icon)
|
|
|
- self.pushButton_grade1.setIconSize(QtCore.QSize(35, 35))
|
|
|
- self.pushButton_grade1.setObjectName("pushButton_grade1")
|
|
|
- self.gridLayout_2.addWidget(self.pushButton_grade1, 3, 0, 1, 1)
|
|
|
- self.pushButton_grade2 = QtWidgets.QPushButton(self.groupBox)
|
|
|
- font = QtGui.QFont()
|
|
|
- font.setPointSize(9)
|
|
|
- self.pushButton_grade2.setFont(font)
|
|
|
- self.pushButton_grade2.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
- self.pushButton_grade2.setStyleSheet("text-align:left;")
|
|
|
- icon1 = QtGui.QIcon()
|
|
|
- icon1.addPixmap(QtGui.QPixmap("../images/1500.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
- self.pushButton_grade2.setIcon(icon1)
|
|
|
- self.pushButton_grade2.setIconSize(QtCore.QSize(35, 35))
|
|
|
- self.pushButton_grade2.setObjectName("pushButton_grade2")
|
|
|
- self.gridLayout_2.addWidget(self.pushButton_grade2, 3, 1, 1, 2)
|
|
|
- self.pushButton_grade3 = QtWidgets.QPushButton(self.groupBox)
|
|
|
- font = QtGui.QFont()
|
|
|
- font.setPointSize(9)
|
|
|
- self.pushButton_grade3.setFont(font)
|
|
|
- self.pushButton_grade3.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
- self.pushButton_grade3.setStyleSheet("text-align:left;")
|
|
|
- icon2 = QtGui.QIcon()
|
|
|
- icon2.addPixmap(QtGui.QPixmap("../images/2050.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
- self.pushButton_grade3.setIcon(icon2)
|
|
|
- self.pushButton_grade3.setIconSize(QtCore.QSize(35, 35))
|
|
|
- self.pushButton_grade3.setObjectName("pushButton_grade3")
|
|
|
- self.gridLayout_2.addWidget(self.pushButton_grade3, 3, 3, 1, 1)
|
|
|
self.verticalLayout.addWidget(self.groupBox)
|
|
|
self.horizontalLayout_9.addLayout(self.verticalLayout)
|
|
|
- self.plate_clip_image_box = QtWidgets.QGroupBox(self.parkingspace)
|
|
|
- self.plate_clip_image_box.setObjectName("plate_clip_image_box")
|
|
|
- self.horizontalLayout = QtWidgets.QHBoxLayout(self.plate_clip_image_box)
|
|
|
- self.horizontalLayout.setObjectName("horizontalLayout")
|
|
|
- self.plate_clip_image_label = QtWidgets.QLabel(self.plate_clip_image_box)
|
|
|
- self.plate_clip_image_label.setText("")
|
|
|
- self.plate_clip_image_label.setScaledContents(True)
|
|
|
- self.plate_clip_image_label.setAlignment(QtCore.Qt.AlignCenter)
|
|
|
- self.plate_clip_image_label.setObjectName("plate_clip_image_label")
|
|
|
- self.horizontalLayout.addWidget(self.plate_clip_image_label)
|
|
|
- self.horizontalLayout_9.addWidget(self.plate_clip_image_box)
|
|
|
self.plate_full_image_box = QtWidgets.QGroupBox(self.parkingspace)
|
|
|
self.plate_full_image_box.setObjectName("plate_full_image_box")
|
|
|
self.horizontalLayout_18 = QtWidgets.QHBoxLayout(self.plate_full_image_box)
|
|
@@ -429,9 +731,20 @@ class Ui_MainWindow(object):
|
|
|
self.plate_full_image_label.setObjectName("plate_full_image_label")
|
|
|
self.horizontalLayout_18.addWidget(self.plate_full_image_label)
|
|
|
self.horizontalLayout_9.addWidget(self.plate_full_image_box)
|
|
|
+ self.plate_clip_image_box = QtWidgets.QGroupBox(self.parkingspace)
|
|
|
+ self.plate_clip_image_box.setObjectName("plate_clip_image_box")
|
|
|
+ self.horizontalLayout = QtWidgets.QHBoxLayout(self.plate_clip_image_box)
|
|
|
+ self.horizontalLayout.setObjectName("horizontalLayout")
|
|
|
+ self.plate_clip_image_label = QtWidgets.QLabel(self.plate_clip_image_box)
|
|
|
+ self.plate_clip_image_label.setText("")
|
|
|
+ self.plate_clip_image_label.setScaledContents(True)
|
|
|
+ self.plate_clip_image_label.setAlignment(QtCore.Qt.AlignCenter)
|
|
|
+ self.plate_clip_image_label.setObjectName("plate_clip_image_label")
|
|
|
+ self.horizontalLayout.addWidget(self.plate_clip_image_label)
|
|
|
+ self.horizontalLayout_9.addWidget(self.plate_clip_image_box)
|
|
|
self.horizontalLayout_9.setStretch(0, 1)
|
|
|
- self.horizontalLayout_9.setStretch(1, 2)
|
|
|
- self.horizontalLayout_9.setStretch(2, 2)
|
|
|
+ self.horizontalLayout_9.setStretch(1, 4)
|
|
|
+ self.horizontalLayout_9.setStretch(2, 3)
|
|
|
self.verticalLayout_4.addLayout(self.horizontalLayout_9)
|
|
|
self.widget = QtWidgets.QWidget(self.parkingspace)
|
|
|
self.widget.setObjectName("widget")
|
|
@@ -794,17 +1107,19 @@ class Ui_MainWindow(object):
|
|
|
self.groupBox_3.setTitle(_translate("MainWindow", "库位号"))
|
|
|
self.unit_label.setText(_translate("MainWindow", "A-1"))
|
|
|
self.groupBox.setTitle(_translate("MainWindow", "车位说明"))
|
|
|
+ self.pushButton_6.setText(_translate("MainWindow", "存车中"))
|
|
|
+ self.pushButton_grade3.setText(_translate("MainWindow", "限高2.05"))
|
|
|
+ self.pushButton_8.setText(_translate("MainWindow", "已锁定"))
|
|
|
self.pushButton_3.setText(_translate("MainWindow", "出入口"))
|
|
|
+ self.pushButton_grade1.setText(_translate("MainWindow", "限高1.48"))
|
|
|
self.pushButton_4.setText(_translate("MainWindow", "空闲车位"))
|
|
|
+ self.pushButton_7.setText(_translate("MainWindow", "已预约"))
|
|
|
+ self.pushButton_grade2.setText(_translate("MainWindow", "限高1.50"))
|
|
|
self.pushButton_5.setText(_translate("MainWindow", "取车中"))
|
|
|
self.pushButton_2.setText(_translate("MainWindow", "占用车位"))
|
|
|
- self.pushButton_6.setText(_translate("MainWindow", "存车中"))
|
|
|
self.pushButton.setText(_translate("MainWindow", "故障车位"))
|
|
|
- self.pushButton_grade1.setText(_translate("MainWindow", "限高1.48"))
|
|
|
- self.pushButton_grade2.setText(_translate("MainWindow", "限高1.50"))
|
|
|
- self.pushButton_grade3.setText(_translate("MainWindow", "限高2.05"))
|
|
|
- self.plate_clip_image_box.setTitle(_translate("MainWindow", "车牌特写图"))
|
|
|
self.plate_full_image_box.setTitle(_translate("MainWindow", "车辆全景图"))
|
|
|
+ self.plate_clip_image_box.setTitle(_translate("MainWindow", "车牌特写图"))
|
|
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.parkingspace), _translate("MainWindow", "车位管理"))
|
|
|
self.label.setText(_translate("MainWindow", "上古街智能立体停车库停取车排队信息"))
|
|
|
self.groupBox_2.setTitle(_translate("MainWindow", "显示单元"))
|