# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'f:\workspace\python\jgzy_queuingsystem\callclient\views\caller_main.ui' # # Created by: PyQt5 UI code generator 5.15.9 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, QtWidgets class Ui_caller_main(object): def setupUi(self, caller_main): caller_main.setObjectName("caller_main") caller_main.resize(600, 70) caller_main.setMinimumSize(QtCore.QSize(600, 70)) caller_main.setMaximumSize(QtCore.QSize(600, 70)) self.f_caller_main = QtWidgets.QFrame(caller_main) self.f_caller_main.setGeometry(QtCore.QRect(0, 0, 601, 72)) self.f_caller_main.setStyleSheet("#f_caller_main{\n" " background-color: rgb(43, 43, 43);\n" "}") self.f_caller_main.setObjectName("f_caller_main") self.verticalLayout = QtWidgets.QVBoxLayout(self.f_caller_main) self.verticalLayout.setContentsMargins(0, 0, 0, 0) self.verticalLayout.setObjectName("verticalLayout") self.f_caller_btns = QtWidgets.QFrame(self.f_caller_main) self.f_caller_btns.setStyleSheet("#f_caller_btns{\n" " margin:0px;\n" " padding-top:5px;\n" "}") self.f_caller_btns.setObjectName("f_caller_btns") self.horizontalLayout = QtWidgets.QHBoxLayout(self.f_caller_btns) self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.horizontalLayout.setObjectName("horizontalLayout") self.btn_call = QtWidgets.QPushButton(self.f_caller_btns) self.btn_call.setMinimumSize(QtCore.QSize(80, 30)) self.btn_call.setMaximumSize(QtCore.QSize(80, 30)) font = QtGui.QFont() font.setFamily("新宋体") font.setPointSize(14) font.setBold(True) font.setWeight(75) self.btn_call.setFont(font) self.btn_call.setStyleSheet("#btn_call{\n" " background-color: rgba(255, 255, 255, 0);\n" " background-image: url(:/btn_call_t_normal.png);\n" " background-repeat:no-repeat;\n" " background-position:center center;\n" " background-size:70% 70%;\n" "}\n" "\n" "#btn_call:hover{\n" " background-color: rgba(255, 255, 255, 0.3);\n" " background-image: url(:/btn_call_t_hover.png);\n" "}") self.btn_call.setText("") self.btn_call.setIconSize(QtCore.QSize(24, 24)) self.btn_call.setCheckable(False) self.btn_call.setObjectName("btn_call") self.horizontalLayout.addWidget(self.btn_call) self.btn_abanden = QtWidgets.QPushButton(self.f_caller_btns) self.btn_abanden.setMinimumSize(QtCore.QSize(80, 30)) self.btn_abanden.setMaximumSize(QtCore.QSize(80, 30)) font = QtGui.QFont() font.setFamily("新宋体") font.setPointSize(12) font.setBold(True) font.setWeight(75) self.btn_abanden.setFont(font) self.btn_abanden.setStyleSheet("#btn_abanden{\n" " background-color: rgba(255, 255, 255, 0);\n" " color: rgb(255, 255, 255);\n" "}\n" "\n" "#btn_abanden:hover{\n" " background-color: rgba(255, 255, 255, 0.3);\n" " \n" " color: rgb(0, 205, 102);\n" "}") self.btn_abanden.setObjectName("btn_abanden") self.horizontalLayout.addWidget(self.btn_abanden) self.btn_start = QtWidgets.QPushButton(self.f_caller_btns) self.btn_start.setMinimumSize(QtCore.QSize(80, 30)) self.btn_start.setMaximumSize(QtCore.QSize(80, 30)) font = QtGui.QFont() font.setFamily("新宋体") font.setPointSize(12) font.setBold(True) font.setWeight(75) self.btn_start.setFont(font) self.btn_start.setStyleSheet("#btn_start{\n" " background-color: rgba(255, 255, 255, 0);\n" " color: rgb(255, 255, 255);\n" "}\n" "\n" "#btn_start:hover{\n" " background-color: rgba(255, 255, 255, 0.3);\n" " \n" " color: rgb(0, 205, 102);\n" "}") self.btn_start.setObjectName("btn_start") self.horizontalLayout.addWidget(self.btn_start) self.btn_pause = QtWidgets.QPushButton(self.f_caller_btns) self.btn_pause.setMinimumSize(QtCore.QSize(80, 30)) self.btn_pause.setMaximumSize(QtCore.QSize(80, 30)) font = QtGui.QFont() font.setFamily("新宋体") font.setPointSize(12) font.setBold(True) font.setWeight(75) self.btn_pause.setFont(font) self.btn_pause.setStyleSheet("#btn_pause{\n" " background-color: rgba(255, 255, 255, 0);\n" " color: rgb(255, 255, 255);\n" "}\n" "\n" "#btn_pause:hover{\n" " background-color: rgba(255, 255, 255, 0.3);\n" " \n" " color: rgb(0, 205, 102);\n" "}") self.btn_pause.setObjectName("btn_pause") self.horizontalLayout.addWidget(self.btn_pause) self.line = QtWidgets.QFrame(self.f_caller_btns) self.line.setMinimumSize(QtCore.QSize(0, 28)) self.line.setMaximumSize(QtCore.QSize(16777215, 28)) self.line.setFrameShape(QtWidgets.QFrame.VLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.horizontalLayout.addWidget(self.line) self.btn_taxer = QtWidgets.QPushButton(self.f_caller_btns) self.btn_taxer.setMinimumSize(QtCore.QSize(100, 30)) self.btn_taxer.setMaximumSize(QtCore.QSize(100, 30)) font = QtGui.QFont() font.setFamily("新宋体") font.setPointSize(12) font.setBold(True) font.setWeight(75) self.btn_taxer.setFont(font) self.btn_taxer.setStyleSheet("#btn_taxer{\n" " background-color: rgba(255, 255, 255, 0);\n" " color: rgb(255, 255, 255);\n" "}\n" "\n" "#btn_taxer:hover{\n" " background-color: rgba(255, 255, 255, 0.3);\n" " \n" " color: rgb(0, 205, 102);\n" "}") self.btn_taxer.setObjectName("btn_taxer") self.horizontalLayout.addWidget(self.btn_taxer) self.line_2 = QtWidgets.QFrame(self.f_caller_btns) self.line_2.setMinimumSize(QtCore.QSize(0, 28)) self.line_2.setMaximumSize(QtCore.QSize(16777215, 28)) self.line_2.setFrameShape(QtWidgets.QFrame.VLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.horizontalLayout.addWidget(self.line_2) self.btn_tkt_pool = QtWidgets.QPushButton(self.f_caller_btns) self.btn_tkt_pool.setMinimumSize(QtCore.QSize(110, 30)) self.btn_tkt_pool.setMaximumSize(QtCore.QSize(110, 30)) font = QtGui.QFont() font.setFamily("新宋体") font.setPointSize(12) font.setBold(True) font.setWeight(75) self.btn_tkt_pool.setFont(font) self.btn_tkt_pool.setStyleSheet("#btn_tkt_pool{\n" " background-color: rgba(255, 255, 255, 0);\n" " color: rgb(255, 255, 255);\n" "}\n" "\n" "#btn_tkt_pool:hover{\n" " background-color: rgba(255, 255, 255, 0.3);\n" " \n" " color: rgb(0, 205, 102);\n" "}") self.btn_tkt_pool.setObjectName("btn_tkt_pool") self.horizontalLayout.addWidget(self.btn_tkt_pool) self.verticalLayout.addWidget(self.f_caller_btns) self.f_caller_info = QtWidgets.QFrame(self.f_caller_main) self.f_caller_info.setStyleSheet("#f_caller_info{\n" " margin:0px\n" "}") self.f_caller_info.setObjectName("f_caller_info") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.f_caller_info) self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.lb_info = QtWidgets.QLabel(self.f_caller_info) self.lb_info.setMinimumSize(QtCore.QSize(590, 32)) self.lb_info.setMaximumSize(QtCore.QSize(590, 32)) font = QtGui.QFont() font.setFamily("黑体") font.setPointSize(14) font.setBold(False) font.setWeight(50) self.lb_info.setFont(font) self.lb_info.setStyleSheet("#lb_info{\n" " \n" " color: rgb(255, 255, 255);\n" "}") self.lb_info.setObjectName("lb_info") self.horizontalLayout_2.addWidget(self.lb_info) self.verticalLayout.addWidget(self.f_caller_info) self.retranslateUi(caller_main) QtCore.QMetaObject.connectSlotsByName(caller_main) def retranslateUi(self, caller_main): _translate = QtCore.QCoreApplication.translate caller_main.setWindowTitle(_translate("caller_main", "Form")) self.btn_abanden.setText(_translate("caller_main", "弃号")) self.btn_start.setText(_translate("caller_main", "开始")) self.btn_pause.setText(_translate("caller_main", "暂停")) self.btn_taxer.setText(_translate("caller_main", "办税员")) self.btn_tkt_pool.setText(_translate("caller_main", "叫号记录")) self.lb_info.setText(_translate("caller_main", "待机中...")) import caller_src_rc