def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(925, 624) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.label = QtWidgets.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(30, 20, 141, 17)) self.label.setObjectName("label") self.listWidget = QtWidgets.QListWidget(self.centralwidget) self.listWidget.setGeometry(QtCore.QRect(210, 50, 171, 141)) self.listWidget.setStyleSheet("background: rgba(211, 5, 7,0.4)") self.listWidget.setObjectName("listWidget") self.label_2 = QtWidgets.QLabel(self.centralwidget) self.label_2.setGeometry(QtCore.QRect(210, 20, 171, 17)) self.label_2.setObjectName("label_2") self.listView_2 = QtWidgets.QListView(self.centralwidget) self.listView_2.setGeometry(QtCore.QRect(220, 230, 151, 331)) self.listView_2.setStyleSheet("background: rgba(94,34,112,0.3)") self.listView_2.setObjectName("listView_2") self.label_3 = QtWidgets.QLabel(self.centralwidget) self.label_3.setGeometry(QtCore.QRect(220, 200, 141, 17)) self.label_3.setObjectName("label_3") self.layoutWidget = QtWidgets.QWidget(self.centralwidget) self.layoutWidget.setGeometry(QtCore.QRect(230, 230, 131, 331)) self.layoutWidget.setObjectName("layoutWidget") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.layoutWidget) self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) self.verticalLayout_2.setObjectName("verticalLayout_2") self.pushButton_5 = QtWidgets.QPushButton(self.layoutWidget) self.pushButton_5.setObjectName("pushButton_5") self.verticalLayout_2.addWidget(self.pushButton_5) self.pushButton_6 = QtWidgets.QPushButton(self.layoutWidget) self.pushButton_6.setObjectName("pushButton_6") self.verticalLayout_2.addWidget(self.pushButton_6) self.pushButton_7 = QtWidgets.QPushButton(self.layoutWidget) self.pushButton_7.setObjectName("pushButton_7") self.verticalLayout_2.addWidget(self.pushButton_7) self.pushButton_8 = QtWidgets.QPushButton(self.layoutWidget) self.pushButton_8.setObjectName("pushButton_8") self.verticalLayout_2.addWidget(self.pushButton_8) self.layoutWidget_2 = QtWidgets.QWidget(self.centralwidget) self.layoutWidget_2.setGeometry(QtCore.QRect(230, 50, 131, 131)) self.layoutWidget_2.setObjectName("layoutWidget_2") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.layoutWidget_2) self.verticalLayout_3.setContentsMargins(0, 0, 0, 0) self.verticalLayout_3.setObjectName("verticalLayout_3") self.pushButton_11 = QtWidgets.QPushButton(self.layoutWidget_2) self.pushButton_11.setObjectName("pushButton_11") self.verticalLayout_3.addWidget(self.pushButton_11) self.pushButton_12 = QtWidgets.QPushButton(self.layoutWidget_2) self.pushButton_12.setObjectName("pushButton_12") self.verticalLayout_3.addWidget(self.pushButton_12) self.label_4 = QtWidgets.QLabel(self.centralwidget) self.label_4.setGeometry(QtCore.QRect(410, 20, 241, 17)) self.label_4.setObjectName("label_4") self.listWidget_2 = QtWidgets.QListWidget(self.centralwidget) self.listWidget_2.setGeometry(QtCore.QRect(390, 50, 281, 471)) self.listWidget_2.setStyleSheet("background:rgba(78,78,8,0.3)") self.listWidget_2.setObjectName("listWidget_2") self.pushButton_9 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_9.setGeometry(QtCore.QRect(400, 440, 231, 25)) self.pushButton_9.setObjectName("pushButton_9") self.pushButton_10 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_10.setGeometry(QtCore.QRect(400, 320, 231, 25)) self.pushButton_10.setObjectName("pushButton_10") self.label_5 = QtWidgets.QLabel(self.centralwidget) self.label_5.setGeometry(QtCore.QRect(450, 80, 161, 17)) self.label_5.setObjectName("label_5") self.label_10 = QtWidgets.QLabel(self.centralwidget) self.label_10.setGeometry(QtCore.QRect(620, 190, 67, 17)) self.label_10.setObjectName("label_10") self.label_11 = QtWidgets.QLabel(self.centralwidget) self.label_11.setGeometry(QtCore.QRect(620, 220, 67, 17)) self.label_11.setObjectName("label_11") self.label_12 = QtWidgets.QLabel(self.centralwidget) self.label_12.setGeometry(QtCore.QRect(620, 150, 67, 17)) self.label_12.setObjectName("label_12") self.label_13 = QtWidgets.QLabel(self.centralwidget) self.label_13.setGeometry(QtCore.QRect(680, 20, 141, 17)) self.label_13.setObjectName("label_13") self.layoutWidget_3 = QtWidgets.QWidget(self.centralwidget) self.layoutWidget_3.setGeometry(QtCore.QRect(690, 90, 184, 401)) self.layoutWidget_3.setObjectName("layoutWidget_3") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.layoutWidget_3) self.verticalLayout_5.setContentsMargins(0, 0, 0, 0) self.verticalLayout_5.setObjectName("verticalLayout_5") self.pushButton_13 = QtWidgets.QPushButton(self.layoutWidget_3) self.pushButton_13.setObjectName("pushButton_13") self.verticalLayout_5.addWidget(self.pushButton_13) self.pushButton_14 = QtWidgets.QPushButton(self.layoutWidget_3) self.pushButton_14.setObjectName("pushButton_14") self.verticalLayout_5.addWidget(self.pushButton_14) self.pushButton_15 = QtWidgets.QPushButton(self.layoutWidget_3) self.pushButton_15.setObjectName("pushButton_15") self.verticalLayout_5.addWidget(self.pushButton_15) self.pushButton_16 = QtWidgets.QPushButton(self.layoutWidget_3) self.pushButton_16.setObjectName("pushButton_16") self.verticalLayout_5.addWidget(self.pushButton_16) self.label_14 = QtWidgets.QLabel(self.layoutWidget_3) self.label_14.setMaximumSize(QtCore.QSize(250, 20)) self.label_14.setObjectName("label_14") self.verticalLayout_5.addWidget(self.label_14) self.plainTextEdit_5 = QtWidgets.QPlainTextEdit(self.layoutWidget_3) self.plainTextEdit_5.setMaximumSize(QtCore.QSize(16777215, 20)) self.plainTextEdit_5.setPlaceholderText("") self.plainTextEdit_5.setObjectName("plainTextEdit_5") self.verticalLayout_5.addWidget(self.plainTextEdit_5) self.pushButton_17 = QtWidgets.QPushButton(self.layoutWidget_3) self.pushButton_17.setObjectName("pushButton_17") self.verticalLayout_5.addWidget(self.pushButton_17) self.listView_3 = QtWidgets.QListView(self.centralwidget) self.listView_3.setGeometry(QtCore.QRect(680, 50, 201, 471)) self.listView_3.setStyleSheet("background:rgba(2,33,114,0.2)") self.listView_3.setObjectName("listView_3") self.formLayoutWidget_2 = QtWidgets.QWidget(self.centralwidget) self.formLayoutWidget_2.setGeometry(QtCore.QRect(400, 150, 213, 95)) self.formLayoutWidget_2.setObjectName("formLayoutWidget_2") self.formLayout_2 = QtWidgets.QFormLayout(self.formLayoutWidget_2) self.formLayout_2.setContentsMargins(0, 0, 0, 0) self.formLayout_2.setObjectName("formLayout_2") self.verticalLayout_4 = QtWidgets.QVBoxLayout() self.verticalLayout_4.setSizeConstraint(QtWidgets.QLayout.SetFixedSize) self.verticalLayout_4.setContentsMargins(-1, -1, -1, 0) self.verticalLayout_4.setSpacing(1) self.verticalLayout_4.setObjectName("verticalLayout_4") self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_6 = QtWidgets.QLabel(self.formLayoutWidget_2) self.label_6.setMaximumSize(QtCore.QSize(50, 20)) self.label_6.setObjectName("label_6") self.horizontalLayout.addWidget(self.label_6) self.plainTextEdit = QtWidgets.QPlainTextEdit(self.formLayoutWidget_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.plainTextEdit.sizePolicy().hasHeightForWidth()) self.plainTextEdit.setSizePolicy(sizePolicy) self.plainTextEdit.setMaximumSize(QtCore.QSize(150, 20)) self.plainTextEdit.setBaseSize(QtCore.QSize(10, 10)) self.plainTextEdit.setObjectName("plainTextEdit") self.horizontalLayout.addWidget(self.plainTextEdit) self.verticalLayout_4.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_7 = QtWidgets.QLabel(self.formLayoutWidget_2) self.label_7.setMaximumSize(QtCore.QSize(50, 20)) self.label_7.setObjectName("label_7") self.horizontalLayout_2.addWidget(self.label_7) self.plainTextEdit_2 = QtWidgets.QPlainTextEdit( self.formLayoutWidget_2) self.plainTextEdit_2.setMaximumSize(QtCore.QSize(150, 20)) self.plainTextEdit_2.setObjectName("plainTextEdit_2") self.horizontalLayout_2.addWidget(self.plainTextEdit_2) self.verticalLayout_4.addLayout(self.horizontalLayout_2) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_8 = QtWidgets.QLabel(self.formLayoutWidget_2) self.label_8.setMaximumSize(QtCore.QSize(50, 20)) self.label_8.setObjectName("label_8") self.horizontalLayout_3.addWidget(self.label_8) self.plainTextEdit_3 = QtWidgets.QPlainTextEdit( self.formLayoutWidget_2) self.plainTextEdit_3.setMaximumSize(QtCore.QSize(150, 20)) self.plainTextEdit_3.setObjectName("plainTextEdit_3") self.horizontalLayout_3.addWidget(self.plainTextEdit_3) self.verticalLayout_4.addLayout(self.horizontalLayout_3) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setSizeConstraint( QtWidgets.QLayout.SetMinimumSize) self.horizontalLayout_4.setSpacing(0) self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.label_9 = QtWidgets.QLabel(self.formLayoutWidget_2) self.label_9.setMaximumSize(QtCore.QSize(50, 20)) self.label_9.setObjectName("label_9") self.horizontalLayout_4.addWidget(self.label_9) self.plainTextEdit_4 = QtWidgets.QPlainTextEdit( self.formLayoutWidget_2) self.plainTextEdit_4.setMaximumSize(QtCore.QSize(150, 20)) self.plainTextEdit_4.setObjectName("plainTextEdit_4") self.horizontalLayout_4.addWidget(self.plainTextEdit_4) self.verticalLayout_4.addLayout(self.horizontalLayout_4) self.verticalLayout_4.setStretch(1, 1) self.verticalLayout_4.setStretch(2, 1) self.verticalLayout_4.setStretch(3, 1) self.formLayout_2.setLayout(0, QtWidgets.QFormLayout.LabelRole, self.verticalLayout_4) self.columnView = QtWidgets.QColumnView(self.centralwidget) self.columnView.setGeometry(QtCore.QRect(30, 60, 151, 441)) self.columnView.setStyleSheet("background:rgb(233, 185, 110)") self.columnView.setObjectName("columnView") self.layoutWidget_4 = QtWidgets.QWidget(self.centralwidget) self.layoutWidget_4.setGeometry(QtCore.QRect(40, 110, 131, 331)) self.layoutWidget_4.setObjectName("layoutWidget_4") self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget_4) self.verticalLayout.setContentsMargins(0, 0, 0, 0) self.verticalLayout.setObjectName("verticalLayout") self.pushButton = QtWidgets.QPushButton(self.layoutWidget_4) self.pushButton.setObjectName("pushButton") self.pushButton.clicked.connect(self.pushButton_pushed) self.verticalLayout.addWidget(self.pushButton) self.pushButton_2 = QtWidgets.QPushButton(self.layoutWidget_4) self.pushButton_2.setObjectName("pushButton_2") self.pushButton_2.clicked.connect(self.pushButton_2pushed) self.verticalLayout.addWidget(self.pushButton_2) self.pushButton_3 = QtWidgets.QPushButton(self.layoutWidget_4) self.pushButton_3.setObjectName("pushButton_3") self.pushButton_3.clicked.connect(self.pushButton_3pushed) self.verticalLayout.addWidget(self.pushButton_3) self.pushButton_4 = QtWidgets.QPushButton(self.layoutWidget_4) self.pushButton_4.setObjectName("pushButton_4") self.pushButton_4.clicked.connect(self.pushButton_4pushed) self.pushButton_5.setObjectName("pushButton_5") self.pushButton_5.clicked.connect(self.pushButton_5pushed) self.pushButton_9.setObjectName("pushButton_9") self.pushButton_9.clicked.connect(self.pushButton_9pushed) self.pushButton_10.setObjectName("pushButton_10") self.pushButton_10.clicked.connect(self.pushButton_10pushed) self.verticalLayout.addWidget(self.pushButton_4) self.pushButton.raise_() self.pushButton_2.raise_() self.pushButton_4.raise_() self.pushButton_3.raise_() self.columnView.raise_() self.listView_2.raise_() self.listView_3.raise_() self.listWidget_2.raise_() self.layoutWidget.raise_() self.label.raise_() self.listWidget.raise_() self.label_2.raise_() self.label_3.raise_() self.layoutWidget_2.raise_() self.label_4.raise_() self.pushButton_9.raise_() self.pushButton_10.raise_() self.label_5.raise_() self.label_10.raise_() self.label_11.raise_() self.label_12.raise_() self.label_13.raise_() self.layoutWidget_3.raise_() self.formLayoutWidget_2.raise_() self.layoutWidget_4.raise_() MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 925, 22)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, JobSchedulerUI): JobSchedulerUI.setObjectName("JobSchedulerUI") JobSchedulerUI.resize(929, 851) self.centralwidget = QtWidgets.QWidget(JobSchedulerUI) self.centralwidget.setObjectName("centralwidget") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout_5.setObjectName("verticalLayout_5") self.JobInfoPanel = QtWidgets.QTableWidget(self.centralwidget) self.JobInfoPanel.setMaximumSize(QtCore.QSize(16777215, 40)) self.JobInfoPanel.setObjectName("JobInfoPanel") self.JobInfoPanel.setColumnCount(0) self.JobInfoPanel.setRowCount(0) self.verticalLayout_5.addWidget(self.JobInfoPanel) spacerItem = QtWidgets.QSpacerItem(50, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) self.verticalLayout_5.addItem(spacerItem) self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.verticalLayout_14 = QtWidgets.QVBoxLayout() self.verticalLayout_14.setObjectName("verticalLayout_14") self.JobInProgressCounter = QtWidgets.QLabel(self.centralwidget) self.JobInProgressCounter.setObjectName("JobInProgressCounter") self.verticalLayout_14.addWidget(self.JobInProgressCounter) self.JobInPlanCheckCounter = QtWidgets.QLabel(self.centralwidget) self.JobInPlanCheckCounter.setObjectName("JobInPlanCheckCounter") self.verticalLayout_14.addWidget(self.JobInPlanCheckCounter) self.JobListColumn = QtWidgets.QColumnView(self.centralwidget) self.JobListColumn.setObjectName("JobListColumn") self.verticalLayout_14.addWidget(self.JobListColumn) self.horizontalLayout_9.addLayout(self.verticalLayout_14) spacerItem1 = QtWidgets.QSpacerItem(10, 50, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_9.addItem(spacerItem1) self.verticalLayout_6 = QtWidgets.QVBoxLayout() self.verticalLayout_6.setObjectName("verticalLayout_6") self.tabWidget = QtWidgets.QTabWidget(self.centralwidget) self.tabWidget.setLayoutDirection(QtCore.Qt.LeftToRight) self.tabWidget.setObjectName("tabWidget") self.CreateJobWidget = QtWidgets.QWidget() self.CreateJobWidget.setObjectName("CreateJobWidget") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.CreateJobWidget) self.verticalLayout_3.setContentsMargins(0, 0, 0, 0) self.verticalLayout_3.setObjectName("verticalLayout_3") self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label = QtWidgets.QLabel(self.CreateJobWidget) self.label.setObjectName("label") self.horizontalLayout.addWidget(self.label) self.designerName_txt = QtWidgets.QLineEdit(self.CreateJobWidget) self.designerName_txt.setObjectName("designerName_txt") self.horizontalLayout.addWidget(self.designerName_txt) self.verticalLayout_2.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.jobName = QtWidgets.QLabel(self.CreateJobWidget) self.jobName.setObjectName("jobName") self.horizontalLayout_2.addWidget(self.jobName) self.JobName_txt = QtWidgets.QLineEdit(self.CreateJobWidget) self.JobName_txt.setObjectName("JobName_txt") self.horizontalLayout_2.addWidget(self.JobName_txt) self.verticalLayout_2.addLayout(self.horizontalLayout_2) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.contractorName = QtWidgets.QLabel(self.CreateJobWidget) self.contractorName.setObjectName("contractorName") self.horizontalLayout_5.addWidget(self.contractorName) self.Contractor_txt = QtWidgets.QLineEdit(self.CreateJobWidget) self.Contractor_txt.setObjectName("Contractor_txt") self.horizontalLayout_5.addWidget(self.Contractor_txt) self.verticalLayout_2.addLayout(self.horizontalLayout_5) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.eng_days = QtWidgets.QLabel(self.CreateJobWidget) self.eng_days.setObjectName("eng_days") self.horizontalLayout_3.addWidget(self.eng_days) self.EngDays_spin = QtWidgets.QSpinBox(self.CreateJobWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.EngDays_spin.sizePolicy().hasHeightForWidth()) self.EngDays_spin.setSizePolicy(sizePolicy) self.EngDays_spin.setObjectName("EngDays_spin") self.horizontalLayout_3.addWidget(self.EngDays_spin) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.draft_days = QtWidgets.QLabel(self.CreateJobWidget) self.draft_days.setObjectName("draft_days") self.horizontalLayout_4.addWidget(self.draft_days) self.DftDays_spin = QtWidgets.QSpinBox(self.CreateJobWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.DftDays_spin.sizePolicy().hasHeightForWidth()) self.DftDays_spin.setSizePolicy(sizePolicy) self.DftDays_spin.setObjectName("DftDays_spin") self.horizontalLayout_4.addWidget(self.DftDays_spin) self.verticalLayout_2.addLayout(self.horizontalLayout_4) self.horizontalLayout_19 = QtWidgets.QHBoxLayout() self.horizontalLayout_19.setObjectName("horizontalLayout_19") self.start_date = QtWidgets.QLabel(self.CreateJobWidget) self.start_date.setObjectName("start_date") self.horizontalLayout_19.addWidget(self.start_date) self.EstStartDay_date = QtWidgets.QDateEdit(self.CreateJobWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.EstStartDay_date.sizePolicy().hasHeightForWidth()) self.EstStartDay_date.setSizePolicy(sizePolicy) self.EstStartDay_date.setCalendarPopup(True) self.EstStartDay_date.setObjectName("EstStartDay_date") self.horizontalLayout_19.addWidget(self.EstStartDay_date) self.verticalLayout_2.addLayout(self.horizontalLayout_19) self.horizontalLayout_27 = QtWidgets.QHBoxLayout() self.horizontalLayout_27.setObjectName("horizontalLayout_27") self.label_19 = QtWidgets.QLabel(self.CreateJobWidget) self.label_19.setObjectName("label_19") self.horizontalLayout_27.addWidget(self.label_19) self.APN_txt = QtWidgets.QLineEdit(self.CreateJobWidget) self.APN_txt.setObjectName("APN_txt") self.horizontalLayout_27.addWidget(self.APN_txt) self.verticalLayout_2.addLayout(self.horizontalLayout_27) self.horizontalLayout_28 = QtWidgets.QHBoxLayout() self.horizontalLayout_28.setObjectName("horizontalLayout_28") self.label_20 = QtWidgets.QLabel(self.CreateJobWidget) self.label_20.setObjectName("label_20") self.horizontalLayout_28.addWidget(self.label_20) self.Address_txt = QtWidgets.QLineEdit(self.CreateJobWidget) self.Address_txt.setObjectName("Address_txt") self.horizontalLayout_28.addWidget(self.Address_txt) self.verticalLayout_2.addLayout(self.horizontalLayout_28) self.CreateJobConfirm_btn = QtWidgets.QDialogButtonBox( self.CreateJobWidget) self.CreateJobConfirm_btn.setStandardButtons( QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.CreateJobConfirm_btn.setObjectName("CreateJobConfirm_btn") self.verticalLayout_2.addWidget(self.CreateJobConfirm_btn) self.verticalLayout_3.addLayout(self.verticalLayout_2) self.tabWidget.addTab(self.CreateJobWidget, "") self.ConfirmJobWidget = QtWidgets.QWidget() self.ConfirmJobWidget.setObjectName("ConfirmJobWidget") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.ConfirmJobWidget) self.verticalLayout_8.setContentsMargins(0, 0, 0, 0) self.verticalLayout_8.setObjectName("verticalLayout_8") self.verticalLayout_7 = QtWidgets.QVBoxLayout() self.verticalLayout_7.setObjectName("verticalLayout_7") self.horizontalLayout_10 = QtWidgets.QHBoxLayout() self.horizontalLayout_10.setObjectName("horizontalLayout_10") self.label_6 = QtWidgets.QLabel(self.ConfirmJobWidget) self.label_6.setObjectName("label_6") self.horizontalLayout_10.addWidget(self.label_6) self.Deposit_CheckBox = QtWidgets.QCheckBox(self.ConfirmJobWidget) self.Deposit_CheckBox.setChecked(True) self.Deposit_CheckBox.setObjectName("Deposit_CheckBox") self.horizontalLayout_10.addWidget(self.Deposit_CheckBox) self.verticalLayout_7.addLayout(self.horizontalLayout_10) self.horizontalLayout_12 = QtWidgets.QHBoxLayout() self.horizontalLayout_12.setObjectName("horizontalLayout_12") self.label_9 = QtWidgets.QLabel(self.ConfirmJobWidget) self.label_9.setObjectName("label_9") self.horizontalLayout_12.addWidget(self.label_9) self.DepositDate_date = QtWidgets.QDateEdit(self.ConfirmJobWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.DepositDate_date.sizePolicy().hasHeightForWidth()) self.DepositDate_date.setSizePolicy(sizePolicy) self.DepositDate_date.setContextMenuPolicy( QtCore.Qt.DefaultContextMenu) self.DepositDate_date.setCalendarPopup(True) self.DepositDate_date.setDate(QtCore.QDate(2016, 1, 1)) self.DepositDate_date.setObjectName("DepositDate_date") self.horizontalLayout_12.addWidget(self.DepositDate_date) self.verticalLayout_7.addLayout(self.horizontalLayout_12) self.horizontalLayout_26 = QtWidgets.QHBoxLayout() self.horizontalLayout_26.setObjectName("horizontalLayout_26") self.label_18 = QtWidgets.QLabel(self.ConfirmJobWidget) self.label_18.setObjectName("label_18") self.horizontalLayout_26.addWidget(self.label_18) self.StartDate_date = QtWidgets.QDateEdit(self.ConfirmJobWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.StartDate_date.sizePolicy().hasHeightForWidth()) self.StartDate_date.setSizePolicy(sizePolicy) self.StartDate_date.setCalendarPopup(True) self.StartDate_date.setObjectName("StartDate_date") self.horizontalLayout_26.addWidget(self.StartDate_date) self.verticalLayout_7.addLayout(self.horizontalLayout_26) self.ConfirmJobConfirm_btn = QtWidgets.QDialogButtonBox( self.ConfirmJobWidget) self.ConfirmJobConfirm_btn.setLayoutDirection(QtCore.Qt.RightToLeft) self.ConfirmJobConfirm_btn.setStandardButtons( QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.ConfirmJobConfirm_btn.setCenterButtons(True) self.ConfirmJobConfirm_btn.setObjectName("ConfirmJobConfirm_btn") self.verticalLayout_7.addWidget(self.ConfirmJobConfirm_btn) self.horizontalLayout_11 = QtWidgets.QHBoxLayout() self.horizontalLayout_11.setObjectName("horizontalLayout_11") self.JobIDprint_field = QtWidgets.QLabel(self.ConfirmJobWidget) self.JobIDprint_field.setEnabled(True) self.JobIDprint_field.setSizeIncrement(QtCore.QSize(30, 0)) self.JobIDprint_field.setBaseSize(QtCore.QSize(30, 20)) self.JobIDprint_field.setInputMethodHints(QtCore.Qt.ImhDigitsOnly) self.JobIDprint_field.setObjectName("JobIDprint_field") self.horizontalLayout_11.addWidget(self.JobIDprint_field, 0, QtCore.Qt.AlignHCenter) self.verticalLayout_7.addLayout(self.horizontalLayout_11) self.verticalLayout_8.addLayout(self.verticalLayout_7) self.tabWidget.addTab(self.ConfirmJobWidget, "") self.RevisionWidget = QtWidgets.QWidget() self.RevisionWidget.setEnabled(True) self.RevisionWidget.setObjectName("RevisionWidget") self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.RevisionWidget) self.verticalLayout_10.setContentsMargins(0, 0, 0, 0) self.verticalLayout_10.setObjectName("verticalLayout_10") self.verticalLayout_9 = QtWidgets.QVBoxLayout() self.verticalLayout_9.setObjectName("verticalLayout_9") self.horizontalLayout_20 = QtWidgets.QHBoxLayout() self.horizontalLayout_20.setObjectName("horizontalLayout_20") self.label_12 = QtWidgets.QLabel(self.RevisionWidget) self.label_12.setEnabled(True) self.label_12.setObjectName("label_12") self.horizontalLayout_20.addWidget(self.label_12) self.PlanCheckReturn_date = QtWidgets.QDateEdit(self.RevisionWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.PlanCheckReturn_date.sizePolicy().hasHeightForWidth()) self.PlanCheckReturn_date.setSizePolicy(sizePolicy) self.PlanCheckReturn_date.setCalendarPopup(True) self.PlanCheckReturn_date.setObjectName("PlanCheckReturn_date") self.horizontalLayout_20.addWidget(self.PlanCheckReturn_date) self.verticalLayout_9.addLayout(self.horizontalLayout_20) self.horizontalLayout_21 = QtWidgets.QHBoxLayout() self.horizontalLayout_21.setObjectName("horizontalLayout_21") self.label_13 = QtWidgets.QLabel(self.RevisionWidget) self.label_13.setObjectName("label_13") self.horizontalLayout_21.addWidget(self.label_13) self.EngRevisionDays_spin = QtWidgets.QSpinBox(self.RevisionWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.EngRevisionDays_spin.sizePolicy().hasHeightForWidth()) self.EngRevisionDays_spin.setSizePolicy(sizePolicy) self.EngRevisionDays_spin.setObjectName("EngRevisionDays_spin") self.horizontalLayout_21.addWidget(self.EngRevisionDays_spin) self.verticalLayout_9.addLayout(self.horizontalLayout_21) self.horizontalLayout_22 = QtWidgets.QHBoxLayout() self.horizontalLayout_22.setObjectName("horizontalLayout_22") self.label_14 = QtWidgets.QLabel(self.RevisionWidget) self.label_14.setObjectName("label_14") self.horizontalLayout_22.addWidget(self.label_14) self.DraftRevisionDays_spin = QtWidgets.QSpinBox(self.RevisionWidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.DraftRevisionDays_spin.sizePolicy().hasHeightForWidth()) self.DraftRevisionDays_spin.setSizePolicy(sizePolicy) self.DraftRevisionDays_spin.setObjectName("DraftRevisionDays_spin") self.horizontalLayout_22.addWidget(self.DraftRevisionDays_spin) self.verticalLayout_9.addLayout(self.horizontalLayout_22) self.RevisionConfirm_btn = QtWidgets.QDialogButtonBox( self.RevisionWidget) self.RevisionConfirm_btn.setStandardButtons( QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.RevisionConfirm_btn.setObjectName("RevisionConfirm_btn") self.verticalLayout_9.addWidget(self.RevisionConfirm_btn, 0, QtCore.Qt.AlignHCenter) self.verticalLayout_10.addLayout(self.verticalLayout_9) self.tabWidget.addTab(self.RevisionWidget, "") self.EditJobWidget = QtWidgets.QWidget() self.EditJobWidget.setObjectName("EditJobWidget") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.EditJobWidget) self.verticalLayout_4.setContentsMargins(0, 0, 0, 0) self.verticalLayout_4.setObjectName("verticalLayout_4") self.Changes = QtWidgets.QTabWidget(self.EditJobWidget) self.Changes.setObjectName("Changes") self.SchedChange_tab = QtWidgets.QWidget() self.SchedChange_tab.setObjectName("SchedChange_tab") self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.SchedChange_tab) self.verticalLayout_11.setContentsMargins(0, 0, 0, 0) self.verticalLayout_11.setObjectName("verticalLayout_11") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout_17 = QtWidgets.QHBoxLayout() self.horizontalLayout_17.setObjectName("horizontalLayout_17") self.label_10 = QtWidgets.QLabel(self.SchedChange_tab) self.label_10.setObjectName("label_10") self.horizontalLayout_17.addWidget(self.label_10) self.EngDead_btn = QtWidgets.QCheckBox(self.SchedChange_tab) self.EngDead_btn.setObjectName("EngDead_btn") self.horizontalLayout_17.addWidget(self.EngDead_btn) self.DftDead_btn = QtWidgets.QCheckBox(self.SchedChange_tab) self.DftDead_btn.setObjectName("DftDead_btn") self.horizontalLayout_17.addWidget(self.DftDead_btn) self.PlanCheck_btn = QtWidgets.QCheckBox(self.SchedChange_tab) self.PlanCheck_btn.setObjectName("PlanCheck_btn") self.horizontalLayout_17.addWidget(self.PlanCheck_btn) self.EngRevision_btn = QtWidgets.QCheckBox(self.SchedChange_tab) self.EngRevision_btn.setObjectName("EngRevision_btn") self.horizontalLayout_17.addWidget(self.EngRevision_btn) self.DftRevision_btn = QtWidgets.QCheckBox(self.SchedChange_tab) self.DftRevision_btn.setObjectName("DftRevision_btn") self.horizontalLayout_17.addWidget(self.DftRevision_btn) self.Final_btn = QtWidgets.QCheckBox(self.SchedChange_tab) self.Final_btn.setObjectName("Final_btn") self.horizontalLayout_17.addWidget(self.Final_btn) self.SchedAll_btn = QtWidgets.QCheckBox(self.SchedChange_tab) self.SchedAll_btn.setObjectName("SchedAll_btn") self.horizontalLayout_17.addWidget(self.SchedAll_btn) self.verticalLayout.addLayout(self.horizontalLayout_17) self.horizontalLayout_18 = QtWidgets.QHBoxLayout() self.horizontalLayout_18.setObjectName("horizontalLayout_18") self.label_11 = QtWidgets.QLabel(self.SchedChange_tab) self.label_11.setObjectName("label_11") self.horizontalLayout_18.addWidget(self.label_11, 0, QtCore.Qt.AlignHCenter) self.PushDays_spin = QtWidgets.QSpinBox(self.SchedChange_tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.PushDays_spin.sizePolicy().hasHeightForWidth()) self.PushDays_spin.setSizePolicy(sizePolicy) self.PushDays_spin.setObjectName("PushDays_spin") self.horizontalLayout_18.addWidget(self.PushDays_spin) self.verticalLayout.addLayout(self.horizontalLayout_18) self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.label_2 = QtWidgets.QLabel(self.SchedChange_tab) self.label_2.setObjectName("label_2") self.horizontalLayout_7.addWidget(self.label_2) self.EngDeadline_date = QtWidgets.QDateEdit(self.SchedChange_tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.EngDeadline_date.sizePolicy().hasHeightForWidth()) self.EngDeadline_date.setSizePolicy(sizePolicy) self.EngDeadline_date.setCalendarPopup(True) self.EngDeadline_date.setObjectName("EngDeadline_date") self.horizontalLayout_7.addWidget(self.EngDeadline_date) self.verticalLayout.addLayout(self.horizontalLayout_7) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.label_3 = QtWidgets.QLabel(self.SchedChange_tab) self.label_3.setObjectName("label_3") self.horizontalLayout_6.addWidget(self.label_3) self.DftDeadline_date = QtWidgets.QDateEdit(self.SchedChange_tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.DftDeadline_date.sizePolicy().hasHeightForWidth()) self.DftDeadline_date.setSizePolicy(sizePolicy) self.DftDeadline_date.setCalendarPopup(True) self.DftDeadline_date.setObjectName("DftDeadline_date") self.horizontalLayout_6.addWidget(self.DftDeadline_date) self.verticalLayout.addLayout(self.horizontalLayout_6) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.label_4 = QtWidgets.QLabel(self.SchedChange_tab) self.label_4.setObjectName("label_4") self.horizontalLayout_8.addWidget(self.label_4) self.PlanCheck_date = QtWidgets.QDateEdit(self.SchedChange_tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.PlanCheck_date.sizePolicy().hasHeightForWidth()) self.PlanCheck_date.setSizePolicy(sizePolicy) self.PlanCheck_date.setCalendarPopup(True) self.PlanCheck_date.setObjectName("PlanCheck_date") self.horizontalLayout_8.addWidget(self.PlanCheck_date) self.verticalLayout.addLayout(self.horizontalLayout_8) self.horizontalLayout_13 = QtWidgets.QHBoxLayout() self.horizontalLayout_13.setObjectName("horizontalLayout_13") self.label_5 = QtWidgets.QLabel(self.SchedChange_tab) self.label_5.setObjectName("label_5") self.horizontalLayout_13.addWidget(self.label_5) self.EngRevision_date = QtWidgets.QDateEdit(self.SchedChange_tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.EngRevision_date.sizePolicy().hasHeightForWidth()) self.EngRevision_date.setSizePolicy(sizePolicy) self.EngRevision_date.setCalendarPopup(True) self.EngRevision_date.setObjectName("EngRevision_date") self.horizontalLayout_13.addWidget(self.EngRevision_date) self.verticalLayout.addLayout(self.horizontalLayout_13) self.horizontalLayout_14 = QtWidgets.QHBoxLayout() self.horizontalLayout_14.setObjectName("horizontalLayout_14") self.label_7 = QtWidgets.QLabel(self.SchedChange_tab) self.label_7.setObjectName("label_7") self.horizontalLayout_14.addWidget(self.label_7) self.DftRevision_date = QtWidgets.QDateEdit(self.SchedChange_tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.DftRevision_date.sizePolicy().hasHeightForWidth()) self.DftRevision_date.setSizePolicy(sizePolicy) self.DftRevision_date.setCalendarPopup(True) self.DftRevision_date.setObjectName("DftRevision_date") self.horizontalLayout_14.addWidget(self.DftRevision_date) self.verticalLayout.addLayout(self.horizontalLayout_14) self.horizontalLayout_15 = QtWidgets.QHBoxLayout() self.horizontalLayout_15.setObjectName("horizontalLayout_15") self.label_8 = QtWidgets.QLabel(self.SchedChange_tab) self.label_8.setObjectName("label_8") self.horizontalLayout_15.addWidget(self.label_8) self.FinalDeadline_date = QtWidgets.QDateEdit(self.SchedChange_tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.FinalDeadline_date.sizePolicy().hasHeightForWidth()) self.FinalDeadline_date.setSizePolicy(sizePolicy) self.FinalDeadline_date.setCalendarPopup(True) self.FinalDeadline_date.setObjectName("FinalDeadline_date") self.horizontalLayout_15.addWidget(self.FinalDeadline_date) self.verticalLayout.addLayout(self.horizontalLayout_15) self.ScheduleConfirm_btn = QtWidgets.QDialogButtonBox( self.SchedChange_tab) self.ScheduleConfirm_btn.setStandardButtons( QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.ScheduleConfirm_btn.setObjectName("ScheduleConfirm_btn") self.verticalLayout.addWidget(self.ScheduleConfirm_btn, 0, QtCore.Qt.AlignHCenter) self.verticalLayout_11.addLayout(self.verticalLayout) self.Changes.addTab(self.SchedChange_tab, "") self.JobDetail_tab = QtWidgets.QWidget() self.JobDetail_tab.setObjectName("JobDetail_tab") self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.JobDetail_tab) self.verticalLayout_13.setContentsMargins(0, 0, 0, 0) self.verticalLayout_13.setObjectName("verticalLayout_13") self.verticalLayout_12 = QtWidgets.QVBoxLayout() self.verticalLayout_12.setObjectName("verticalLayout_12") self.horizontalLayout_16 = QtWidgets.QHBoxLayout() self.horizontalLayout_16.setObjectName("horizontalLayout_16") self.label_15 = QtWidgets.QLabel(self.JobDetail_tab) self.label_15.setObjectName("label_15") self.horizontalLayout_16.addWidget(self.label_15) self.DesignerEdit_txt = QtWidgets.QLineEdit(self.JobDetail_tab) self.DesignerEdit_txt.setObjectName("DesignerEdit_txt") self.horizontalLayout_16.addWidget(self.DesignerEdit_txt) self.verticalLayout_12.addLayout(self.horizontalLayout_16) self.horizontalLayout_23 = QtWidgets.QHBoxLayout() self.horizontalLayout_23.setObjectName("horizontalLayout_23") self.label_16 = QtWidgets.QLabel(self.JobDetail_tab) self.label_16.setObjectName("label_16") self.horizontalLayout_23.addWidget(self.label_16) self.JobNameEdit_txt = QtWidgets.QLineEdit(self.JobDetail_tab) self.JobNameEdit_txt.setObjectName("JobNameEdit_txt") self.horizontalLayout_23.addWidget(self.JobNameEdit_txt) self.verticalLayout_12.addLayout(self.horizontalLayout_23) self.horizontalLayout_25 = QtWidgets.QHBoxLayout() self.horizontalLayout_25.setObjectName("horizontalLayout_25") self.label_17 = QtWidgets.QLabel(self.JobDetail_tab) self.label_17.setObjectName("label_17") self.horizontalLayout_25.addWidget(self.label_17) self.ContractorEdit_txt = QtWidgets.QLineEdit(self.JobDetail_tab) self.ContractorEdit_txt.setObjectName("ContractorEdit_txt") self.horizontalLayout_25.addWidget(self.ContractorEdit_txt) self.verticalLayout_12.addLayout(self.horizontalLayout_25) self.horizontalLayout_29 = QtWidgets.QHBoxLayout() self.horizontalLayout_29.setObjectName("horizontalLayout_29") self.label_21 = QtWidgets.QLabel(self.JobDetail_tab) self.label_21.setObjectName("label_21") self.horizontalLayout_29.addWidget(self.label_21) self.APNEdit_txt = QtWidgets.QLineEdit(self.JobDetail_tab) self.APNEdit_txt.setObjectName("APNEdit_txt") self.horizontalLayout_29.addWidget(self.APNEdit_txt) self.verticalLayout_12.addLayout(self.horizontalLayout_29) self.horizontalLayout_30 = QtWidgets.QHBoxLayout() self.horizontalLayout_30.setObjectName("horizontalLayout_30") self.label_22 = QtWidgets.QLabel(self.JobDetail_tab) self.label_22.setObjectName("label_22") self.horizontalLayout_30.addWidget(self.label_22) self.AddressEdit_txt = QtWidgets.QLineEdit(self.JobDetail_tab) self.AddressEdit_txt.setObjectName("AddressEdit_txt") self.horizontalLayout_30.addWidget(self.AddressEdit_txt) self.verticalLayout_12.addLayout(self.horizontalLayout_30) self.JobEditConfirm_btn = QtWidgets.QDialogButtonBox( self.JobDetail_tab) self.JobEditConfirm_btn.setStandardButtons( QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.JobEditConfirm_btn.setObjectName("JobEditConfirm_btn") self.verticalLayout_12.addWidget(self.JobEditConfirm_btn, 0, QtCore.Qt.AlignHCenter) self.verticalLayout_13.addLayout(self.verticalLayout_12) self.Changes.addTab(self.JobDetail_tab, "") self.verticalLayout_4.addWidget(self.Changes) self.tabWidget.addTab(self.EditJobWidget, "") self.verticalLayout_6.addWidget(self.tabWidget) self.horizontalLayout_9.addLayout(self.verticalLayout_6) self.verticalLayout_5.addLayout(self.horizontalLayout_9) spacerItem2 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) self.verticalLayout_5.addItem(spacerItem2) self.horizontalLayout_24 = QtWidgets.QHBoxLayout() self.horizontalLayout_24.setObjectName("horizontalLayout_24") self.verticalLayout_15 = QtWidgets.QVBoxLayout() self.verticalLayout_15.setObjectName("verticalLayout_15") self.DayViewTitle_txt = QtWidgets.QLabel(self.centralwidget) self.DayViewTitle_txt.setObjectName("DayViewTitle_txt") self.verticalLayout_15.addWidget(self.DayViewTitle_txt) self.DayView_lst = QtWidgets.QListWidget(self.centralwidget) self.DayView_lst.setObjectName("DayView_lst") self.verticalLayout_15.addWidget(self.DayView_lst) self.horizontalLayout_24.addLayout(self.verticalLayout_15) spacerItem3 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_24.addItem(spacerItem3) self.calendarWidget = QtWidgets.QCalendarWidget(self.centralwidget) font = QtGui.QFont() font.setPointSize(13) font.setBold(False) font.setItalic(False) font.setUnderline(False) font.setWeight(50) font.setStrikeOut(False) font.setKerning(True) self.calendarWidget.setFont(font) self.calendarWidget.setAutoFillBackground(True) self.calendarWidget.setFirstDayOfWeek(QtCore.Qt.Monday) self.calendarWidget.setGridVisible(True) self.calendarWidget.setHorizontalHeaderFormat( QtWidgets.QCalendarWidget.LongDayNames) self.calendarWidget.setVerticalHeaderFormat( QtWidgets.QCalendarWidget.NoVerticalHeader) self.calendarWidget.setNavigationBarVisible(True) self.calendarWidget.setDateEditEnabled(True) self.calendarWidget.setObjectName("calendarWidget") self.horizontalLayout_24.addWidget(self.calendarWidget) self.verticalLayout_5.addLayout(self.horizontalLayout_24) JobSchedulerUI.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(JobSchedulerUI) self.menubar.setGeometry(QtCore.QRect(0, 0, 929, 22)) self.menubar.setObjectName("menubar") JobSchedulerUI.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(JobSchedulerUI) self.statusbar.setObjectName("statusbar") JobSchedulerUI.setStatusBar(self.statusbar) self.retranslateUi(JobSchedulerUI) self.tabWidget.setCurrentIndex(0) self.Changes.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(JobSchedulerUI)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(388, 562) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.loadButton = QtWidgets.QPushButton(self.centralwidget) self.loadButton.setGeometry(QtCore.QRect(10, 480, 101, 61)) self.loadButton.setObjectName("loadButton") self.saveButton = QtWidgets.QPushButton(self.centralwidget) self.saveButton.setGeometry(QtCore.QRect(120, 480, 101, 61)) self.saveButton.setObjectName("saveButton") self.tabWidget = QtWidgets.QTabWidget(self.centralwidget) self.tabWidget.setEnabled(True) self.tabWidget.setGeometry(QtCore.QRect(10, 20, 371, 451)) self.tabWidget.setObjectName("tabWidget") self.mainTab = QtWidgets.QWidget() self.mainTab.setObjectName("mainTab") self.addBindInUse = QtWidgets.QPushButton(self.mainTab) self.addBindInUse.setGeometry(QtCore.QRect(10, 290, 81, 21)) self.addBindInUse.setObjectName("addBindInUse") self.deleteItemInUse = QtWidgets.QPushButton(self.mainTab) self.deleteItemInUse.setGeometry(QtCore.QRect(100, 290, 81, 21)) self.deleteItemInUse.setObjectName("deleteItemInUse") self.addAvailableKeys = QtWidgets.QPushButton(self.mainTab) self.addAvailableKeys.setGeometry(QtCore.QRect(190, 290, 81, 21)) self.addAvailableKeys.setObjectName("addAvailableKeys") self.deleteAvailableKeys = QtWidgets.QPushButton(self.mainTab) self.deleteAvailableKeys.setGeometry(QtCore.QRect(280, 290, 81, 21)) self.deleteAvailableKeys.setObjectName("deleteAvailableKeys") self.scrollArea = QtWidgets.QScrollArea(self.mainTab) self.scrollArea.setGeometry(QtCore.QRect(10, 30, 171, 251)) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 169, 249)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.bindsInUseCol = QtWidgets.QColumnView( self.scrollAreaWidgetContents) self.bindsInUseCol.setGeometry(QtCore.QRect(0, 0, 171, 501)) self.bindsInUseCol.setObjectName("bindsInUseCol") self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.scrollArea_2 = QtWidgets.QScrollArea(self.mainTab) self.scrollArea_2.setGeometry(QtCore.QRect(190, 30, 171, 251)) self.scrollArea_2.setWidgetResizable(True) self.scrollArea_2.setObjectName("scrollArea_2") self.scrollAreaWidgetContents_2 = QtWidgets.QWidget() self.scrollAreaWidgetContents_2.setGeometry( QtCore.QRect(0, 0, 169, 249)) self.scrollAreaWidgetContents_2.setObjectName( "scrollAreaWidgetContents_2") self.availKeysCol = QtWidgets.QColumnView( self.scrollAreaWidgetContents_2) self.availKeysCol.setGeometry(QtCore.QRect(0, 0, 171, 501)) self.availKeysCol.setObjectName("availKeysCol") self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2) self.label_17 = QtWidgets.QLabel(self.mainTab) self.label_17.setGeometry(QtCore.QRect(20, 10, 71, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_17.setFont(font) self.label_17.setObjectName("label_17") self.label_18 = QtWidgets.QLabel(self.mainTab) self.label_18.setGeometry(QtCore.QRect(200, 10, 121, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_18.setFont(font) self.label_18.setObjectName("label_18") self.textBrowser = QtWidgets.QTextBrowser(self.mainTab) self.textBrowser.setGeometry(QtCore.QRect(10, 320, 351, 101)) font = QtGui.QFont() font.setPointSize(1) self.textBrowser.setFont(font) self.textBrowser.setAutoFillBackground(False) self.textBrowser.setTabChangesFocus(False) self.textBrowser.setObjectName("textBrowser") self.tabWidget.addTab(self.mainTab, "") self.editTab = QtWidgets.QWidget() self.editTab.setObjectName("editTab") self.groupBox = QtWidgets.QGroupBox(self.editTab) self.groupBox.setGeometry(QtCore.QRect(10, 10, 171, 361)) self.groupBox.setObjectName("groupBox") self.editAlias2Combo = QtWidgets.QComboBox(self.groupBox) self.editAlias2Combo.setEnabled(True) self.editAlias2Combo.setGeometry(QtCore.QRect(10, 160, 91, 22)) self.editAlias2Combo.setEditable(False) self.editAlias2Combo.setObjectName("editAlias2Combo") self.label = QtWidgets.QLabel(self.groupBox) self.label.setGeometry(QtCore.QRect(10, 90, 61, 16)) self.label.setObjectName("label") self.label_2 = QtWidgets.QLabel(self.groupBox) self.label_2.setGeometry(QtCore.QRect(10, 140, 61, 16)) self.label_2.setObjectName("label_2") self.label_10 = QtWidgets.QLabel(self.groupBox) self.label_10.setGeometry(QtCore.QRect(10, 190, 91, 16)) self.label_10.setObjectName("label_10") self.editTriggerCombo = QtWidgets.QComboBox(self.groupBox) self.editTriggerCombo.setEnabled(True) self.editTriggerCombo.setGeometry(QtCore.QRect(10, 210, 91, 22)) self.editTriggerCombo.setObjectName("editTriggerCombo") self.holdRadio = QtWidgets.QRadioButton(self.groupBox) self.holdRadio.setGeometry(QtCore.QRect(10, 20, 81, 17)) self.holdRadio.setObjectName("holdRadio") self.autoRadio = QtWidgets.QRadioButton(self.groupBox) self.autoRadio.setGeometry(QtCore.QRect(10, 40, 111, 17)) self.autoRadio.setObjectName("autoRadio") self.disableRadio = QtWidgets.QRadioButton(self.groupBox) self.disableRadio.setGeometry(QtCore.QRect(10, 60, 151, 17)) self.disableRadio.setObjectName("disableRadio") self.editAlias1Combo = QtWidgets.QComboBox(self.groupBox) self.editAlias1Combo.setGeometry(QtCore.QRect(10, 110, 91, 22)) self.editAlias1Combo.setObjectName("editAlias1Combo") self.groupBox_4 = QtWidgets.QGroupBox(self.editTab) self.groupBox_4.setGeometry(QtCore.QRect(190, 10, 171, 361)) self.groupBox_4.setObjectName("groupBox_4") self.pickAliasCombo = QtWidgets.QComboBox(self.groupBox_4) self.pickAliasCombo.setGeometry(QtCore.QRect(10, 130, 91, 22)) self.pickAliasCombo.setObjectName("pickAliasCombo") self.togglePickAliasCombo = QtWidgets.QComboBox(self.groupBox_4) self.togglePickAliasCombo.setGeometry(QtCore.QRect(10, 80, 91, 22)) self.togglePickAliasCombo.setObjectName("togglePickAliasCombo") self.label_4 = QtWidgets.QLabel(self.groupBox_4) self.label_4.setGeometry(QtCore.QRect(10, 110, 121, 16)) self.label_4.setObjectName("label_4") self.label_3 = QtWidgets.QLabel(self.groupBox_4) self.label_3.setGeometry(QtCore.QRect(10, 60, 111, 16)) self.label_3.setObjectName("label_3") self.togglePickCheck = QtWidgets.QCheckBox(self.groupBox_4) self.togglePickCheck.setGeometry(QtCore.QRect(10, 40, 151, 17)) self.togglePickCheck.setObjectName("togglePickCheck") self.switchPickCheck = QtWidgets.QCheckBox(self.groupBox_4) self.switchPickCheck.setGeometry(QtCore.QRect(10, 20, 161, 17)) self.switchPickCheck.setObjectName("switchPickCheck") self.autoSelectCheck = QtWidgets.QCheckBox(self.groupBox_4) self.autoSelectCheck.setGeometry(QtCore.QRect(10, 170, 141, 21)) self.autoSelectCheck.setObjectName("autoSelectCheck") self.label_20 = QtWidgets.QLabel(self.groupBox_4) self.label_20.setGeometry(QtCore.QRect(20, 190, 141, 61)) self.label_20.setWordWrap(True) self.label_20.setObjectName("label_20") self.tabWidget.addTab(self.editTab, "") self.resetTab = QtWidgets.QWidget() self.resetTab.setObjectName("resetTab") self.groupBox_3 = QtWidgets.QGroupBox(self.resetTab) self.groupBox_3.setGeometry(QtCore.QRect(10, 10, 341, 181)) self.groupBox_3.setObjectName("groupBox_3") self.singleResetCheck = QtWidgets.QCheckBox(self.groupBox_3) self.singleResetCheck.setGeometry(QtCore.QRect(10, 20, 70, 17)) self.singleResetCheck.setObjectName("singleResetCheck") self.resetTrigger = QtWidgets.QComboBox(self.groupBox_3) self.resetTrigger.setGeometry(QtCore.QRect(10, 70, 91, 22)) self.resetTrigger.setObjectName("resetTrigger") self.resetAlias = QtWidgets.QComboBox(self.groupBox_3) self.resetAlias.setGeometry(QtCore.QRect(160, 70, 91, 22)) self.resetAlias.setObjectName("resetAlias") self.label_15 = QtWidgets.QLabel(self.groupBox_3) self.label_15.setGeometry(QtCore.QRect(10, 50, 101, 16)) self.label_15.setObjectName("label_15") self.label_16 = QtWidgets.QLabel(self.groupBox_3) self.label_16.setGeometry(QtCore.QRect(160, 50, 51, 16)) self.label_16.setObjectName("label_16") self.label_19 = QtWidgets.QLabel(self.groupBox_3) self.label_19.setGeometry(QtCore.QRect(160, 100, 171, 51)) self.label_19.setWordWrap(True) self.label_19.setObjectName("label_19") self.tabWidget.addTab(self.resetTab, "") self.buildTab = QtWidgets.QWidget() self.buildTab.setObjectName("buildTab") self.groupBox_2 = QtWidgets.QGroupBox(self.buildTab) self.groupBox_2.setGeometry(QtCore.QRect(10, 10, 341, 271)) self.groupBox_2.setObjectName("groupBox_2") self.instantBuildCheck = QtWidgets.QCheckBox(self.groupBox_2) self.instantBuildCheck.setGeometry(QtCore.QRect(10, 20, 70, 17)) self.instantBuildCheck.setObjectName("instantBuildCheck") self.label_9 = QtWidgets.QLabel(self.groupBox_2) self.label_9.setGeometry(QtCore.QRect(10, 190, 91, 16)) self.label_9.setObjectName("label_9") self.placeBuildAliasCombo = QtWidgets.QComboBox(self.groupBox_2) self.placeBuildAliasCombo.setGeometry(QtCore.QRect(100, 190, 91, 22)) self.placeBuildAliasCombo.setObjectName("placeBuildAliasCombo") self.label_21 = QtWidgets.QLabel(self.groupBox_2) self.label_21.setGeometry(QtCore.QRect(10, 40, 71, 21)) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_21.setFont(font) self.label_21.setObjectName("label_21") self.label_22 = QtWidgets.QLabel(self.groupBox_2) self.label_22.setGeometry(QtCore.QRect(30, 70, 51, 16)) self.label_22.setObjectName("label_22") self.label_23 = QtWidgets.QLabel(self.groupBox_2) self.label_23.setGeometry(QtCore.QRect(30, 100, 51, 16)) self.label_23.setObjectName("label_23") self.label_24 = QtWidgets.QLabel(self.groupBox_2) self.label_24.setGeometry(QtCore.QRect(30, 130, 47, 13)) self.label_24.setObjectName("label_24") self.wallTriggerCombo = QtWidgets.QComboBox(self.groupBox_2) self.wallTriggerCombo.setGeometry(QtCore.QRect(60, 70, 91, 22)) self.wallTriggerCombo.setObjectName("wallTriggerCombo") self.roofTriggerCombo = QtWidgets.QComboBox(self.groupBox_2) self.roofTriggerCombo.setGeometry(QtCore.QRect(60, 160, 91, 22)) self.roofTriggerCombo.setObjectName("roofTriggerCombo") self.label_25 = QtWidgets.QLabel(self.groupBox_2) self.label_25.setGeometry(QtCore.QRect(30, 160, 51, 16)) self.label_25.setObjectName("label_25") self.floorTriggerCombo = QtWidgets.QComboBox(self.groupBox_2) self.floorTriggerCombo.setGeometry(QtCore.QRect(60, 100, 91, 22)) self.floorTriggerCombo.setObjectName("floorTriggerCombo") self.stairTriggerCombo = QtWidgets.QComboBox(self.groupBox_2) self.stairTriggerCombo.setGeometry(QtCore.QRect(60, 130, 91, 22)) self.stairTriggerCombo.setObjectName("stairTriggerCombo") self.label_26 = QtWidgets.QLabel(self.groupBox_2) self.label_26.setGeometry(QtCore.QRect(170, 40, 71, 21)) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_26.setFont(font) self.label_26.setObjectName("label_26") self.label_7 = QtWidgets.QLabel(self.groupBox_2) self.label_7.setGeometry(QtCore.QRect(190, 70, 51, 16)) self.label_7.setObjectName("label_7") self.stairAliasCombo = QtWidgets.QComboBox(self.groupBox_2) self.stairAliasCombo.setGeometry(QtCore.QRect(220, 130, 91, 22)) self.stairAliasCombo.setObjectName("stairAliasCombo") self.floorAliasCombo = QtWidgets.QComboBox(self.groupBox_2) self.floorAliasCombo.setGeometry(QtCore.QRect(220, 100, 91, 22)) self.floorAliasCombo.setObjectName("floorAliasCombo") self.wallAliasCombo = QtWidgets.QComboBox(self.groupBox_2) self.wallAliasCombo.setGeometry(QtCore.QRect(220, 70, 91, 22)) self.wallAliasCombo.setObjectName("wallAliasCombo") self.roofAliasCombo = QtWidgets.QComboBox(self.groupBox_2) self.roofAliasCombo.setGeometry(QtCore.QRect(220, 160, 91, 22)) self.roofAliasCombo.setObjectName("roofAliasCombo") self.label_11 = QtWidgets.QLabel(self.groupBox_2) self.label_11.setGeometry(QtCore.QRect(190, 100, 51, 16)) self.label_11.setObjectName("label_11") self.label_13 = QtWidgets.QLabel(self.groupBox_2) self.label_13.setGeometry(QtCore.QRect(190, 130, 51, 16)) self.label_13.setObjectName("label_13") self.label_27 = QtWidgets.QLabel(self.groupBox_2) self.label_27.setGeometry(QtCore.QRect(190, 160, 31, 16)) self.label_27.setObjectName("label_27") self.label_5 = QtWidgets.QLabel(self.groupBox_2) self.label_5.setGeometry(QtCore.QRect(20, 220, 171, 51)) self.label_5.setWordWrap(True) self.label_5.setObjectName("label_5") self.tabWidget.addTab(self.buildTab, "") self.startStopButton = QtWidgets.QPushButton(self.centralwidget) self.startStopButton.setGeometry(QtCore.QRect(280, 480, 101, 61)) self.startStopButton.setObjectName("startStopButton") MainWindow.setCentralWidget(self.centralwidget) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(350, 600) MainWindow.setMinimumSize(QtCore.QSize(350, 600)) MainWindow.setMaximumSize(QtCore.QSize(350, 600)) MainWindow.setIconSize(QtCore.QSize(24, 24)) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayoutWidget = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget.setGeometry(QtCore.QRect(40, 0, 271, 32)) self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget) self.verticalLayout.setContentsMargins(0, 0, 0, 0) self.verticalLayout.setObjectName("verticalLayout") self.label = QtWidgets.QLabel(self.verticalLayoutWidget) self.label.setEnabled(True) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.label.setFont(font) self.label.setTextFormat(QtCore.Qt.AutoText) self.label.setObjectName("label") self.verticalLayout.addWidget(self.label) self.verticalLayoutWidget_3 = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget_3.setGeometry(QtCore.QRect(180, 50, 161, 41)) self.verticalLayoutWidget_3.setObjectName("verticalLayoutWidget_3") self.verticalLayout_3 = QtWidgets.QVBoxLayout( self.verticalLayoutWidget_3) self.verticalLayout_3.setContentsMargins(0, 0, 0, 0) self.verticalLayout_3.setObjectName("verticalLayout_3") self.label_3 = QtWidgets.QLabel(self.verticalLayoutWidget_3) font = QtGui.QFont() font.setPointSize(8) font.setBold(False) font.setWeight(50) self.label_3.setFont(font) self.label_3.setObjectName("label_3") self.verticalLayout_3.addWidget(self.label_3) self.comboBox_2 = QtWidgets.QComboBox(self.verticalLayoutWidget_3) self.comboBox_2.setObjectName("comboBox_2") self.verticalLayout_3.addWidget(self.comboBox_2) self.verticalLayoutWidget_4 = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget_4.setGeometry(QtCore.QRect(0, 30, 361, 16)) self.verticalLayoutWidget_4.setObjectName("verticalLayoutWidget_4") self.verticalLayout_4 = QtWidgets.QVBoxLayout( self.verticalLayoutWidget_4) self.verticalLayout_4.setContentsMargins(0, 0, 0, 0) self.verticalLayout_4.setObjectName("verticalLayout_4") self.line = QtWidgets.QFrame(self.verticalLayoutWidget_4) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.verticalLayout_4.addWidget(self.line) self.verticalLayoutWidget_5 = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget_5.setGeometry(QtCore.QRect( 180, 110, 161, 41)) self.verticalLayoutWidget_5.setObjectName("verticalLayoutWidget_5") self.verticalLayout_5 = QtWidgets.QVBoxLayout( self.verticalLayoutWidget_5) self.verticalLayout_5.setContentsMargins(0, 0, 0, 0) self.verticalLayout_5.setObjectName("verticalLayout_5") self.pushButton_4 = QtWidgets.QPushButton(self.verticalLayoutWidget_5) self.pushButton_4.setEnabled(True) self.pushButton_4.setLayoutDirection(QtCore.Qt.LeftToRight) icon = QtGui.QIcon() icon.addPixmap( QtGui.QPixmap("E:/File/center-seo/images/adv/ad-task-ok.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_4.setIcon(icon) self.pushButton_4.setCheckable(False) self.pushButton_4.setObjectName("pushButton_4") self.verticalLayout_5.addWidget(self.pushButton_4) self.verticalLayoutWidget_6 = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget_6.setGeometry(QtCore.QRect(10, 100, 161, 41)) self.verticalLayoutWidget_6.setObjectName("verticalLayoutWidget_6") self.verticalLayout_6 = QtWidgets.QVBoxLayout( self.verticalLayoutWidget_6) self.verticalLayout_6.setContentsMargins(0, 0, 0, 0) self.verticalLayout_6.setObjectName("verticalLayout_6") self.label_4 = QtWidgets.QLabel(self.verticalLayoutWidget_6) font = QtGui.QFont() font.setPointSize(8) font.setBold(False) font.setWeight(50) self.label_4.setFont(font) self.label_4.setObjectName("label_4") self.verticalLayout_6.addWidget(self.label_4) self.spinBox = QtWidgets.QSpinBox(self.verticalLayoutWidget_6) self.spinBox.setObjectName("spinBox") self.verticalLayout_6.addWidget(self.spinBox) self.verticalLayoutWidget_7 = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget_7.setGeometry(QtCore.QRect( 10, 160, 331, 351)) self.verticalLayoutWidget_7.setObjectName("verticalLayoutWidget_7") self.verticalLayout_7 = QtWidgets.QVBoxLayout( self.verticalLayoutWidget_7) self.verticalLayout_7.setContentsMargins(0, 0, 0, 0) self.verticalLayout_7.setObjectName("verticalLayout_7") self.columnView = QtWidgets.QColumnView(self.verticalLayoutWidget_7) self.columnView.setObjectName("columnView") self.verticalLayout_7.addWidget(self.columnView) self.horizontalLayoutWidget = QtWidgets.QWidget(self.centralwidget) self.horizontalLayoutWidget.setGeometry(QtCore.QRect(10, 560, 331, 31)) self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget") self.horizontalLayout = QtWidgets.QHBoxLayout( self.horizontalLayoutWidget) self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.horizontalLayout.setObjectName("horizontalLayout") self.pushButton_3 = QtWidgets.QPushButton(self.horizontalLayoutWidget) icon1 = QtGui.QIcon() icon1.addPixmap( QtGui.QPixmap("E:/File/center-seo/images/adv/ad-task-work2.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_3.setIcon(icon1) self.pushButton_3.setObjectName("pushButton_3") self.horizontalLayout.addWidget(self.pushButton_3) self.pushButton_2 = QtWidgets.QPushButton(self.horizontalLayoutWidget) icon2 = QtGui.QIcon() icon2.addPixmap( QtGui.QPixmap("E:/File/center-seo/images/ico32/error.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_2.setIcon(icon2) self.pushButton_2.setObjectName("pushButton_2") self.horizontalLayout.addWidget(self.pushButton_2) self.pushButton = QtWidgets.QPushButton(self.horizontalLayoutWidget) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap("E:/File/center-seo/images/top.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton.setIcon(icon3) self.pushButton.setObjectName("pushButton") self.horizontalLayout.addWidget(self.pushButton) self.verticalLayoutWidget_2 = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget_2.setGeometry(QtCore.QRect(10, 50, 160, 41)) self.verticalLayoutWidget_2.setObjectName("verticalLayoutWidget_2") self.verticalLayout_2 = QtWidgets.QVBoxLayout( self.verticalLayoutWidget_2) self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) self.verticalLayout_2.setObjectName("verticalLayout_2") self.label_5 = QtWidgets.QLabel(self.verticalLayoutWidget_2) font = QtGui.QFont() font.setPointSize(8) font.setBold(False) font.setWeight(50) self.label_5.setFont(font) self.label_5.setObjectName("label_5") self.verticalLayout_2.addWidget(self.label_5) self.comboBox_3 = QtWidgets.QComboBox(self.verticalLayoutWidget_2) self.comboBox_3.setObjectName("comboBox_3") self.verticalLayout_2.addWidget(self.comboBox_3) self.horizontalLayoutWidget_2 = QtWidgets.QWidget(self.centralwidget) self.horizontalLayoutWidget_2.setGeometry( QtCore.QRect(10, 520, 331, 31)) self.horizontalLayoutWidget_2.setObjectName("horizontalLayoutWidget_2") self.horizontalLayout_2 = QtWidgets.QHBoxLayout( self.horizontalLayoutWidget_2) self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_2 = QtWidgets.QLabel(self.horizontalLayoutWidget_2) self.label_2.setObjectName("label_2") self.horizontalLayout_2.addWidget(self.label_2) self.lineEdit = QtWidgets.QLineEdit(self.horizontalLayoutWidget_2) self.lineEdit.setObjectName("lineEdit") self.horizontalLayout_2.addWidget(self.lineEdit) self.label_6 = QtWidgets.QLabel(self.horizontalLayoutWidget_2) self.label_6.setObjectName("label_6") self.horizontalLayout_2.addWidget(self.label_6) self.lineEdit_2 = QtWidgets.QLineEdit(self.horizontalLayoutWidget_2) self.lineEdit_2.setObjectName("lineEdit_2") self.horizontalLayout_2.addWidget(self.lineEdit_2) MainWindow.setCentralWidget(self.centralwidget) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(731, 582) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayoutWidget = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, -7, 711, 511)) self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget) self.verticalLayout.setContentsMargins(0, 0, 0, 0) self.verticalLayout.setObjectName("verticalLayout") self.line = QtWidgets.QFrame(self.verticalLayoutWidget) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.verticalLayout.addWidget(self.line) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setSpacing(0) self.horizontalLayout.setObjectName("horizontalLayout") self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.gridLayout_2.setContentsMargins(0, -1, -1, -1) self.gridLayout_2.setSpacing(0) self.gridLayout_2.setObjectName("gridLayout_2") self.buttonD3h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD3h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonD3h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonD3h.setText("") self.buttonD3h.setIconSize(QtCore.QSize(50, 3)) self.buttonD3h.setObjectName("buttonD3h") self.gridLayout_2.addWidget(self.buttonD3h, 7, 8, 1, 1) self.buttonF5v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonF5v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonF5v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonF5v.setText("") self.buttonF5v.setObjectName("buttonF5v") self.gridLayout_2.addWidget(self.buttonF5v, 2, 11, 1, 1) self.buttonC5h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC5h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonC5h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonC5h.setText("") self.buttonC5h.setIconSize(QtCore.QSize(50, 3)) self.buttonC5h.setObjectName("buttonC5h") self.gridLayout_2.addWidget(self.buttonC5h, 3, 6, 1, 1) self.columnView_5 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_5.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_5.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_5.setObjectName("columnView_5") self.gridLayout_2.addWidget(self.columnView_5, 2, 10, 1, 1) self.buttonE5v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE5v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonE5v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonE5v.setText("") self.buttonE5v.setObjectName("buttonE5v") self.gridLayout_2.addWidget(self.buttonE5v, 2, 9, 1, 1) self.buttonD4h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD4h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonD4h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonD4h.setText("") self.buttonD4h.setIconSize(QtCore.QSize(50, 3)) self.buttonD4h.setObjectName("buttonD4h") self.gridLayout_2.addWidget(self.buttonD4h, 5, 8, 1, 1) self.buttonD3v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD3v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonD3v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonD3v.setText("") self.buttonD3v.setObjectName("buttonD3v") self.gridLayout_2.addWidget(self.buttonD3v, 6, 7, 1, 1) self.buttonD5v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD5v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonD5v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonD5v.setText("") self.buttonD5v.setObjectName("buttonD5v") self.gridLayout_2.addWidget(self.buttonD5v, 2, 7, 1, 1) self.buttonB4v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB4v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonB4v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonB4v.setText("") self.buttonB4v.setObjectName("buttonB4v") self.gridLayout_2.addWidget(self.buttonB4v, 4, 3, 1, 1) self.buttonD1h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD1h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonD1h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonD1h.setText("") self.buttonD1h.setIconSize(QtCore.QSize(50, 3)) self.buttonD1h.setObjectName("buttonD1h") self.gridLayout_2.addWidget(self.buttonD1h, 11, 8, 1, 1) self.columnView_16 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_16.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_16.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_16.setObjectName("columnView_16") self.gridLayout_2.addWidget(self.columnView_16, 8, 8, 1, 1) self.columnView_19 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_19.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_19.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_19.setObjectName("columnView_19") self.gridLayout_2.addWidget(self.columnView_19, 4, 8, 1, 1) self.columnView_2 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_2.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_2.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_2.setObjectName("columnView_2") self.gridLayout_2.addWidget(self.columnView_2, 2, 4, 1, 1) self.buttonD4v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD4v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonD4v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonD4v.setText("") self.buttonD4v.setObjectName("buttonD4v") self.gridLayout_2.addWidget(self.buttonD4v, 4, 7, 1, 1) self.buttonB2v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB2v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonB2v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonB2v.setText("") self.buttonB2v.setObjectName("buttonB2v") self.gridLayout_2.addWidget(self.buttonB2v, 8, 3, 1, 1) self.buttonE2h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE2h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonE2h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonE2h.setText("") self.buttonE2h.setIconSize(QtCore.QSize(50, 3)) self.buttonE2h.setObjectName("buttonE2h") self.gridLayout_2.addWidget(self.buttonE2h, 9, 10, 1, 1) self.buttonE6h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE6h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonE6h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonE6h.setText("") self.buttonE6h.setIconSize(QtCore.QSize(50, 3)) self.buttonE6h.setObjectName("buttonE6h") self.gridLayout_2.addWidget(self.buttonE6h, 1, 10, 1, 1) self.buttonC1h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC1h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonC1h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonC1h.setText("") self.buttonC1h.setIconSize(QtCore.QSize(50, 3)) self.buttonC1h.setObjectName("buttonC1h") self.gridLayout_2.addWidget(self.buttonC1h, 11, 6, 1, 1) self.columnView_24 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_24.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_24.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_24.setObjectName("columnView_24") self.gridLayout_2.addWidget(self.columnView_24, 10, 10, 1, 1) self.buttonB2h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB2h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonB2h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonB2h.setText("") self.buttonB2h.setIconSize(QtCore.QSize(50, 3)) self.buttonB2h.setObjectName("buttonB2h") self.gridLayout_2.addWidget(self.buttonB2h, 9, 4, 1, 1) self.columnView_25 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_25.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_25.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_25.setObjectName("columnView_25") self.gridLayout_2.addWidget(self.columnView_25, 10, 8, 1, 1) self.columnView_18 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_18.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_18.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_18.setObjectName("columnView_18") self.gridLayout_2.addWidget(self.columnView_18, 4, 6, 1, 1) self.columnView_9 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_9.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_9.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_9.setObjectName("columnView_9") self.gridLayout_2.addWidget(self.columnView_9, 10, 2, 1, 1) self.buttonA1v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA1v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonA1v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonA1v.setText("") self.buttonA1v.setObjectName("buttonA1v") self.gridLayout_2.addWidget(self.buttonA1v, 10, 1, 1, 1) self.buttonA4v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA4v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonA4v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonA4v.setText("") self.buttonA4v.setObjectName("buttonA4v") self.gridLayout_2.addWidget(self.buttonA4v, 4, 1, 1, 1) self.buttonB1h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB1h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonB1h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonB1h.setText("") self.buttonB1h.setIconSize(QtCore.QSize(50, 3)) self.buttonB1h.setObjectName("buttonB1h") self.gridLayout_2.addWidget(self.buttonB1h, 11, 4, 1, 1) self.columnView_6 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_6.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_6.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_6.setObjectName("columnView_6") self.gridLayout_2.addWidget(self.columnView_6, 4, 2, 1, 1) self.buttonC5v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC5v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonC5v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonC5v.setText("") self.buttonC5v.setObjectName("buttonC5v") self.gridLayout_2.addWidget(self.buttonC5v, 2, 5, 1, 1) self.buttonF2v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonF2v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonF2v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonF2v.setText("") self.buttonF2v.setObjectName("buttonF2v") self.gridLayout_2.addWidget(self.buttonF2v, 8, 11, 1, 1) self.columnView_14 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_14.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_14.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_14.setObjectName("columnView_14") self.gridLayout_2.addWidget(self.columnView_14, 10, 6, 1, 1) self.buttonD5h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD5h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonD5h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonD5h.setText("") self.buttonD5h.setIconSize(QtCore.QSize(50, 3)) self.buttonD5h.setObjectName("buttonD5h") self.gridLayout_2.addWidget(self.buttonD5h, 3, 8, 1, 1) self.buttonD2v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD2v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonD2v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonD2v.setText("") self.buttonD2v.setObjectName("buttonD2v") self.gridLayout_2.addWidget(self.buttonD2v, 8, 7, 1, 1) self.buttonC2h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC2h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonC2h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonC2h.setText("") self.buttonC2h.setIconSize(QtCore.QSize(50, 3)) self.buttonC2h.setObjectName("buttonC2h") self.gridLayout_2.addWidget(self.buttonC2h, 9, 6, 1, 1) self.columnView = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView.setMinimumSize(QtCore.QSize(80, 80)) self.columnView.setMaximumSize(QtCore.QSize(80, 80)) self.columnView.setObjectName("columnView") self.gridLayout_2.addWidget(self.columnView, 2, 2, 1, 1) self.buttonC3h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC3h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonC3h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonC3h.setText("") self.buttonC3h.setIconSize(QtCore.QSize(50, 3)) self.buttonC3h.setObjectName("buttonC3h") self.gridLayout_2.addWidget(self.buttonC3h, 7, 6, 1, 1) self.buttonD1v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD1v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonD1v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonD1v.setText("") self.buttonD1v.setObjectName("buttonD1v") self.gridLayout_2.addWidget(self.buttonD1v, 10, 7, 1, 1) self.label6 = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.label6.setFont(font) self.label6.setAlignment(QtCore.Qt.AlignBottom | QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing) self.label6.setObjectName("label6") self.gridLayout_2.addWidget(self.label6, 0, 0, 2, 1) self.buttonE5h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE5h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonE5h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonE5h.setText("") self.buttonE5h.setIconSize(QtCore.QSize(50, 3)) self.buttonE5h.setObjectName("buttonE5h") self.gridLayout_2.addWidget(self.buttonE5h, 3, 10, 1, 1) self.buttonF1v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonF1v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonF1v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonF1v.setText("") self.buttonF1v.setObjectName("buttonF1v") self.gridLayout_2.addWidget(self.buttonF1v, 10, 11, 1, 1) self.label1 = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.label1.setFont(font) self.label1.setAlignment(QtCore.Qt.AlignBottom | QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing) self.label1.setObjectName("label1") self.gridLayout_2.addWidget(self.label1, 10, 0, 2, 1) self.buttonB3h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB3h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonB3h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonB3h.setText("") self.buttonB3h.setIconSize(QtCore.QSize(50, 3)) self.buttonB3h.setObjectName("buttonB3h") self.gridLayout_2.addWidget(self.buttonB3h, 7, 4, 1, 1) self.columnView_15 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_15.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_15.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_15.setObjectName("columnView_15") self.gridLayout_2.addWidget(self.columnView_15, 8, 6, 1, 1) self.labelD = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.labelD.setFont(font) self.labelD.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignTop) self.labelD.setObjectName("labelD") self.gridLayout_2.addWidget(self.labelD, 12, 7, 1, 2) self.columnView_4 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_4.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_4.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_4.setObjectName("columnView_4") self.gridLayout_2.addWidget(self.columnView_4, 2, 8, 1, 1) self.buttonC4v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC4v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonC4v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonC4v.setText("") self.buttonC4v.setObjectName("buttonC4v") self.gridLayout_2.addWidget(self.buttonC4v, 4, 5, 1, 1) self.buttonD6h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD6h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonD6h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonD6h.setText("") self.buttonD6h.setIconSize(QtCore.QSize(50, 3)) self.buttonD6h.setObjectName("buttonD6h") self.gridLayout_2.addWidget(self.buttonD6h, 1, 8, 1, 1) self.buttonE2v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE2v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonE2v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonE2v.setText("") self.buttonE2v.setObjectName("buttonE2v") self.gridLayout_2.addWidget(self.buttonE2v, 8, 9, 1, 1) self.columnView_20 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_20.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_20.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_20.setObjectName("columnView_20") self.gridLayout_2.addWidget(self.columnView_20, 6, 8, 1, 1) self.columnView_17 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_17.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_17.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_17.setObjectName("columnView_17") self.gridLayout_2.addWidget(self.columnView_17, 6, 6, 1, 1) self.buttonA4h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA4h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonA4h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonA4h.setText("") self.buttonA4h.setIconSize(QtCore.QSize(50, 3)) self.buttonA4h.setObjectName("buttonA4h") self.gridLayout_2.addWidget(self.buttonA4h, 5, 2, 1, 1) self.buttonE4v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE4v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonE4v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonE4v.setText("") self.buttonE4v.setObjectName("buttonE4v") self.gridLayout_2.addWidget(self.buttonE4v, 4, 9, 1, 1) self.labelA = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.labelA.setFont(font) self.labelA.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignTop) self.labelA.setObjectName("labelA") self.gridLayout_2.addWidget(self.labelA, 12, 1, 1, 2) self.buttonA2h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA2h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonA2h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonA2h.setText("") self.buttonA2h.setIconSize(QtCore.QSize(50, 3)) self.buttonA2h.setObjectName("buttonA2h") self.gridLayout_2.addWidget(self.buttonA2h, 9, 2, 1, 1) self.buttonC3v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC3v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonC3v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonC3v.setText("") self.buttonC3v.setObjectName("buttonC3v") self.gridLayout_2.addWidget(self.buttonC3v, 6, 5, 1, 1) self.buttonA3v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA3v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonA3v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonA3v.setText("") self.buttonA3v.setObjectName("buttonA3v") self.gridLayout_2.addWidget(self.buttonA3v, 6, 1, 1, 1) self.buttonA6h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA6h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonA6h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonA6h.setText("") self.buttonA6h.setIconSize(QtCore.QSize(50, 3)) self.buttonA6h.setObjectName("buttonA6h") self.gridLayout_2.addWidget(self.buttonA6h, 1, 2, 1, 1) self.columnView_3 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_3.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_3.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_3.setObjectName("columnView_3") self.gridLayout_2.addWidget(self.columnView_3, 2, 6, 1, 1) self.columnView_8 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_8.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_8.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_8.setObjectName("columnView_8") self.gridLayout_2.addWidget(self.columnView_8, 8, 2, 1, 1) self.buttonC2v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC2v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonC2v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonC2v.setText("") self.buttonC2v.setObjectName("buttonC2v") self.gridLayout_2.addWidget(self.buttonC2v, 8, 5, 1, 1) self.label4 = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.label4.setFont(font) self.label4.setAlignment(QtCore.Qt.AlignBottom | QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing) self.label4.setObjectName("label4") self.gridLayout_2.addWidget(self.label4, 4, 0, 2, 1) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem, 1, 12, 11, 1) self.buttonE1v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE1v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonE1v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonE1v.setText("") self.buttonE1v.setObjectName("buttonE1v") self.gridLayout_2.addWidget(self.buttonE1v, 10, 9, 1, 1) self.buttonF3v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonF3v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonF3v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonF3v.setText("") self.buttonF3v.setObjectName("buttonF3v") self.gridLayout_2.addWidget(self.buttonF3v, 6, 11, 1, 1) self.buttonF4v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonF4v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonF4v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonF4v.setText("") self.buttonF4v.setObjectName("buttonF4v") self.gridLayout_2.addWidget(self.buttonF4v, 4, 11, 1, 1) self.buttonC6h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC6h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonC6h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonC6h.setText("") self.buttonC6h.setIconSize(QtCore.QSize(50, 3)) self.buttonC6h.setObjectName("buttonC6h") self.gridLayout_2.addWidget(self.buttonC6h, 1, 6, 1, 1) self.buttonE3h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE3h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonE3h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonE3h.setText("") self.buttonE3h.setIconSize(QtCore.QSize(50, 3)) self.buttonE3h.setObjectName("buttonE3h") self.gridLayout_2.addWidget(self.buttonE3h, 7, 10, 1, 1) self.buttonE1h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE1h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonE1h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonE1h.setText("") self.buttonE1h.setIconSize(QtCore.QSize(50, 3)) self.buttonE1h.setObjectName("buttonE1h") self.gridLayout_2.addWidget(self.buttonE1h, 11, 10, 1, 1) self.columnView_11 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_11.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_11.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_11.setObjectName("columnView_11") self.gridLayout_2.addWidget(self.columnView_11, 6, 4, 1, 1) self.columnView_22 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_22.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_22.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_22.setObjectName("columnView_22") self.gridLayout_2.addWidget(self.columnView_22, 6, 10, 1, 1) self.buttonA5v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA5v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonA5v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonA5v.setText("") self.buttonA5v.setObjectName("buttonA5v") self.gridLayout_2.addWidget(self.buttonA5v, 2, 1, 1, 1) self.columnView_13 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_13.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_13.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_13.setObjectName("columnView_13") self.gridLayout_2.addWidget(self.columnView_13, 10, 4, 1, 1) self.buttonD2h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonD2h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonD2h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonD2h.setText("") self.buttonD2h.setIconSize(QtCore.QSize(50, 3)) self.buttonD2h.setObjectName("buttonD2h") self.gridLayout_2.addWidget(self.buttonD2h, 9, 8, 1, 1) self.columnView_12 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_12.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_12.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_12.setObjectName("columnView_12") self.gridLayout_2.addWidget(self.columnView_12, 8, 4, 1, 1) self.buttonA2v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA2v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonA2v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonA2v.setText("") self.buttonA2v.setObjectName("buttonA2v") self.gridLayout_2.addWidget(self.buttonA2v, 8, 1, 1, 1) self.columnView_21 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_21.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_21.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_21.setObjectName("columnView_21") self.gridLayout_2.addWidget(self.columnView_21, 4, 10, 1, 1) self.buttonA5h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA5h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonA5h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonA5h.setText("") self.buttonA5h.setIconSize(QtCore.QSize(50, 3)) self.buttonA5h.setObjectName("buttonA5h") self.gridLayout_2.addWidget(self.buttonA5h, 3, 2, 1, 1) self.columnView_23 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_23.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_23.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_23.setObjectName("columnView_23") self.gridLayout_2.addWidget(self.columnView_23, 8, 10, 1, 1) self.buttonB5v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB5v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonB5v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonB5v.setText("") self.buttonB5v.setObjectName("buttonB5v") self.gridLayout_2.addWidget(self.buttonB5v, 2, 3, 1, 1) self.buttonE3v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE3v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonE3v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonE3v.setText("") self.buttonE3v.setObjectName("buttonE3v") self.gridLayout_2.addWidget(self.buttonE3v, 6, 9, 1, 1) self.columnView_7 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_7.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_7.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_7.setObjectName("columnView_7") self.gridLayout_2.addWidget(self.columnView_7, 6, 2, 1, 1) self.columnView_10 = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView_10.setMinimumSize(QtCore.QSize(80, 80)) self.columnView_10.setMaximumSize(QtCore.QSize(80, 80)) self.columnView_10.setObjectName("columnView_10") self.gridLayout_2.addWidget(self.columnView_10, 4, 4, 1, 1) self.label3 = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.label3.setFont(font) self.label3.setAlignment(QtCore.Qt.AlignBottom | QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing) self.label3.setObjectName("label3") self.gridLayout_2.addWidget(self.label3, 6, 0, 2, 1) self.buttonA3h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA3h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonA3h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonA3h.setText("") self.buttonA3h.setIconSize(QtCore.QSize(50, 3)) self.buttonA3h.setObjectName("buttonA3h") self.gridLayout_2.addWidget(self.buttonA3h, 7, 2, 1, 1) self.labelC = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.labelC.setFont(font) self.labelC.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignTop) self.labelC.setObjectName("labelC") self.gridLayout_2.addWidget(self.labelC, 12, 5, 1, 2) self.buttonC1v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC1v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonC1v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonC1v.setText("") self.buttonC1v.setObjectName("buttonC1v") self.gridLayout_2.addWidget(self.buttonC1v, 10, 5, 1, 1) self.buttonA1h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonA1h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonA1h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonA1h.setText("") self.buttonA1h.setIconSize(QtCore.QSize(50, 3)) self.buttonA1h.setObjectName("buttonA1h") self.gridLayout_2.addWidget(self.buttonA1h, 11, 2, 1, 1) self.buttonE4h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonE4h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonE4h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonE4h.setText("") self.buttonE4h.setIconSize(QtCore.QSize(50, 3)) self.buttonE4h.setObjectName("buttonE4h") self.gridLayout_2.addWidget(self.buttonE4h, 5, 10, 1, 1) self.buttonB1v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB1v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonB1v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonB1v.setText("") self.buttonB1v.setObjectName("buttonB1v") self.gridLayout_2.addWidget(self.buttonB1v, 10, 3, 1, 1) self.buttonB6h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB6h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonB6h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonB6h.setText("") self.buttonB6h.setIconSize(QtCore.QSize(50, 3)) self.buttonB6h.setObjectName("buttonB6h") self.gridLayout_2.addWidget(self.buttonB6h, 1, 4, 1, 1) self.label5 = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.label5.setFont(font) self.label5.setAlignment(QtCore.Qt.AlignBottom | QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing) self.label5.setObjectName("label5") self.gridLayout_2.addWidget(self.label5, 2, 0, 2, 1) self.buttonC4h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonC4h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonC4h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonC4h.setText("") self.buttonC4h.setObjectName("buttonC4h") self.gridLayout_2.addWidget(self.buttonC4h, 5, 6, 1, 1) self.buttonB3v = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB3v.setMinimumSize(QtCore.QSize(10, 80)) self.buttonB3v.setMaximumSize(QtCore.QSize(10, 80)) self.buttonB3v.setText("") self.buttonB3v.setObjectName("buttonB3v") self.gridLayout_2.addWidget(self.buttonB3v, 6, 3, 1, 1) self.buttonB4h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB4h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonB4h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonB4h.setText("") self.buttonB4h.setIconSize(QtCore.QSize(50, 3)) self.buttonB4h.setObjectName("buttonB4h") self.gridLayout_2.addWidget(self.buttonB4h, 5, 4, 1, 1) self.labelB = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.labelB.setFont(font) self.labelB.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignTop) self.labelB.setObjectName("labelB") self.gridLayout_2.addWidget(self.labelB, 12, 3, 1, 2) self.buttonB5h = QtWidgets.QToolButton(self.verticalLayoutWidget) self.buttonB5h.setMinimumSize(QtCore.QSize(80, 10)) self.buttonB5h.setMaximumSize(QtCore.QSize(80, 10)) self.buttonB5h.setText("") self.buttonB5h.setIconSize(QtCore.QSize(50, 3)) self.buttonB5h.setObjectName("buttonB5h") self.gridLayout_2.addWidget(self.buttonB5h, 3, 4, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem1, 0, 1, 1, 11) self.labelF = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.labelF.setFont(font) self.labelF.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignTop) self.labelF.setObjectName("labelF") self.gridLayout_2.addWidget(self.labelF, 12, 11, 1, 2) self.label2 = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.label2.setFont(font) self.label2.setAlignment(QtCore.Qt.AlignBottom | QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing) self.label2.setObjectName("label2") self.gridLayout_2.addWidget(self.label2, 8, 0, 2, 1) self.labelE = QtWidgets.QLabel(self.verticalLayoutWidget) font = QtGui.QFont() font.setPointSize(12) font.setBold(True) font.setWeight(75) self.labelE.setFont(font) self.labelE.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignTop) self.labelE.setObjectName("labelE") self.gridLayout_2.addWidget(self.labelE, 12, 9, 1, 2) self.horizontalLayout.addLayout(self.gridLayout_2) self.line_3 = QtWidgets.QFrame(self.verticalLayoutWidget) self.line_3.setFrameShape(QtWidgets.QFrame.VLine) self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_3.setObjectName("line_3") self.horizontalLayout.addWidget(self.line_3) self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.label_13 = QtWidgets.QLabel(self.verticalLayoutWidget) self.label_13.setMinimumSize(QtCore.QSize(25, 30)) self.label_13.setMaximumSize(QtCore.QSize(25, 30)) font = QtGui.QFont() font.setPointSize(38) self.label_13.setFont(font) self.label_13.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_13.setIndent(20) self.label_13.setObjectName("label_13") self.gridLayout_3.addWidget(self.label_13, 3, 1, 1, 1) self.label_14 = QtWidgets.QLabel(self.verticalLayoutWidget) self.label_14.setMinimumSize(QtCore.QSize(25, 30)) self.label_14.setMaximumSize(QtCore.QSize(25, 30)) font = QtGui.QFont() font.setPointSize(38) self.label_14.setFont(font) self.label_14.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_14.setIndent(20) self.label_14.setObjectName("label_14") self.gridLayout_3.addWidget(self.label_14, 3, 3, 1, 1) self.lcdNumber_2 = QtWidgets.QLCDNumber(self.verticalLayoutWidget) self.lcdNumber_2.setMinimumSize(QtCore.QSize(40, 25)) self.lcdNumber_2.setMaximumSize(QtCore.QSize(40, 25)) self.lcdNumber_2.setObjectName("lcdNumber_2") self.gridLayout_3.addWidget(self.lcdNumber_2, 3, 2, 1, 1) self.label_15 = QtWidgets.QLabel(self.verticalLayoutWidget) self.label_15.setMinimumSize(QtCore.QSize(0, 35)) self.label_15.setMaximumSize(QtCore.QSize(16777215, 35)) font = QtGui.QFont() font.setPointSize(13) self.label_15.setFont(font) self.label_15.setAlignment(QtCore.Qt.AlignCenter) self.label_15.setObjectName("label_15") self.gridLayout_3.addWidget(self.label_15, 2, 1, 1, 4) self.lcdNumber = QtWidgets.QLCDNumber(self.verticalLayoutWidget) self.lcdNumber.setMinimumSize(QtCore.QSize(40, 25)) self.lcdNumber.setMaximumSize(QtCore.QSize(40, 25)) self.lcdNumber.setObjectName("lcdNumber") self.gridLayout_3.addWidget(self.lcdNumber, 3, 4, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem2, 2, 5, 2, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem3, 2, 0, 2, 1) self.currentStepTextLabel = QtWidgets.QLabel(self.verticalLayoutWidget) self.currentStepTextLabel.setMinimumSize(QtCore.QSize(0, 35)) self.currentStepTextLabel.setMaximumSize(QtCore.QSize(16777215, 35)) font = QtGui.QFont() font.setPointSize(13) self.currentStepTextLabel.setFont(font) self.currentStepTextLabel.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.currentStepTextLabel.setObjectName("currentStepTextLabel") self.gridLayout_3.addWidget(self.currentStepTextLabel, 1, 0, 1, 3) self.currentPlayerTextLabel = QtWidgets.QLabel( self.verticalLayoutWidget) self.currentPlayerTextLabel.setMinimumSize(QtCore.QSize(0, 35)) self.currentPlayerTextLabel.setMaximumSize(QtCore.QSize(16777215, 35)) font = QtGui.QFont() font.setPointSize(13) self.currentPlayerTextLabel.setFont(font) self.currentPlayerTextLabel.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.currentPlayerTextLabel.setObjectName("currentPlayerTextLabel") self.gridLayout_3.addWidget(self.currentPlayerTextLabel, 0, 0, 1, 3) self.currentStepLabel = QtWidgets.QLabel(self.verticalLayoutWidget) self.currentStepLabel.setMinimumSize(QtCore.QSize(0, 35)) self.currentStepLabel.setMaximumSize(QtCore.QSize(16777215, 35)) font = QtGui.QFont() font.setPointSize(15) self.currentStepLabel.setFont(font) self.currentStepLabel.setObjectName("currentStepLabel") self.gridLayout_3.addWidget(self.currentStepLabel, 1, 3, 1, 3) self.currentPlayerLabel = QtWidgets.QLabel(self.verticalLayoutWidget) self.currentPlayerLabel.setMinimumSize(QtCore.QSize(0, 35)) self.currentPlayerLabel.setMaximumSize(QtCore.QSize(16777215, 35)) font = QtGui.QFont() font.setPointSize(45) font.setKerning(False) self.currentPlayerLabel.setFont(font) self.currentPlayerLabel.setAutoFillBackground(False) self.currentPlayerLabel.setIndent(35) self.currentPlayerLabel.setObjectName("currentPlayerLabel") self.gridLayout_3.addWidget(self.currentPlayerLabel, 0, 3, 1, 3) self.verticalLayout_2.addLayout(self.gridLayout_3) self.line_4 = QtWidgets.QFrame(self.verticalLayoutWidget) self.line_4.setFrameShape(QtWidgets.QFrame.HLine) self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_4.setObjectName("line_4") self.verticalLayout_2.addWidget(self.line_4) self.label_16 = QtWidgets.QLabel(self.verticalLayoutWidget) self.label_16.setObjectName("label_16") self.verticalLayout_2.addWidget(self.label_16) self.tableView = QtWidgets.QTableView(self.verticalLayoutWidget) self.tableView.setObjectName("tableView") self.verticalLayout_2.addWidget(self.tableView) self.horizontalLayout.addLayout(self.verticalLayout_2) self.verticalLayout.addLayout(self.horizontalLayout) self.line_2 = QtWidgets.QFrame(self.verticalLayoutWidget) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.verticalLayout.addWidget(self.line_2) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 731, 31)) self.menubar.setObjectName("menubar") self.menu = QtWidgets.QMenu(self.menubar) self.menu.setObjectName("menu") self.menu_2 = QtWidgets.QMenu(self.menubar) self.menu_2.setObjectName("menu_2") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.toolBar = QtWidgets.QToolBar(MainWindow) self.toolBar.setObjectName("toolBar") MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar) self.action = QtWidgets.QAction(MainWindow) self.action.setObjectName("action") self.action_2 = QtWidgets.QAction(MainWindow) self.action_2.setObjectName("action_2") self.action_4 = QtWidgets.QAction(MainWindow) self.action_4.setObjectName("action_4") self.action_5 = QtWidgets.QAction(MainWindow) self.action_5.setObjectName("action_5") self.action_6 = QtWidgets.QAction(MainWindow) self.action_6.setObjectName("action_6") self.action_7 = QtWidgets.QAction(MainWindow) self.action_7.setObjectName("action_7") self.menu.addAction(self.action) self.menu.addAction(self.action_2) self.menu.addSeparator() self.menu.addAction(self.action_4) self.menu.addAction(self.action_5) self.menu_2.addAction(self.action_6) self.menu_2.addAction(self.action_7) self.menubar.addAction(self.menu.menuAction()) self.menubar.addAction(self.menu_2.menuAction()) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, DockWidget): DockWidget.setObjectName("DockWidget") DockWidget.resize(266, 387) self.dockWidgetContents = QtWidgets.QWidget() self.dockWidgetContents.setObjectName("dockWidgetContents") self.gridLayout = QtWidgets.QGridLayout(self.dockWidgetContents) self.gridLayout.setObjectName("gridLayout") self.label_70 = QtWidgets.QLabel(self.dockWidgetContents) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_70.setFont(font) self.label_70.setObjectName("label_70") self.gridLayout.addWidget(self.label_70, 0, 1, 1, 1) self.label_80 = QtWidgets.QLabel(self.dockWidgetContents) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_80.setFont(font) self.label_80.setObjectName("label_80") self.gridLayout.addWidget(self.label_80, 0, 2, 1, 1) self.label_27 = QtWidgets.QLabel(self.dockWidgetContents) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_27.setFont(font) self.label_27.setObjectName("label_27") self.gridLayout.addWidget(self.label_27, 1, 0, 1, 1) self.listView = QtWidgets.QListView(self.dockWidgetContents) self.listView.setObjectName("listView") self.gridLayout.addWidget(self.listView, 1, 1, 1, 1) self.listViewDis = QtWidgets.QListView(self.dockWidgetContents) self.listViewDis.setEnabled(False) self.listViewDis.setObjectName("listViewDis") self.gridLayout.addWidget(self.listViewDis, 1, 2, 1, 1) self.label_59 = QtWidgets.QLabel(self.dockWidgetContents) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_59.setFont(font) self.label_59.setObjectName("label_59") self.gridLayout.addWidget(self.label_59, 2, 0, 1, 1) self.treeView = QtWidgets.QTreeView(self.dockWidgetContents) self.treeView.setObjectName("treeView") self.gridLayout.addWidget(self.treeView, 2, 1, 1, 1) self.treeViewDis = QtWidgets.QTreeView(self.dockWidgetContents) self.treeViewDis.setEnabled(False) self.treeViewDis.setObjectName("treeViewDis") self.gridLayout.addWidget(self.treeViewDis, 2, 2, 1, 1) self.label_60 = QtWidgets.QLabel(self.dockWidgetContents) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_60.setFont(font) self.label_60.setObjectName("label_60") self.gridLayout.addWidget(self.label_60, 3, 0, 1, 1) self.tableView = QtWidgets.QTableView(self.dockWidgetContents) self.tableView.setObjectName("tableView") self.gridLayout.addWidget(self.tableView, 3, 1, 1, 1) self.tableViewDis = QtWidgets.QTableView(self.dockWidgetContents) self.tableViewDis.setEnabled(False) self.tableViewDis.setObjectName("tableViewDis") self.gridLayout.addWidget(self.tableViewDis, 3, 2, 1, 1) self.label_61 = QtWidgets.QLabel(self.dockWidgetContents) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_61.setFont(font) self.label_61.setObjectName("label_61") self.gridLayout.addWidget(self.label_61, 4, 0, 1, 1) self.columnView = QtWidgets.QColumnView(self.dockWidgetContents) self.columnView.setObjectName("columnView") self.gridLayout.addWidget(self.columnView, 4, 1, 1, 1) self.columnViewDis = QtWidgets.QColumnView(self.dockWidgetContents) self.columnViewDis.setEnabled(False) self.columnViewDis.setObjectName("columnViewDis") self.gridLayout.addWidget(self.columnViewDis, 4, 2, 1, 1) DockWidget.setWidget(self.dockWidgetContents) self.retranslateUi(DockWidget) QtCore.QMetaObject.connectSlotsByName(DockWidget)
def __init__(self, parent=None): super().__init__(parent) self.setObjectName("MainWindow") self.resize(313, 110) self.setMaximumSize(QtCore.QSize(313, 110)) self.setStyleSheet("background-color: rgb(255,252,241)\n" "") self.centralwidget = QtWidgets.QWidget(self) self.centralwidget.setObjectName("centralwidget") self.right = QtWidgets.QColumnView(self.centralwidget) self.right.setGeometry(QtCore.QRect(290, 0, 25, 110)) self.right.setStyleSheet("background-color: rgb(78, 78, 78)") self.right.setObjectName("right") self.left = QtWidgets.QColumnView(self.centralwidget) self.left.setGeometry(QtCore.QRect(0, 0, 20, 110)) self.left.setStyleSheet("background-color: rgb(78, 78, 78)") self.left.setObjectName("left") self.DONE = QtWidgets.QPushButton(self.centralwidget) self.DONE.setGeometry(QtCore.QRect(190, 70, 101, 20)) self.DONE.setStyleSheet( "background-color: rgb(255,252,241);border-color: rgb(34, 34, 34);\n" "color: rgb(37,39,51);\n" "border-top-color: rgb(85, 86, 86);\n" "selection-background-color: rgb(197, 201, 201);\n" "") self.DONE.setObjectName("DONE") self.BACK = QtWidgets.QPushButton(self.centralwidget) self.BACK.setGeometry(QtCore.QRect(20, 70, 101, 20)) self.BACK.setStyleSheet( "background-color: rgb(255,252,241);border-color: rgb(34, 34, 34);\n" "color: rgb(37,39,51);\n" "border-top-color: rgb(85, 86, 86);\n" "selection-background-color: rgb(197, 201, 201);\n" "") self.BACK.setObjectName("BACK") self.MAIN = QtWidgets.QFrame(self.centralwidget) self.MAIN.setGeometry(QtCore.QRect(20, -10, 271, 81)) self.MAIN.setStyleSheet("background-color: rgb(255, 255, 255);") self.MAIN.setFrameShape(QtWidgets.QFrame.StyledPanel) self.MAIN.setFrameShadow(QtWidgets.QFrame.Raised) self.MAIN.setObjectName("MAIN") self.labelPatientsName = QtWidgets.QLabel(self.MAIN) self.labelPatientsName.setGeometry(QtCore.QRect(30, 20, 271, 50)) self.labelPatientsName.setStyleSheet( "font: 13pt \".AppleSystemUIFont\";\n" "background-color: rgb(255, 255, 255);\n" "color: rgb(37,39,51);") self.DONE.clicked.connect(self.dialog_exit) self.BACK.clicked.connect(self.dialog_exit) self.labelPatientsName.setObjectName("labelPatientsName") self.menubar = QtWidgets.QMenuBar(self) self.menubar.setGeometry(QtCore.QRect(0, 0, 313, 24)) self.menubar.setObjectName("menubar") self.statusbar = QtWidgets.QStatusBar(self) self.statusbar.setObjectName("statusbar") _translate = QtCore.QCoreApplication.translate self.DONE.setText(_translate("MainWindow", "Save")) self.BACK.setText(_translate("MainWindow", "Back")) self.labelPatientsName.setText( _translate( "MainWindow", "This will end the Session if you want to\n continue click BACK and NEXT" )) self.labelPatientsName.adjustSize()
def setupUi(self, FrmPrincipal): # Icons icon = _get_icon("Images/satiedbfIcon.png") iconImport = _get_icon("Images/import.png") iconExport = _get_icon("Images/export.png") iconPrint = _get_icon("Images/print.png") iconCsv = _get_icon("Images/csv.png") iconInfo = _get_icon("Images/info.png") iconQuestion = _get_icon("Images/question.png") # Initial Window config FrmPrincipal.setLocale(QtCore.QLocale(QtCore.QLocale.C, QtCore.QLocale.AnyCountry)) FrmPrincipal.setWindowIcon(icon) FrmPrincipal.setIconSize(QtCore.QSize(40, 40)) FrmPrincipal.setObjectName(_fromUtf8("FrmPrincipal")) FrmPrincipal.setWindowModality(QtCore.Qt.NonModal) FrmPrincipal.setFixedSize(801, 592) # No resize Window FrmPrincipal.setAutoFillBackground(True) FrmPrincipal.setAcceptDrops(False) FrmPrincipal.setStyleSheet("background-color: #eee;") # Default Font conf font = QtGui.QFont() font.setFamily("Arial") font.setPointSize(10) self.centralwidget = QtWidgets.QWidget(FrmPrincipal) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) # Bnt Import self.btnImport = QtWidgets.QPushButton(self.centralwidget) self.btnImport.setGeometry(QtCore.QRect(20, 20, 131, 81)) self.btnImport.setFont(font) self.btnImport.setStyleSheet("border: 1px solid #8f8f91;\n" "border-radius: 6px;\n" "background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde);\n" "min-width: 80px;\n" "") self.btnImport.setIcon(iconImport) self.btnImport.setIconSize(QtCore.QSize(40, 40)) self.btnImport.setObjectName(_fromUtf8("btnImport")) # Btn Import Click Event self.btnImport.clicked.connect(self.FrmImport_Click) # Btn Export self.btnExport = QtWidgets.QPushButton(self.centralwidget) self.btnExport.setGeometry(QtCore.QRect(170, 20, 131, 81)) self.btnExport.setFont(font) self.btnExport.setStyleSheet("border: 1px solid #8f8f91;\n" "border-radius: 6px;\n" "background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde);\n" "min-width: 80px;\n" "") self.btnExport.setIcon(iconExport) self.btnExport.setIconSize(QtCore.QSize(40, 40)) self.btnExport.setShortcut("") self.btnExport.setObjectName(_fromUtf8("btnExport")) # Btn Export Click Event self.btnExport.clicked.connect(self.Show_ExpOpt) font.setPointSize(10) # Export Actions self.groupBoxExport = QtWidgets.QGroupBox(self.centralwidget) self.groupBoxExport.setEnabled(True) self.groupBoxExport.setFont(font) self.groupBoxExport.setGeometry(QtCore.QRect(390, 20, 201, 81)) self.groupBoxExport.setStyleSheet("QGroupBox{\n" " background-color: transparent;\n" " background-clip: margin;\n" " border: 1px solid #777;\n" " border-radius: 4px;\n" " margin-top: 10px;\n" " padding-top: 4px;}\n" "QGroupBox::title{\n" " padding: 2px 8px;\n" " subcontrol-origin: margin;\n" " subcontrol-position: top center;\n" " color: #555;}\n") self.groupBoxExport.setObjectName(_fromUtf8("groupBoxExport")) # Default is Hide if not self.groupBoxExport.isHidden(): self.groupBoxExport.hide() # Bnt Print self.btnPrint = QtWidgets.QPushButton(self.groupBoxExport) self.btnPrint.setGeometry(QtCore.QRect(10, 20, 82, 51)) self.btnPrint.setStyleSheet("border: 1px solid #8f8f91;\n" "border-radius: 6px;\n" "background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde);\n" "min-width: 80px;\n") self.btnPrint.setText("") self.btnPrint.setIcon(iconPrint) self.btnPrint.setIconSize(QtCore.QSize(40, 40)) self.btnPrint.setObjectName(_fromUtf8("btnPrint")) # Btn Print Click Event self.btnPrint.clicked.connect(self.Print) # Bnt CSV self.btnExpCSV = QtWidgets.QPushButton(self.groupBoxExport) self.btnExpCSV.setGeometry(QtCore.QRect(110, 20, 82, 51)) self.btnExpCSV.setStyleSheet("border: 1px solid #8f8f91;\n" "border-radius: 6px;\n" "background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde);\n" "min-width: 80px;\n") self.btnExpCSV.setText("") self.btnExpCSV.setIcon(iconCsv) self.btnExpCSV.setIconSize(QtCore.QSize(40, 40)) self.btnExpCSV.setObjectName(_fromUtf8("btnExpCSV")) # Btn Export CSV Click Event self.btnExpCSV.clicked.connect(self.Convert_Csv) # Bnt Information self.btnInfo = QtWidgets.QPushButton(self.centralwidget) self.btnInfo.setGeometry(QtCore.QRect(650, 20, 131, 81)) self.btnInfo.setFont(font) self.btnInfo.setStyleSheet("border: 1px solid #73AD21;\n" "border-radius: 6px;\n" "background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E1F5A9, stop: 1 #cedf9a);\n" "min-width: 80px;\n" "") self.btnInfo.setIcon(iconInfo) self.btnInfo.setIconSize(QtCore.QSize(30, 30)) self.btnInfo.setShortcut("") self.btnInfo.setObjectName(_fromUtf8("btnInfo")) # Btn Info Click Event self.btnInfo.clicked.connect(self.FrmInformation_Click) # Column for Import/Export and Information Bnts font.setPointSize(12) self.columnView = QtWidgets.QColumnView(self.centralwidget) self.columnView.setGeometry(QtCore.QRect(10, 10, 779, 101)) self.columnView.setStyleSheet("background:#fff") self.columnView.setObjectName(_fromUtf8("columnView")) # Dbf Text self.labelDbfText = QtWidgets.QLabel(self.centralwidget) self.labelDbfText.setGeometry(QtCore.QRect(10, 190, 200, 19)) self.labelDbfText.setFont(font) self.labelDbfText.setStyleSheet("") self.labelDbfText.setObjectName(_fromUtf8("labelDbfText")) font.setPointSize(10) # GroupBox import options self.groupBoxImport = QtWidgets.QGroupBox(self.centralwidget) self.groupBoxImport.setGeometry(QtCore.QRect(230, 130, 561, 80)) self.groupBoxImport.setFont(font) self.groupBoxImport.setStyleSheet("QGroupBox {\n" " background-color: transparent;\n" " background-clip: margin;\n" " border: 1px solid #777;\n" " border-radius: 4px;\n" " margin-top: 10px;\n" " padding-top: 4px; }\n\n" "QGroupBox::title {\n" " padding: 2px 8px;\n" " subcontrol-origin: margin;\n" " subcontrol-position: top center;\n" " color: #555;}\n\n" "") self.groupBoxImport.setObjectName(_fromUtf8("groupBoxImport")) self.checkBoxMemofile = QtWidgets.QCheckBox(self.groupBoxImport) self.checkBoxMemofile.setGeometry(QtCore.QRect(20, 40, 181, 20)) self.checkBoxMemofile.setFont(font) self.checkBoxMemofile.setStyleSheet("") self.checkBoxMemofile.setChecked(True) self.checkBoxMemofile.setObjectName(_fromUtf8("checkBoxMemofile")) self.labelQuestionMemofile = QtWidgets.QPushButton(self.groupBoxImport) self.labelQuestionMemofile.setGeometry(QtCore.QRect(190, 43, 16, 16)) self.labelQuestionMemofile.setFont(font) self.labelQuestionMemofile.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.labelQuestionMemofile.setWhatsThis("") self.labelQuestionMemofile.setAccessibleDescription("") self.labelQuestionMemofile.setText("") self.labelQuestionMemofile.setIcon(iconQuestion) self.labelQuestionMemofile.setIconSize(QtCore.QSize(16, 16)) self.labelQuestionMemofile.setStyleSheet("QPushButton { background-color: transparent; border: none; }") self.labelQuestionMemofile.setObjectName(_fromUtf8("labelQuestionMemofile")) self.labelQuestionMemofile.setToolTip('Help about Memofile') # Action to Label Questin clickable self.labelQuestionMemofile.clicked.connect(self.question_url) self.labelEncoding = QtWidgets.QLabel(self.groupBoxImport) self.labelEncoding.setGeometry(QtCore.QRect(290, 30, 71, 16)) self.labelEncoding.setFont(font) self.labelEncoding.setObjectName(_fromUtf8("labelEncoding")) self.comboBoxEncoding = QtWidgets.QComboBox(self.groupBoxImport) self.comboBoxEncoding.setGeometry(QtCore.QRect(290, 50, 101, 22)) self.comboBoxEncoding.setFont(font) self.comboBoxEncoding.setObjectName("comboBoxEncoding") self.comboBoxEncoding.setStyleSheet("QComboBox {\n" " border: 1px solid #8f8f91;\n" " border-radius: 3px;\n" " padding: 1px 18px 1px 3px;\n" " min-width: 6em;}\n" "QComboBox:editable {\n" " background: white;}\n" "QComboBox:!editable, QComboBox::drop-down:editable {\n" " background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, \n" " stop: 0 #f6f7fa, \n" " stop: 1 #dadbde);\n" " color: #000;}\n" "QComboBox:!editable:on, QComboBox::drop-down:editable:on {\n" " background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n" " stop: 0 #E1F5A9,\n" " stop: 1 #cedf9a);}\n" "QComboBox:on {\n" " padding-top: 3px;\n" " padding-left: 4px;}\n" "QComboBox::drop-down {\n" " subcontrol-origin: padding;\n" " subcontrol-position: top right;\n" " width: 15px;\n" " border-left-width: 1px;\n" " border-left-color: darkgray;\n" " border-left-style: solid;\n" " border-top-right-radius: 3px;\n" " border-bottom-right-radius: 3px;}\n" "QComboBox::down-arrow {\n" " image: url(Images/downarrow.png);}\n" "QComboBox::down-arrow:on {\n" " top: 1px;\n" " left: 1px;}\n") for cb_i, cb_v in enumerate(ENCODING_SUPPORT): self.comboBoxEncoding.addItem("") self.comboBoxEncoding.setItemText(cb_i, _fromUtf8(cb_v)) # Table GridView for DBF load self.tableWidget = QtWidgets.QTableWidget(self.centralwidget) self.tableWidget.setGeometry(QtCore.QRect(10, 220, 779, 334)) self.tableWidget.setFont(font) self.tableWidget.setStyleSheet("background-color: #E1F5A9;\n" "selection-color: #ccc;\n" "") self.tableWidget.setAlternatingRowColors(True) self.tableWidget.setGridStyle(QtCore.Qt.DotLine) self.tableWidget.setRowCount(10) self.tableWidget.setColumnCount(8) self.tableWidget.setObjectName(_fromUtf8("tableWidget")) self.labelTotalData = QtWidgets.QLabel(self.centralwidget) self.labelTotalData.setGeometry(QtCore.QRect(10, 560, 89, 14)) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.labelTotalData.sizePolicy().hasHeightForWidth()) self.labelTotalData.setSizePolicy(sizePolicy) self.labelTotalData.setFont(font) self.labelTotalData.setFrameShadow(QtWidgets.QFrame.Raised) self.labelTotalData.setTextFormat(QtCore.Qt.RichText) self.labelTotalData.setScaledContents(False) self.labelTotalData.setObjectName(_fromUtf8("labelTotalData")) self.labelTotalDataValue = QtWidgets.QLabel(self.centralwidget) self.labelTotalDataValue.setGeometry(QtCore.QRect(120, 560, 80, 16)) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.labelTotalDataValue.sizePolicy().hasHeightForWidth()) self.labelTotalDataValue.setSizePolicy(sizePolicy) self.labelTotalDataValue.setObjectName(_fromUtf8("labelTotalDataValue")) self.columnView.raise_() self.btnImport.raise_() self.btnExport.raise_() self.groupBoxExport.raise_() self.btnInfo.raise_() self.labelDbfText.raise_() self.btnPrint.raise_() self.groupBoxImport.raise_() self.tableWidget.raise_() self.labelTotalData.raise_() self.labelTotalDataValue.raise_() FrmPrincipal.setCentralWidget(self.centralwidget) self.retranslateUi(FrmPrincipal) QtCore.QMetaObject.connectSlotsByName(FrmPrincipal)
def __init__(self, parent=None): super().__init__(parent) setupWindow = QtWidgets.QWidget(self) setupWindow.setObjectName("MainWindow") setupWindow.resize(240, 150) setupWindow.setMaximumSize(QtCore.QSize(240, 150)) setupWindow.setStyleSheet("background-color: rgb(255,252,241)\n") self.centralwidget = QtWidgets.QWidget(self) self.centralwidget.setObjectName("centralwidget") self.RightSide = QtWidgets.QColumnView(self.centralwidget) self.RightSide.setGeometry(QtCore.QRect(220, 0, 20, 150)) self.RightSide.setStyleSheet("background-color: rgb(78, 78, 78)") self.RightSide.setObjectName("RightSide") self.leftSide = QtWidgets.QColumnView(self.centralwidget) self.leftSide.setGeometry(QtCore.QRect(0, 0, 20, 150)) self.leftSide.setStyleSheet("background-color: rgb(78, 78, 78)") self.leftSide.setObjectName("leftSide") self.windowFrame = QtWidgets.QFrame(self.centralwidget) self.windowFrame.setGeometry(QtCore.QRect(20, 0, 201, 150)) self.windowFrame.setStyleSheet("background-color: rgb(255, 255, 255);") self.windowFrame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.windowFrame.setFrameShadow(QtWidgets.QFrame.Raised) self.windowFrame.setObjectName("windowFrame") self.chooseExercise = QtWidgets.QLabel(self.windowFrame) self.chooseExercise.setGeometry(QtCore.QRect(40, 20, 111, 21)) self.chooseExercise.setStyleSheet( "font: 14pt \".AppleSystemUIFont\";\n" "background-color: rgb(255, 255, 255);\n" "color: rgb(37,39,51);") self.chooseExercise.setObjectName("chooseExercise") self.WristExtension = QtWidgets.QPushButton(self.windowFrame) self.WristExtension.setGeometry(QtCore.QRect(0, 40, 201, 31)) self.WristExtension.setStyleSheet( "background-color: rgb(255,252,241);border-color: rgb(34, 34, 34);\n" "color: rgb(37,39,51);\n" "border-top-color: rgb(85, 86, 86);\n" "selection-background-color: rgb(197, 201, 201);\n" "") self.WristExtension.setObjectName("WristExtension") self.FingerFlexion = QtWidgets.QPushButton(self.windowFrame) self.FingerFlexion.setGeometry(QtCore.QRect(0, 80, 201, 31)) self.FingerFlexion.setStyleSheet( "background-color: rgb(255,252,241);border-color: rgb(34, 34, 34);\n" "color: rgb(37,39,51);\n" "border-top-color: rgb(85, 86, 86);\n" "selection-background-color: rgb(197, 201, 201);\n" "") self.FingerFlexion.setObjectName("FingerFlexion") self.Deltoid = QtWidgets.QPushButton(self.windowFrame) self.Deltoid.setGeometry(QtCore.QRect(0, 120, 201, 31)) self.Deltoid.setStyleSheet( "background-color: rgb(255,252,241);border-color: rgb(34, 34, 34);\n" "color: rgb(37,39,51);\n" "border-top-color: rgb(85, 86, 86);\n" "selection-background-color: rgb(197, 201, 201);\n" "") self.Deltoid.setObjectName("Deltoid") #####################################BUTTON SIGNALS###################################### self.WristExtension.clicked.connect(self.test_exit) self.FingerFlexion.clicked.connect(self.test_exit) self.Deltoid.clicked.connect(self.test_exit) ######################################################################################### # MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(self) self.menubar.setGeometry(QtCore.QRect(0, 0, 240, 24)) self.menubar.setObjectName("menubar") # MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(self) self.statusbar.setObjectName("statusbar") # MainWindow.setStatusBar(self.statusbar) _translate = QtCore.QCoreApplication.translate self.chooseExercise.setText( _translate("MainWindow", "Choose Exercise:")) self.WristExtension.setText(_translate("MainWindow", "Wrist Extension")) self.FingerFlexion.setText(_translate("MainWindow", "Finger Flexion")) self.Deltoid.setText(_translate("MainWindow", "Shoulder Extension")) self.chooseExercise.setAlignment(Qt.AlignCenter) self.chooseExercise.adjustSize()
def __init__(self, parent=None): super().__init__(parent) self.setObjectName("MainWindow") self.resize(400, 160) self.setMaximumSize(QtCore.QSize(400, 160)) self.setStyleSheet("background-color: rgb(255,252,241)\n" "") self.centralwidget = QtWidgets.QWidget(self) self.centralwidget.setObjectName("centralwidget") self.right = QtWidgets.QColumnView(self.centralwidget) self.right.setGeometry(QtCore.QRect(380, 0, 20, 131)) self.right.setStyleSheet("background-color: rgb(78, 78, 78)") self.right.setObjectName("right") self.left = QtWidgets.QColumnView(self.centralwidget) self.left.setGeometry(QtCore.QRect(0, -10, 20, 141)) self.left.setStyleSheet("background-color: rgb(78, 78, 78)") self.left.setObjectName("left") self.redoB = QtWidgets.QPushButton(self.centralwidget) self.redoB.setGeometry(QtCore.QRect(30, 0, 101, 131)) self.redoB.setStyleSheet( "background-color: rgb(255, 238, 245);\n" "color: rgb(37,39,51);\n" "border-top-color: rgb(85, 86, 86);\n" "selection-background-color: rgb(197, 201, 201);\n" "") self.redoB.setObjectName("redoB") self.middleB = QtWidgets.QPushButton(self.centralwidget) self.middleB.setGeometry(QtCore.QRect(150, 0, 101, 131)) self.middleB.setStyleSheet( "background-color: rgb(238, 255, 254);\n" "color: rgb(37,39,51);\n" "border-top-color: rgb(85, 86, 86);\n" "selection-background-color: rgb(197, 201, 201);\n" "") self.middleB.setObjectName("middleB") self.nextExB = QtWidgets.QPushButton(self.centralwidget) self.nextExB.setGeometry(QtCore.QRect(270, 0, 101, 131)) self.nextExB.setStyleSheet( "background-color: rgb(241, 255, 216);\n" "color: rgb(37,39,51);\n" "border-top-color: rgb(85, 86, 86);\n" "selection-background-color: rgb(197, 201, 201);\n" "") self.nextExB.setObjectName("nextExB") # MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(self) self.menubar.setGeometry(QtCore.QRect(0, 0, 400, 24)) self.menubar.setObjectName("menubar") # MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(self) self.statusbar.setObjectName("statusbar") # MainWindow.setStatusBar(self.statusbar) self.nextExB.clicked.connect(self.dialog_exit) self.middleB.clicked.connect(self.dialog_exit) self.redoB.clicked.connect(self.dialog_exit) _translate = QtCore.QCoreApplication.translate self.setWindowTitle(_translate("MainWindow", "MainWindow")) self.redoB.setText(_translate("MainWindow", "REDO")) self.middleB.setText( _translate("MainWindow", "Save and finish \n" " session")) self.nextExB.setText(_translate("MainWindow", "Next Exercise"))
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(1202, 736) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.horizontalLayoutWidget = QtWidgets.QWidget(self.centralwidget) self.horizontalLayoutWidget.setGeometry(QtCore.QRect(180, 50, 871, 80)) self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget") self.horizontalLayout = QtWidgets.QHBoxLayout( self.horizontalLayoutWidget) self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.horizontalLayout.setObjectName("horizontalLayout") self.pushButton = QtWidgets.QPushButton(self.horizontalLayoutWidget) self.pushButton.setObjectName("pushButton") self.horizontalLayout.addWidget(self.pushButton) self.radioButton = QtWidgets.QRadioButton(self.horizontalLayoutWidget) self.radioButton.setObjectName("radioButton") self.horizontalLayout.addWidget(self.radioButton) self.commandLinkButton = QtWidgets.QCommandLinkButton( self.horizontalLayoutWidget) self.commandLinkButton.setObjectName("commandLinkButton") self.horizontalLayout.addWidget(self.commandLinkButton) self.toolButton = QtWidgets.QToolButton(self.horizontalLayoutWidget) self.toolButton.setObjectName("toolButton") self.horizontalLayout.addWidget(self.toolButton) self.verticalLayoutWidget = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget.setGeometry(QtCore.QRect(180, 150, 871, 255)) self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") self.verticalLayout_2 = QtWidgets.QVBoxLayout( self.verticalLayoutWidget) self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) self.verticalLayout_2.setObjectName("verticalLayout_2") self.listView = QtWidgets.QListView(self.verticalLayoutWidget) self.listView.setObjectName("listView") self.verticalLayout_2.addWidget(self.listView) self.treeView = QtWidgets.QTreeView(self.verticalLayoutWidget) self.treeView.setObjectName("treeView") self.verticalLayout_2.addWidget(self.treeView) self.columnView = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView.setObjectName("columnView") self.verticalLayout_2.addWidget(self.columnView) self.dateEdit = QtWidgets.QDateEdit(self.verticalLayoutWidget) self.dateEdit.setObjectName("dateEdit") self.verticalLayout_2.addWidget(self.dateEdit) self.gridLayoutWidget = QtWidgets.QWidget(self.centralwidget) self.gridLayoutWidget.setGeometry(QtCore.QRect(190, 400, 861, 152)) self.gridLayoutWidget.setObjectName("gridLayoutWidget") self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget) self.gridLayout.setContentsMargins(0, 0, 0, 0) self.gridLayout.setObjectName("gridLayout") self.treeWidget = QtWidgets.QTreeWidget(self.gridLayoutWidget) self.treeWidget.setObjectName("treeWidget") self.treeWidget.headerItem().setText(0, "1") self.gridLayout.addWidget(self.treeWidget, 1, 0, 1, 1) self.listWidget = QtWidgets.QListWidget(self.gridLayoutWidget) self.listWidget.setObjectName("listWidget") self.gridLayout.addWidget(self.listWidget, 0, 0, 1, 1) self.treeWidget_2 = QtWidgets.QTreeWidget(self.gridLayoutWidget) self.treeWidget_2.setObjectName("treeWidget_2") self.treeWidget_2.headerItem().setText(0, "1") self.gridLayout.addWidget(self.treeWidget_2, 1, 1, 1, 1) self.formLayoutWidget = QtWidgets.QWidget(self.centralwidget) self.formLayoutWidget.setGeometry(QtCore.QRect(280, 590, 671, 111)) self.formLayoutWidget.setObjectName("formLayoutWidget") self.formLayout = QtWidgets.QFormLayout(self.formLayoutWidget) self.formLayout.setContentsMargins(0, 0, 0, 0) self.formLayout.setObjectName("formLayout") self.frame = QtWidgets.QFrame(self.formLayoutWidget) self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame.setFrameShadow(QtWidgets.QFrame.Raised) self.frame.setObjectName("frame") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.frame) self.verticalLayoutWidget_2 = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget_2.setGeometry(QtCore.QRect( 150, 30, 941, 691)) self.verticalLayoutWidget_2.setObjectName("verticalLayoutWidget_2") self.verticalLayout_3 = QtWidgets.QVBoxLayout( self.verticalLayoutWidget_2) self.verticalLayout_3.setContentsMargins(0, 0, 0, 0) self.verticalLayout_3.setObjectName("verticalLayout_3") MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 1202, 23)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(800, 600) font = QtGui.QFont() font.setBold(True) font.setWeight(75) MainWindow.setFont(font) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.label = QtWidgets.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(340, 20, 121, 31)) self.label.setMinimumSize(QtCore.QSize(81, 21)) font = QtGui.QFont() font.setPointSize(11) self.label.setFont(font) self.label.setObjectName("label") self.label_2 = QtWidgets.QLabel(self.centralwidget) self.label_2.setGeometry(QtCore.QRect(210, 380, 31, 21)) font = QtGui.QFont() font.setPointSize(10) font.setBold(True) font.setWeight(75) self.label_2.setFont(font) self.label_2.setObjectName("label_2") self.lineEdit = QtWidgets.QLineEdit(self.centralwidget) self.lineEdit.setGeometry(QtCore.QRect(270, 380, 321, 20)) self.lineEdit.setObjectName("lineEdit") self.label_3 = QtWidgets.QLabel(self.centralwidget) self.label_3.setGeometry(QtCore.QRect(210, 413, 41, 16)) self.label_3.setObjectName("label_3") self.label_4 = QtWidgets.QLabel(self.centralwidget) self.label_4.setGeometry(QtCore.QRect(210, 440, 61, 16)) self.label_4.setObjectName("label_4") self.label_5 = QtWidgets.QLabel(self.centralwidget) self.label_5.setGeometry(QtCore.QRect(210, 470, 51, 21)) self.label_5.setObjectName("label_5") self.lineEdit_2 = QtWidgets.QLineEdit(self.centralwidget) self.lineEdit_2.setGeometry(QtCore.QRect(270, 410, 321, 20)) self.lineEdit_2.setObjectName("lineEdit_2") self.lineEdit_3 = QtWidgets.QLineEdit(self.centralwidget) self.lineEdit_3.setGeometry(QtCore.QRect(270, 440, 321, 20)) self.lineEdit_3.setObjectName("lineEdit_3") self.lineEdit_4 = QtWidgets.QLineEdit(self.centralwidget) self.lineEdit_4.setGeometry(QtCore.QRect(270, 470, 321, 20)) self.lineEdit_4.setObjectName("lineEdit_4") self.pushButton = QtWidgets.QPushButton(self.centralwidget) self.pushButton.setGeometry(QtCore.QRect(280, 500, 75, 23)) self.pushButton.setObjectName("pushButton") self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_2.setGeometry(QtCore.QRect(360, 500, 75, 23)) self.pushButton_2.setObjectName("pushButton_2") self.pushButton_3 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_3.setGeometry(QtCore.QRect(440, 500, 75, 23)) self.pushButton_3.setObjectName("pushButton_3") self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_4.setGeometry(QtCore.QRect(520, 500, 75, 23)) self.pushButton_4.setObjectName("pushButton_4") self.openGLWidget = QtWidgets.QOpenGLWidget(self.centralwidget) self.openGLWidget.setGeometry(QtCore.QRect(-210, 590, 300, 200)) self.openGLWidget.setObjectName("openGLWidget") self.columnView = QtWidgets.QColumnView(self.centralwidget) self.columnView.setGeometry(QtCore.QRect(210, 50, 401, 291)) self.columnView.setObjectName("columnView") MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 21)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, evaluate_window): evaluate_window.setObjectName("evaluate_window") evaluate_window.resize(647, 556) evaluate_window.setStyleSheet( " background-color: rgb(66,66,66);\n" "") self.centralwidget = QtWidgets.QWidget(evaluate_window) self.centralwidget.setObjectName("centralwidget") self.team_2 = QtWidgets.QListView(self.centralwidget) self.team_2.setGeometry(QtCore.QRect(20, 110, 261, 351)) self.team_2.setStyleSheet("background-color: rgb(255, 255, 255);") self.team_2.setObjectName("team_2") self.team_1 = QtWidgets.QListView(self.centralwidget) self.team_1.setGeometry(QtCore.QRect(360, 110, 261, 351)) self.team_1.setStyleSheet("background-color: rgb(255, 255, 255);") self.team_1.setObjectName("team_1") self.columnView = QtWidgets.QColumnView(self.centralwidget) self.columnView.setGeometry(QtCore.QRect(20, 70, 261, 41)) font = QtGui.QFont() font.setPointSize(11) self.columnView.setFont(font) self.columnView.setStyleSheet("background-color: rgb(63, 81, 181);") self.columnView.setObjectName("columnView") self.columnView_2 = QtWidgets.QColumnView(self.centralwidget) self.columnView_2.setGeometry(QtCore.QRect(360, 70, 261, 41)) font = QtGui.QFont() font.setPointSize(11) self.columnView_2.setFont(font) self.columnView_2.setStyleSheet("background-color: rgb(63, 81, 181);") self.columnView_2.setObjectName("columnView_2") self.label = QtWidgets.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(110, 80, 81, 16)) font = QtGui.QFont() font.setPointSize(14) self.label.setFont(font) self.label.setStyleSheet( "color: rgb(255, 255, 255);\n" " background-color: rgb(63, 81, 181);\n" " ") self.label.setObjectName("label") self.label_2 = QtWidgets.QLabel(self.centralwidget) self.label_2.setGeometry(QtCore.QRect(450, 80, 101, 16)) font = QtGui.QFont() font.setPointSize(14) self.label_2.setFont(font) self.label_2.setStyleSheet( "color: rgb(255, 255, 255);\n" " background-color: rgb(63, 81, 181);\n" " ") self.label_2.setObjectName("label_2") self.label_3 = QtWidgets.QLabel(self.centralwidget) self.label_3.setGeometry(QtCore.QRect(220, 20, 251, 31)) font = QtGui.QFont() font.setPointSize(20) self.label_3.setFont(font) self.label_3.setStyleSheet( "color: rgb(255, 255, 255);\n" " background-color: rgb(66,66,66);\n" " ") self.label_3.setObjectName("label_3") self.evaluate_push = QtWidgets.QPushButton(self.centralwidget) self.evaluate_push.setGeometry(QtCore.QRect(270, 480, 101, 23)) self.evaluate_push.setStyleSheet("color: rgb(255, 255, 255);") self.evaluate_push.setObjectName("evaluate_push") evaluate_window.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(evaluate_window) self.menubar.setGeometry(QtCore.QRect(0, 0, 647, 20)) self.menubar.setObjectName("menubar") evaluate_window.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(evaluate_window) self.statusbar.setObjectName("statusbar") evaluate_window.setStatusBar(self.statusbar) self.retranslateUi(evaluate_window) QtCore.QMetaObject.connectSlotsByName(evaluate_window)
def setupUi(self, Preview): Preview.setObjectName("Preview") Preview.resize(601, 623) Preview.setMinimumSize(QtCore.QSize(601, 623)) self.centralwidget = QtWidgets.QWidget(Preview) self.centralwidget.setObjectName("centralwidget") self.gridLayout_4 = QtWidgets.QGridLayout(self.centralwidget) self.gridLayout_4.setContentsMargins(0, 0, 0, 0) self.gridLayout_4.setSpacing(0) self.gridLayout_4.setObjectName("gridLayout_4") self.tabWidget = QtWidgets.QTabWidget(self.centralwidget) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.gridLayout_7 = QtWidgets.QGridLayout(self.tab) self.gridLayout_7.setContentsMargins(0, 0, 0, 0) self.gridLayout_7.setSpacing(0) self.gridLayout_7.setObjectName("gridLayout_7") self.tabWidget_2 = QtWidgets.QTabWidget(self.tab) self.tabWidget_2.setMinimumSize(QtCore.QSize(298, 195)) self.tabWidget_2.setMaximumSize(QtCore.QSize(16777215, 195)) self.tabWidget_2.setObjectName("tabWidget_2") self.tab_3 = QtWidgets.QWidget() self.tab_3.setObjectName("tab_3") self.gridLayout = QtWidgets.QGridLayout(self.tab_3) self.gridLayout.setObjectName("gridLayout") self.radioButton = QtWidgets.QRadioButton(self.tab_3) self.radioButton.setObjectName("radioButton") self.gridLayout.addWidget(self.radioButton, 0, 0, 1, 1) self.radioButton_2 = QtWidgets.QRadioButton(self.tab_3) self.radioButton_2.setChecked(True) self.radioButton_2.setAutoRepeat(True) self.radioButton_2.setObjectName("radioButton_2") self.gridLayout.addWidget(self.radioButton_2, 1, 0, 1, 1) self.radioButton_3 = QtWidgets.QRadioButton(self.tab_3) self.radioButton_3.setEnabled(False) self.radioButton_3.setCheckable(False) self.radioButton_3.setChecked(False) self.radioButton_3.setAutoRepeat(True) self.radioButton_3.setAutoExclusive(False) self.radioButton_3.setObjectName("radioButton_3") self.gridLayout.addWidget(self.radioButton_3, 2, 0, 1, 1) self.checkBox = QtWidgets.QCheckBox(self.tab_3) self.checkBox.setEnabled(True) self.checkBox.setChecked(True) self.checkBox.setObjectName("checkBox") self.gridLayout.addWidget(self.checkBox, 3, 0, 1, 1) self.checkBox_2 = QtWidgets.QCheckBox(self.tab_3) self.checkBox_2.setEnabled(False) self.checkBox_2.setChecked(True) self.checkBox_2.setObjectName("checkBox_2") self.gridLayout.addWidget(self.checkBox_2, 4, 0, 1, 1) self.tabWidget_2.addTab(self.tab_3, "") self.tab_4 = QtWidgets.QWidget() self.tab_4.setObjectName("tab_4") self.gridLayout_3 = QtWidgets.QGridLayout(self.tab_4) self.gridLayout_3.setObjectName("gridLayout_3") self.textEdit = QtWidgets.QTextEdit(self.tab_4) self.textEdit.setMaximumSize(QtCore.QSize(16777215, 30)) self.textEdit.setObjectName("textEdit") self.gridLayout_3.addWidget(self.textEdit, 0, 0, 1, 1) self.lineEdit = QtWidgets.QLineEdit(self.tab_4) self.lineEdit.setMaximumSize(QtCore.QSize(16777215, 30)) self.lineEdit.setObjectName("lineEdit") self.gridLayout_3.addWidget(self.lineEdit, 1, 0, 1, 1) self.plainTextEdit = QtWidgets.QPlainTextEdit(self.tab_4) self.plainTextEdit.setMaximumSize(QtCore.QSize(16777215, 30)) self.plainTextEdit.setObjectName("plainTextEdit") self.gridLayout_3.addWidget(self.plainTextEdit, 2, 0, 1, 1) self.tabWidget_2.addTab(self.tab_4, "") self.tab_8 = QtWidgets.QWidget() self.tab_8.setObjectName("tab_8") self.gridLayout_10 = QtWidgets.QGridLayout(self.tab_8) self.gridLayout_10.setObjectName("gridLayout_10") self.lineEdit_2 = QtWidgets.QLineEdit(self.tab_8) self.lineEdit_2.setMinimumSize(QtCore.QSize(0, 40)) self.lineEdit_2.setEchoMode(QtWidgets.QLineEdit.Password) self.lineEdit_2.setObjectName("lineEdit_2") self.gridLayout_10.addWidget(self.lineEdit_2, 0, 0, 1, 2) self.progressBar = QtWidgets.QProgressBar(self.tab_8) self.progressBar.setMinimumSize(QtCore.QSize(0, 30)) self.progressBar.setProperty("value", 24) self.progressBar.setObjectName("progressBar") self.gridLayout_10.addWidget(self.progressBar, 1, 0, 1, 1) self.dial = QtWidgets.QDial(self.tab_8) self.dial.setObjectName("dial") self.gridLayout_10.addWidget(self.dial, 1, 1, 2, 1) self.horizontalScrollBar = QtWidgets.QScrollBar(self.tab_8) self.horizontalScrollBar.setMinimumSize(QtCore.QSize(0, 30)) self.horizontalScrollBar.setOrientation(QtCore.Qt.Horizontal) self.horizontalScrollBar.setObjectName("horizontalScrollBar") self.gridLayout_10.addWidget(self.horizontalScrollBar, 2, 0, 1, 1) self.tabWidget_2.addTab(self.tab_8, "") self.gridLayout_7.addWidget(self.tabWidget_2, 0, 0, 1, 1) self.tabWidget_3 = QtWidgets.QTabWidget(self.tab) self.tabWidget_3.setObjectName("tabWidget_3") self.Tex = QtWidgets.QWidget() self.Tex.setObjectName("Tex") self.gridLayout_2 = QtWidgets.QGridLayout(self.Tex) self.gridLayout_2.setObjectName("gridLayout_2") self.toolButton = QtWidgets.QToolButton(self.Tex) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.toolButton.sizePolicy().hasHeightForWidth()) self.toolButton.setSizePolicy(sizePolicy) self.toolButton.setMinimumSize(QtCore.QSize(262, 40)) self.toolButton.setObjectName("toolButton") self.gridLayout_2.addWidget(self.toolButton, 4, 0, 1, 1) self.pushButton_2 = QtWidgets.QPushButton(self.Tex) self.pushButton_2.setMinimumSize(QtCore.QSize(240, 40)) self.pushButton_2.setFlat(True) self.pushButton_2.setObjectName("pushButton_2") self.gridLayout_2.addWidget(self.pushButton_2, 1, 0, 1, 1) self.pushButton_3 = QtWidgets.QPushButton(self.Tex) self.pushButton_3.setMinimumSize(QtCore.QSize(240, 40)) self.pushButton_3.setDefault(True) self.pushButton_3.setObjectName("pushButton_3") self.gridLayout_2.addWidget(self.pushButton_3, 2, 0, 1, 1) self.buttonBox = QtWidgets.QDialogButtonBox(self.Tex) self.buttonBox.setMinimumSize(QtCore.QSize(240, 60)) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Discard|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setCenterButtons(True) self.buttonBox.setObjectName("buttonBox") self.gridLayout_2.addWidget(self.buttonBox, 5, 0, 1, 1) self.pushButton_4 = QtWidgets.QPushButton(self.Tex) self.pushButton_4.setEnabled(False) self.pushButton_4.setMinimumSize(QtCore.QSize(240, 40)) self.pushButton_4.setObjectName("pushButton_4") self.gridLayout_2.addWidget(self.pushButton_4, 3, 0, 1, 1) self.pushButton = QtWidgets.QPushButton(self.Tex) self.pushButton.setMinimumSize(QtCore.QSize(240, 40)) self.pushButton.setObjectName("pushButton") self.gridLayout_2.addWidget(self.pushButton, 0, 0, 1, 1) self.commandLinkButton = QtWidgets.QCommandLinkButton(self.Tex) self.commandLinkButton.setMinimumSize(QtCore.QSize(240, 41)) self.commandLinkButton.setAutoDefault(False) self.commandLinkButton.setDefault(False) self.commandLinkButton.setObjectName("commandLinkButton") self.gridLayout_2.addWidget(self.commandLinkButton, 6, 0, 1, 1) self.tabWidget_3.addTab(self.Tex, "") self.tab_5 = QtWidgets.QWidget() self.tab_5.setObjectName("tab_5") self.gridLayout_11 = QtWidgets.QGridLayout(self.tab_5) self.gridLayout_11.setObjectName("gridLayout_11") self.tableWidget = QtWidgets.QTableWidget(self.tab_5) self.tableWidget.setMaximumSize(QtCore.QSize(16777215, 400)) self.tableWidget.setAlternatingRowColors(True) self.tableWidget.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) self.tableWidget.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) self.tableWidget.setShowGrid(True) self.tableWidget.setGridStyle(QtCore.Qt.SolidLine) self.tableWidget.setColumnCount(10) self.tableWidget.setObjectName("tableWidget") self.tableWidget.setRowCount(10) item = QtWidgets.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(3, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(4, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(5, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(6, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(7, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(8, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(9, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(3, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(4, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(5, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(6, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(7, item) item = QtWidgets.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(8, item) self.gridLayout_11.addWidget(self.tableWidget, 0, 0, 1, 1) self.tabWidget_3.addTab(self.tab_5, "") self.gridLayout_7.addWidget(self.tabWidget_3, 1, 0, 1, 1) self.tabWidget_4 = QtWidgets.QTabWidget(self.tab) self.tabWidget_4.setObjectName("tabWidget_4") self.tab_6 = QtWidgets.QWidget() self.tab_6.setObjectName("tab_6") self.gridLayout_8 = QtWidgets.QGridLayout(self.tab_6) self.gridLayout_8.setObjectName("gridLayout_8") self.listWidget = QtWidgets.QListWidget(self.tab_6) self.listWidget.setObjectName("listWidget") item = QtWidgets.QListWidgetItem() self.listWidget.addItem(item) item = QtWidgets.QListWidgetItem() self.listWidget.addItem(item) item = QtWidgets.QListWidgetItem() self.listWidget.addItem(item) item = QtWidgets.QListWidgetItem() self.listWidget.addItem(item) item = QtWidgets.QListWidgetItem() self.listWidget.addItem(item) item = QtWidgets.QListWidgetItem() self.listWidget.addItem(item) item = QtWidgets.QListWidgetItem() self.listWidget.addItem(item) item = QtWidgets.QListWidgetItem() self.listWidget.addItem(item) self.gridLayout_8.addWidget(self.listWidget, 0, 0, 1, 1) self.treeWidget = QtWidgets.QTreeWidget(self.tab_6) self.treeWidget.setObjectName("treeWidget") item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) item_0 = QtWidgets.QTreeWidgetItem(self.treeWidget) self.gridLayout_8.addWidget(self.treeWidget, 1, 0, 1, 1) self.tableWidget_2 = QtWidgets.QTableWidget(self.tab_6) self.tableWidget_2.setRowCount(6) self.tableWidget_2.setColumnCount(8) self.tableWidget_2.setObjectName("tableWidget_2") self.gridLayout_8.addWidget(self.tableWidget_2, 2, 0, 1, 1) self.tabWidget_4.addTab(self.tab_6, "") self.tab_7 = QtWidgets.QWidget() self.tab_7.setObjectName("tab_7") self.gridLayout_9 = QtWidgets.QGridLayout(self.tab_7) self.gridLayout_9.setObjectName("gridLayout_9") self.listView = QtWidgets.QListView(self.tab_7) self.listView.setObjectName("listView") self.gridLayout_9.addWidget(self.listView, 0, 0, 1, 1) self.treeView = QtWidgets.QTreeView(self.tab_7) self.treeView.setObjectName("treeView") self.gridLayout_9.addWidget(self.treeView, 1, 0, 1, 1) self.tableView = QtWidgets.QTableView(self.tab_7) self.tableView.setObjectName("tableView") self.gridLayout_9.addWidget(self.tableView, 2, 0, 1, 1) self.columnView = QtWidgets.QColumnView(self.tab_7) self.columnView.setObjectName("columnView") self.gridLayout_9.addWidget(self.columnView, 3, 0, 1, 1) self.tabWidget_4.addTab(self.tab_7, "") self.gridLayout_7.addWidget(self.tabWidget_4, 0, 1, 2, 1) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.gridLayout_16 = QtWidgets.QGridLayout(self.tab_2) self.gridLayout_16.setContentsMargins(0, 0, 0, 0) self.gridLayout_16.setSpacing(0) self.gridLayout_16.setObjectName("gridLayout_16") self.groupBox = QtWidgets.QGroupBox(self.tab_2) self.groupBox.setMinimumSize(QtCore.QSize(561, 251)) self.groupBox.setObjectName("groupBox") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_5.setObjectName("gridLayout_5") self.scrollArea = QtWidgets.QScrollArea(self.groupBox) self.scrollArea.setMinimumSize(QtCore.QSize(541, 218)) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 573, 282)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.gridLayout_6 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents) self.gridLayout_6.setObjectName("gridLayout_6") self.toolBox = QtWidgets.QToolBox(self.scrollAreaWidgetContents) self.toolBox.setMinimumSize(QtCore.QSize(140, 190)) self.toolBox.setObjectName("toolBox") self.page = QtWidgets.QWidget() self.page.setGeometry(QtCore.QRect(0, 0, 158, 193)) self.page.setObjectName("page") self.gridLayout_12 = QtWidgets.QGridLayout(self.page) self.gridLayout_12.setObjectName("gridLayout_12") self.progressBar_2 = QtWidgets.QProgressBar(self.page) self.progressBar_2.setMinimumSize(QtCore.QSize(140, 30)) self.progressBar_2.setProperty("value", 24) self.progressBar_2.setObjectName("progressBar_2") self.gridLayout_12.addWidget(self.progressBar_2, 0, 0, 1, 1) self.progressBar_3 = QtWidgets.QProgressBar(self.page) self.progressBar_3.setMinimumSize(QtCore.QSize(140, 101)) self.progressBar_3.setProperty("value", 63) self.progressBar_3.setAlignment(QtCore.Qt.AlignCenter) self.progressBar_3.setOrientation(QtCore.Qt.Vertical) self.progressBar_3.setTextDirection(QtWidgets.QProgressBar.TopToBottom) self.progressBar_3.setObjectName("progressBar_3") self.gridLayout_12.addWidget(self.progressBar_3, 1, 0, 1, 1) self.toolBox.addItem(self.page, "") self.page_2 = QtWidgets.QWidget() self.page_2.setGeometry(QtCore.QRect(0, 0, 140, 210)) self.page_2.setObjectName("page_2") self.toolBox.addItem(self.page_2, "") self.gridLayout_6.addWidget(self.toolBox, 0, 0, 1, 1) self.stackedWidget = QtWidgets.QStackedWidget(self.scrollAreaWidgetContents) self.stackedWidget.setMinimumSize(QtCore.QSize(120, 190)) self.stackedWidget.setObjectName("stackedWidget") self.page_3 = QtWidgets.QWidget() self.page_3.setObjectName("page_3") self.gridLayout_17 = QtWidgets.QGridLayout(self.page_3) self.gridLayout_17.setObjectName("gridLayout_17") self.lcdNumber = QtWidgets.QLCDNumber(self.page_3) self.lcdNumber.setObjectName("lcdNumber") self.gridLayout_17.addWidget(self.lcdNumber, 0, 0, 1, 1) self.progressBar_4 = QtWidgets.QProgressBar(self.page_3) self.progressBar_4.setMinimumSize(QtCore.QSize(0, 40)) self.progressBar_4.setProperty("value", 61) self.progressBar_4.setTextVisible(False) self.progressBar_4.setObjectName("progressBar_4") self.gridLayout_17.addWidget(self.progressBar_4, 1, 0, 1, 1) self.line = QtWidgets.QFrame(self.page_3) self.line.setMinimumSize(QtCore.QSize(0, 20)) self.line.setLineWidth(6) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.gridLayout_17.addWidget(self.line, 2, 0, 1, 1) self.stackedWidget.addWidget(self.page_3) self.page_4 = QtWidgets.QWidget() self.page_4.setObjectName("page_4") self.stackedWidget.addWidget(self.page_4) self.gridLayout_6.addWidget(self.stackedWidget, 0, 1, 1, 1) self.frame = QtWidgets.QFrame(self.scrollAreaWidgetContents) self.frame.setMinimumSize(QtCore.QSize(110, 190)) self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame.setFrameShadow(QtWidgets.QFrame.Raised) self.frame.setObjectName("frame") self.gridLayout_13 = QtWidgets.QGridLayout(self.frame) self.gridLayout_13.setObjectName("gridLayout_13") self.graphicsView = QtWidgets.QGraphicsView(self.frame) self.graphicsView.setObjectName("graphicsView") self.gridLayout_13.addWidget(self.graphicsView, 0, 0, 1, 1) self.gridLayout_6.addWidget(self.frame, 0, 2, 1, 1) self.widget = QtWidgets.QWidget(self.scrollAreaWidgetContents) self.widget.setMinimumSize(QtCore.QSize(110, 190)) self.widget.setObjectName("widget") self.gridLayout_14 = QtWidgets.QGridLayout(self.widget) self.gridLayout_14.setObjectName("gridLayout_14") self.openGLWidget = QtWidgets.QOpenGLWidget(self.widget) self.openGLWidget.setObjectName("openGLWidget") self.gridLayout_14.addWidget(self.openGLWidget, 0, 0, 1, 1) self.gridLayout_6.addWidget(self.widget, 0, 3, 1, 1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout_5.addWidget(self.scrollArea, 0, 0, 1, 1) self.gridLayout_16.addWidget(self.groupBox, 0, 0, 1, 1) self.groupBox_2 = QtWidgets.QGroupBox(self.tab_2) self.groupBox_2.setMinimumSize(QtCore.QSize(560, 260)) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_15 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_15.setContentsMargins(9, 9, -1, -1) self.gridLayout_15.setObjectName("gridLayout_15") self.comboBox = QtWidgets.QComboBox(self.groupBox_2) self.comboBox.setMinimumSize(QtCore.QSize(260, 30)) self.comboBox.setObjectName("comboBox") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.gridLayout_15.addWidget(self.comboBox, 0, 0, 1, 1) self.calendarWidget = QtWidgets.QCalendarWidget(self.groupBox_2) self.calendarWidget.setObjectName("calendarWidget") self.gridLayout_15.addWidget(self.calendarWidget, 0, 1, 6, 1) self.fontComboBox = QtWidgets.QFontComboBox(self.groupBox_2) self.fontComboBox.setMinimumSize(QtCore.QSize(260, 30)) self.fontComboBox.setObjectName("fontComboBox") self.gridLayout_15.addWidget(self.fontComboBox, 1, 0, 1, 1) self.timeEdit = QtWidgets.QTimeEdit(self.groupBox_2) self.timeEdit.setMinimumSize(QtCore.QSize(260, 30)) self.timeEdit.setObjectName("timeEdit") self.gridLayout_15.addWidget(self.timeEdit, 2, 0, 1, 1) self.dateEdit = QtWidgets.QDateEdit(self.groupBox_2) self.dateEdit.setMinimumSize(QtCore.QSize(260, 30)) self.dateEdit.setObjectName("dateEdit") self.gridLayout_15.addWidget(self.dateEdit, 3, 0, 1, 1) self.spinBox = QtWidgets.QSpinBox(self.groupBox_2) self.spinBox.setMinimumSize(QtCore.QSize(260, 30)) self.spinBox.setObjectName("spinBox") self.gridLayout_15.addWidget(self.spinBox, 4, 0, 1, 1) self.dateTimeEdit = QtWidgets.QDateTimeEdit(self.groupBox_2) self.dateTimeEdit.setMinimumSize(QtCore.QSize(260, 30)) self.dateTimeEdit.setObjectName("dateTimeEdit") self.gridLayout_15.addWidget(self.dateTimeEdit, 5, 0, 1, 1) self.gridLayout_16.addWidget(self.groupBox_2, 1, 0, 1, 1) self.tabWidget.addTab(self.tab_2, "") self.gridLayout_4.addWidget(self.tabWidget, 0, 0, 1, 1) Preview.setCentralWidget(self.centralwidget) self.statusbar = QtWidgets.QStatusBar(Preview) self.statusbar.setObjectName("statusbar") Preview.setStatusBar(self.statusbar) self.actionOpen = QtWidgets.QAction(Preview) self.actionOpen.setObjectName("actionOpen") self.actionClose = QtWidgets.QAction(Preview) self.actionClose.setObjectName("actionClose") self.actionExit = QtWidgets.QAction(Preview) self.actionExit.setObjectName("actionExit") self.actionSave = QtWidgets.QAction(Preview) self.actionSave.setObjectName("actionSave") self.actionBuild = QtWidgets.QAction(Preview) self.actionBuild.setObjectName("actionBuild") self.actionDocs = QtWidgets.QAction(Preview) self.actionDocs.setObjectName("actionDocs") self.actionHelp = QtWidgets.QAction(Preview) self.actionHelp.setObjectName("actionHelp") self.actionInfo = QtWidgets.QAction(Preview) self.actionInfo.setObjectName("actionInfo") self.retranslateUi(Preview) self.tabWidget.setCurrentIndex(0) self.tabWidget_2.setCurrentIndex(0) self.tabWidget_3.setCurrentIndex(1) self.tabWidget_4.setCurrentIndex(0) self.toolBox.setCurrentIndex(1) self.stackedWidget.setCurrentIndex(0) self.dial.valueChanged['int'].connect(self.progressBar.setValue) self.dial.valueChanged['int'].connect(self.horizontalScrollBar.setValue) self.progressBar_2.valueChanged['int'].connect(self.timeEdit.selectAll) QtCore.QMetaObject.connectSlotsByName(Preview)
def __init__(self, parent=None): super().__init__(parent) self.setObjectName("MainWindow") self.resize(330, 138) self.setMaximumSize(QtCore.QSize(330, 138)) self.setStyleSheet("background-color: rgb(255,252,241)") self.centralwidget = QtWidgets.QWidget(self) self.centralwidget.setObjectName("centralwidget") self.right = QtWidgets.QColumnView(self.centralwidget) self.right.setGeometry(QtCore.QRect(310, 10, 20, 101)) self.right.setStyleSheet("background-color: rgb(78, 78, 78)") self.right.setObjectName("right") self.left = QtWidgets.QColumnView(self.centralwidget) self.left.setGeometry(QtCore.QRect(0, 10, 20, 101)) self.left.setStyleSheet("background-color: rgb(78, 78, 78)") self.left.setObjectName("left") self.MAIN = QtWidgets.QFrame(self.centralwidget) self.MAIN.setGeometry(QtCore.QRect(20, 10, 291, 101)) self.MAIN.setStyleSheet("background-color: rgb(255, 255, 255);") self.MAIN.setFrameShape(QtWidgets.QFrame.StyledPanel) self.MAIN.setFrameShadow(QtWidgets.QFrame.Raised) self.MAIN.setObjectName("MAIN") self.labelPatientsName = QtWidgets.QLabel(self.MAIN) self.labelPatientsName.setGeometry(QtCore.QRect(0, 10, 131, 21)) self.labelPatientsName.setStyleSheet( "font: 14pt \".AppleSystemUIFont\";\n" "background-color: rgb(255, 255, 255);\n" "color: rgb(37,39,51);") self.labelPatientsName.setObjectName("labelPatientsName") self.OK = QtWidgets.QPushButton(self.MAIN) self.OK.setGeometry(QtCore.QRect(190, 70, 101, 20)) self.OK.setStyleSheet( "background-color: rgb(255,252,241);border-color: rgb(34, 34, 34);\n" "color: rgb(37,39,51);\n" "border-top-color: rgb(85, 86, 86);\n" "selection-background-color: rgb(197, 201, 201);\n" "") self.OK.setObjectName("OK") self.labelPatientsName_2 = QtWidgets.QLabel(self.MAIN) self.labelPatientsName_2.setGeometry(QtCore.QRect(0, 50, 131, 21)) self.labelPatientsName_2.setStyleSheet( "font: 14pt \".AppleSystemUIFont\";\n" "background-color: rgb(255, 255, 255);\n" "color: rgb(37,39,51);") self.labelPatientsName_2.setObjectName("labelPatientsName_2") self.PnameLine = QtWidgets.QLineEdit(self.MAIN) self.PnameLine.setStyleSheet( "background-color: rgb(255,252,241);\n" "color: rgb(115, 116, 116);\n" "selection-color: rgb(207, 212, 212);\n" "border-color: rgb(156, 160, 159);\n" "border-bottom-color: rgb(159, 163, 163);") self.PnameLine.setGeometry(QtCore.QRect(0, 30, 281, 21)) self.PnameLine.setObjectName("PnameLine") self.URnumLine = QtWidgets.QLineEdit(self.MAIN) self.URnumLine.setGeometry(QtCore.QRect(0, 70, 181, 21)) self.URnumLine.setObjectName("URnumLine") self.URnumLine.setStyleSheet( "background-color: rgb(255,252,241);\n" "color: rgb(115, 116, 116);\n" "selection-color: rgb(207, 212, 212);\n" "border-color: rgb(156, 160, 159);\n" "border-bottom-color: rgb(159, 163, 163);") # self.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(self) self.menubar.setGeometry(QtCore.QRect(0, 0, 330, 24)) self.menubar.setObjectName("menubar") # MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(self) self.statusbar.setObjectName("statusbar") # MainWindow.setStatusBar(self.statusbar) self.OK.clicked.connect(self.save_UR_and_name) _translate = QtCore.QCoreApplication.translate self.setWindowTitle(_translate("MainWindow", "MainWindow")) self.labelPatientsName.setText( _translate("MainWindow", "Patient Name:")) self.OK.setText(_translate("MainWindow", "OK")) self.labelPatientsName_2.setText(_translate("MainWindow", "UR Number:")) self.labelPatientsName.adjustSize() self.labelPatientsName_2.adjustSize()
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(1069, 690) MainWindow.setMinimumSize(QtCore.QSize(1069, 690)) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.scrollArea = QtWidgets.QScrollArea(self.centralwidget) self.scrollArea.setGeometry(QtCore.QRect(0, 100, 211, 551)) self.scrollArea.setMinimumSize(QtCore.QSize(201, 481)) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 209, 549)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.columnView = QtWidgets.QColumnView(self.scrollAreaWidgetContents) self.columnView.setGeometry(QtCore.QRect(0, 0, 211, 551)) self.columnView.setMinimumSize(QtCore.QSize(211, 551)) self.columnView.setObjectName("columnView") # self.listWidget = QtWidgets.QListWidget(self.columnView) #List widget ends here self.verticalScrollBar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents) self.verticalScrollBar.setGeometry(QtCore.QRect(189, 0, 21, 551)) self.verticalScrollBar.setMinimumSize(QtCore.QSize(21, 551)) self.verticalScrollBar.setOrientation(QtCore.Qt.Vertical) self.verticalScrollBar.setObjectName("verticalScrollBar") self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.label = QtWidgets.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(30, 70, 91, 21)) self.label.setMinimumSize(QtCore.QSize(91, 21)) font = QtGui.QFont() font.setPointSize(18) self.label.setFont(font) self.label.setObjectName("label") # self.mdiArea = QtWidgets.QMdiArea(self.centralwidget) # self.mdiArea.setGeometry(QtCore.QRect(290, 70, 691, 511)) # self.mdiArea.setObjectName("mdiArea") self.graphicsView = QtWidgets.QGraphicsView(self.centralwidget) self.graphicsView.setGeometry(QtCore.QRect(290, 70, 691, 511)) self.graphicsView.setObjectName("graphicsView") self.scene=QGraphicsScene() global fname a=QPixmap(fname) self.scene.addPixmap(a.scaled(560,560)) self.graphicsView.setScene(self.scene) self.Convert = QtWidgets.QPushButton(self.centralwidget) self.Convert.setEnabled(False) self.Convert.setGeometry(QtCore.QRect(680, 600, 113, 32)) self.Convert.setObjectName("Convert") self.Sav = QtWidgets.QPushButton(self.centralwidget) self.Sav.setGeometry(QtCore.QRect(810, 600, 113, 32)) self.Sav.setObjectName("Sav") self.Sav.clicked.connect(self.roi) self.Next = QtWidgets.QPushButton(self.centralwidget) self.Next.setGeometry(QtCore.QRect(950, 600, 113, 32)) self.Next.setObjectName("Next") self.Next.clicked.connect(self.openWindow) self.Next.clicked.connect(MainWindow.close) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 1069, 22)) self.menubar.setObjectName("menubar") self.menuFile = QtWidgets.QMenu(self.menubar) self.menuFile.setObjectName("menuFile") self.menuEdit = QtWidgets.QMenu(self.menubar) self.menuEdit.setObjectName("menuEdit") self.menuHelp = QtWidgets.QMenu(self.menubar) self.menuHelp.setObjectName("menuHelp") self.menuSettings = QtWidgets.QMenu(self.menubar) self.menuSettings.setObjectName("menuSettings") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) # creates new project folder and all the required files self.actionNew_Project = QtWidgets.QAction(MainWindow) self.actionNew_Project.setObjectName("actionNew_Project") self.actionNew_Project.triggered.connect(self.newpro) self.actionOpen_Project = QtWidgets.QAction(MainWindow) self.actionOpen_Project.setObjectName("actionOpen_Project") self.actionLoad = QtWidgets.QAction(MainWindow) self.actionLoad.setObjectName("actionLoad") self.actionLoad.triggered.connect(self.loadpro) self.actionSave = QtWidgets.QAction(MainWindow) self.actionSave.setObjectName("actionSave") self.actionUndo = QtWidgets.QAction(MainWindow) self.actionUndo.setObjectName("actionUndo") self.actionRedo = QtWidgets.QAction(MainWindow) self.actionRedo.setObjectName("actionRedo") self.actionWindow = QtWidgets.QAction(MainWindow) self.actionWindow.setObjectName("actionWindow") self.menuFile.addAction(self.actionNew_Project) self.menuFile.addAction(self.actionOpen_Project) self.menuFile.addAction(self.actionLoad) self.menuFile.addAction(self.actionSave) self.menuEdit.addAction(self.actionUndo) self.menuEdit.addAction(self.actionRedo) self.menuHelp.addAction(self.actionWindow) self.menubar.addAction(self.menuFile.menuAction()) self.menubar.addAction(self.menuEdit.menuAction()) self.menubar.addAction(self.menuSettings.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, Form): Form.setObjectName("Form") Form.resize(2688, 1738) self.pushButton = QtWidgets.QPushButton(Form) self.pushButton.setGeometry(QtCore.QRect(2580, 8, 101, 61)) self.pushButton.setText("") self.pushButton.setIconSize(QtCore.QSize(40, 40)) self.pushButton.setAutoDefault(False) self.pushButton.setObjectName("pushButton") self.pushButton_2 = QtWidgets.QPushButton(Form) self.pushButton_2.setGeometry(QtCore.QRect(2481, 8, 101, 61)) self.pushButton_2.setText("") self.pushButton_2.setIconSize(QtCore.QSize(40, 40)) self.pushButton_2.setAutoDefault(False) self.pushButton_2.setObjectName("pushButton_2") self.pushButton_3 = QtWidgets.QPushButton(Form) self.pushButton_3.setGeometry(QtCore.QRect(2382, 8, 101, 61)) self.pushButton_3.setText("") self.pushButton_3.setIconSize(QtCore.QSize(40, 40)) self.pushButton_3.setAutoDefault(False) self.pushButton_3.setObjectName("pushButton_3") self.line = QtWidgets.QFrame(Form) self.line.setEnabled(True) self.line.setGeometry(QtCore.QRect(7, 65, 2674, 10)) self.line.setSizeIncrement(QtCore.QSize(20, 20)) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.columnView = QtWidgets.QColumnView(Form) self.columnView.setGeometry(QtCore.QRect(672, 8, 1712, 57)) self.columnView.setObjectName("columnView") self.pushButton_4 = QtWidgets.QPushButton(Form) self.pushButton_4.setGeometry(QtCore.QRect(7, 8, 81, 58)) self.pushButton_4.setText("") self.pushButton_4.setIconSize(QtCore.QSize(40, 40)) self.pushButton_4.setAutoDefault(False) self.pushButton_4.setObjectName("pushButton_4") self.comboBox = QtWidgets.QComboBox(Form) self.comboBox.setGeometry(QtCore.QRect(87, 8, 101, 57)) self.comboBox.setObjectName("comboBox") self.comboBox.addItem("") self.comboBox_2 = QtWidgets.QComboBox(Form) self.comboBox_2.setGeometry(QtCore.QRect(188, 8, 101, 57)) self.comboBox_2.setObjectName("comboBox_2") self.comboBox_2.addItem("") self.comboBox_3 = QtWidgets.QComboBox(Form) self.comboBox_3.setGeometry(QtCore.QRect(289, 8, 101, 57)) self.comboBox_3.setObjectName("comboBox_3") self.comboBox_3.addItem("") self.comboBox_4 = QtWidgets.QComboBox(Form) self.comboBox_4.setGeometry(QtCore.QRect(390, 8, 141, 57)) self.comboBox_4.setObjectName("comboBox_4") self.comboBox_4.addItem("") self.comboBox_5 = QtWidgets.QComboBox(Form) self.comboBox_5.setGeometry(QtCore.QRect(531, 8, 141, 57)) self.comboBox_5.setObjectName("comboBox_5") self.comboBox_5.addItem("") self.columnView_2 = QtWidgets.QColumnView(Form) self.columnView_2.setGeometry(QtCore.QRect(1570, 69, 1111, 131)) self.columnView_2.setObjectName("columnView_2") self.comboBox_6 = QtWidgets.QComboBox(Form) self.comboBox_6.setGeometry(QtCore.QRect(1050, 69, 521, 131)) self.comboBox_6.setObjectName("comboBox_6") self.comboBox_6.addItem("") self.comboBox_7 = QtWidgets.QComboBox(Form) self.comboBox_7.setGeometry(QtCore.QRect(529, 69, 521, 131)) self.comboBox_7.setObjectName("comboBox_7") self.comboBox_7.addItem("") self.comboBox_8 = QtWidgets.QComboBox(Form) self.comboBox_8.setGeometry(QtCore.QRect(8, 69, 521, 131)) self.comboBox_8.setObjectName("comboBox_8") self.comboBox_8.addItem("") self.pushButton_5 = QtWidgets.QPushButton(Form) self.pushButton_5.setGeometry(QtCore.QRect(30, 116, 40, 40)) self.pushButton_5.setText("") self.pushButton_5.setIconSize(QtCore.QSize(40, 40)) self.pushButton_5.setAutoDefault(False) self.pushButton_5.setObjectName("pushButton_5") self.pushButton_6 = QtWidgets.QPushButton(Form) self.pushButton_6.setGeometry(QtCore.QRect(560, 117, 40, 40)) self.pushButton_6.setText("") self.pushButton_6.setIconSize(QtCore.QSize(40, 40)) self.pushButton_6.setAutoDefault(False) self.pushButton_6.setObjectName("pushButton_6") self.pushButton_7 = QtWidgets.QPushButton(Form) self.pushButton_7.setGeometry(QtCore.QRect(1080, 117, 40, 40)) self.pushButton_7.setText("") self.pushButton_7.setIconSize(QtCore.QSize(40, 40)) self.pushButton_7.setAutoDefault(False) self.pushButton_7.setObjectName("pushButton_7") self.pushButton_8 = QtWidgets.QPushButton(Form) self.pushButton_8.setGeometry(QtCore.QRect(7, 200, 262, 81)) self.pushButton_8.setObjectName("pushButton_8") self.pushButton_9 = QtWidgets.QPushButton(Form) self.pushButton_9.setGeometry(QtCore.QRect(267, 200, 263, 81)) self.pushButton_9.setObjectName("pushButton_9") self.columnView_3 = QtWidgets.QColumnView(Form) self.columnView_3.setGeometry(QtCore.QRect(530, 200, 2151, 1531)) self.columnView_3.setObjectName("columnView_3") self.label = QtWidgets.QLabel(Form) self.label.setGeometry(QtCore.QRect(1380, 330, 541, 121)) self.label.setObjectName("label") self.columnView_4 = QtWidgets.QColumnView(Form) self.columnView_4.setGeometry(QtCore.QRect(9, 1220, 521, 511)) self.columnView_4.setObjectName("columnView_4") self.textEdit = QtWidgets.QTextEdit(Form) self.textEdit.setGeometry(QtCore.QRect(151, 1257, 351, 71)) self.textEdit.setObjectName("textEdit") self.pushButton_10 = QtWidgets.QPushButton(Form) self.pushButton_10.setGeometry(QtCore.QRect(41, 1257, 91, 71)) self.pushButton_10.setText("") self.pushButton_10.setIconSize(QtCore.QSize(40, 40)) self.pushButton_10.setAutoDefault(False) self.pushButton_10.setObjectName("pushButton_10") self.columnView_5 = QtWidgets.QColumnView(Form) self.columnView_5.setGeometry(QtCore.QRect(43, 1350, 458, 291)) self.columnView_5.setObjectName("columnView_5") self.pushButton_11 = QtWidgets.QPushButton(Form) self.pushButton_11.setGeometry(QtCore.QRect(42, 1652, 458, 57)) self.pushButton_11.setStyleSheet("font: 9pt \"Arial\";") self.pushButton_11.setObjectName("pushButton_11") self.retranslateUi(Form) self.pushButton.clicked.connect(Form.close) self.pushButton_3.clicked.connect(Form.showMinimized) QtCore.QMetaObject.connectSlotsByName(Form)
def setupUi(self, TelaPrincipal): TelaPrincipal.setObjectName(_fromUtf8("TelaPrincipal")) TelaPrincipal.setWindowModality(QtCore.Qt.NonModal) # DESABILITAR REDIMENCIONAMENTO DA JANELA TelaPrincipal.setFixedSize(1024, 700) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8("../imagens/FrmIcon_Car.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) TelaPrincipal.setWindowIcon(icon) TelaPrincipal.setAutoFillBackground(True) #TelaPrincipal.setIconSize(QtCore.QSize(40, 40)) self.centralwidget = QtWidgets.QWidget(TelaPrincipal) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.columnView = QtWidgets.QColumnView(self.centralwidget) self.columnView.setGeometry(QtCore.QRect(0, 0, 1024, 101)) self.columnView.setObjectName(_fromUtf8("columnView")) # BTN Amostra ############# self.btnAmostra = QtWidgets.QPushButton(self.centralwidget) self.btnAmostra.setGeometry(QtCore.QRect(10, 10, 131, 81)) self.btnAmostra.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.btnAmostra.setLayoutDirection(QtCore.Qt.LeftToRight) self.btnAmostra.setAutoFillBackground(False) icon1 = QtGui.QIcon() icon1.addPixmap( QtGui.QPixmap(_fromUtf8("../imagens/chemical-weapon-128.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnAmostra.setIcon(icon1) self.btnAmostra.setIconSize(QtCore.QSize(40, 40)) self.btnAmostra.setObjectName(_fromUtf8("btnAmostra")) ##BTN ALUGAR CLICK EVENT ###### self.btnAmostra.clicked.connect(self.FrmAmostra_Click) # BTN Pessoa ################### self.btnPessoa = QtWidgets.QPushButton(self.centralwidget) self.btnPessoa.setGeometry(QtCore.QRect(140, 10, 131, 81)) self.btnPessoa.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(_fromUtf8("../imagens/user-4-128.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnPessoa.setIcon(icon2) self.btnPessoa.setIconSize(QtCore.QSize(30, 30)) self.btnPessoa.setObjectName(_fromUtf8("btnPessoa")) ## BTNCLIENTE CLICK EVENT ### self.btnPessoa.clicked.connect(self.FrmPessoa_Click) # BTN MatrizX ################### self.btnMatrizX = QtWidgets.QPushButton(self.centralwidget) self.btnMatrizX.setGeometry(QtCore.QRect(270, 10, 131, 81)) self.btnMatrizX.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) icon3 = QtGui.QIcon() icon3.addPixmap( QtGui.QPixmap(_fromUtf8("../imagens/data-configuration-128.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnMatrizX.setIcon(icon3) self.btnMatrizX.setIconSize(QtCore.QSize(30, 30)) self.btnMatrizX.setObjectName(_fromUtf8("btnMatrizX")) ## BTNCLIENTE CLICK EVENT ### self.btnMatrizX.clicked.connect(self.FrmMatrizX_Click) self.lbImg = QtWidgets.QLabel(self.centralwidget) self.lbImg.setGeometry(QtCore.QRect(7, 110, 1010, 570)) self.lbImg.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.lbImg.setFrameShape(QtWidgets.QFrame.WinPanel) self.lbImg.setText(_fromUtf8("")) self.lbImg.setPixmap( QtGui.QPixmap(_fromUtf8("../imagens/QuÃmica-macetes.png"))) #self.lbImg.setAlignment(Qt.QTabletEvent.AlignJustify | Qt.AlignVCenter) self.lbImg.setObjectName(_fromUtf8("lbImg")) #TelaPrincipal.setCentralWidget(self.centralwidget) self.actionAmostra = QtWidgets.QAction(TelaPrincipal) self.actionAmostra.setObjectName(_fromUtf8("actionAmostra")) self.actionPessoa = QtWidgets.QAction(TelaPrincipal) self.actionPessoa.setObjectName(_fromUtf8("actionPessoa")) self.actionMatrizX = QtWidgets.QAction(TelaPrincipal) self.actionMatrizX.setObjectName(_fromUtf8("actionMatrizX")) self.retranslateUi(TelaPrincipal) QtCore.QMetaObject.connectSlotsByName(TelaPrincipal)
def setupUi(self, ArchitectureError): ArchitectureError.setObjectName("ArchitectureError") ArchitectureError.resize(688, 230) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(184, 184, 184, 142)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(184, 184, 184, 142)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) ArchitectureError.setPalette(palette) self.dockWidgetContents = QtWidgets.QWidget() self.dockWidgetContents.setObjectName("dockWidgetContents") self.groupBox = QtWidgets.QGroupBox(self.dockWidgetContents) self.groupBox.setGeometry(QtCore.QRect(0, -20, 691, 231)) self.groupBox.setTitle("") self.groupBox.setObjectName("groupBox") self.PluginView_4 = QtWidgets.QLineEdit(self.groupBox) self.PluginView_4.setGeometry(QtCore.QRect(0, 10, 691, 51)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(114, 159, 207)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(114, 159, 207)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) self.PluginView_4.setPalette(palette) font = QtGui.QFont() font.setPointSize(10) font.setBold(True) font.setWeight(75) self.PluginView_4.setFont(font) self.PluginView_4.setAutoFillBackground(False) self.PluginView_4.setAlignment(QtCore.Qt.AlignCenter) self.PluginView_4.setReadOnly(True) self.PluginView_4.setObjectName("PluginView_4") self.PluginView_3 = QtWidgets.QColumnView(self.groupBox) self.PluginView_3.setGeometry(QtCore.QRect(0, 60, 691, 171)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(184, 184, 184, 142)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(184, 184, 184, 142)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) self.PluginView_3.setPalette(palette) self.PluginView_3.setObjectName("PluginView_3") #self.pushButton = QtWidgets.QPushButton(self.groupBox) #self.pushButton.setGeometry(QtCore.QRect(534, 182, 81, 31)) #self.pushButton.setObjectName("pushButton") self.label = QtWidgets.QLabel(self.groupBox) self.label.setGeometry(QtCore.QRect(30, 80, 501, 101)) self.label.setTextFormat(QtCore.Qt.AutoText) self.label.setObjectName("label") self.PluginView_3.raise_() self.PluginView_4.raise_() #self.pushButton.raise_() self.label.raise_() ArchitectureError.setCentralWidget(self.dockWidgetContents) self.retranslateUi(ArchitectureError) QtCore.QMetaObject.connectSlotsByName(ArchitectureError) self.pushButton.clicked.connect(self.close_window)
def setupUi(self, Logs): Logs.setObjectName("Logs") Logs.resize(887, 563) Logs.setFrameShape(QtWidgets.QFrame.StyledPanel) Logs.setFrameShadow(QtWidgets.QFrame.Raised) self.groupBox = QtWidgets.QGroupBox(Logs) self.groupBox.setGeometry(QtCore.QRect(610, 192, 131, 271)) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setStyleSheet("border: 1px solid #ccc") self.groupBox.setTitle("") self.groupBox.setObjectName("groupBox") self.btnReset = QtWidgets.QPushButton(self.groupBox) self.btnReset.setGeometry(QtCore.QRect(15, 20, 99, 27)) self.btnReset.setStyleSheet("background-color: rgb(255, 0, 0);\n" "color: rgb(255, 255, 255);") self.btnReset.setObjectName("btnReset") self.btnExportExcel = QtWidgets.QPushButton(self.groupBox) self.btnExportExcel.setGeometry(QtCore.QRect(15, 70, 99, 27)) self.btnExportExcel.setStyleSheet( "background-color: rgb(0, 85, 255);\n" "color: rgb(255, 255, 255);") self.btnExportExcel.setObjectName("btnExportExcel") self.btnExportCSV = QtWidgets.QPushButton(self.groupBox) self.btnExportCSV.setGeometry(QtCore.QRect(15, 120, 99, 27)) self.btnExportCSV.setStyleSheet("background-color: rgb(0, 85, 0);\n" "color: rgb(255, 255, 255);") self.btnExportCSV.setObjectName("btnExportCSV") self.btnDeleteAll = QtWidgets.QPushButton(self.groupBox) self.btnDeleteAll.setGeometry(QtCore.QRect(15, 170, 99, 27)) self.btnDeleteAll.setStyleSheet("background-color: rgb(255, 85, 0);\n" "color: rgb(255, 255, 255);") self.btnDeleteAll.setObjectName("btnDeleteAll") self.btnCancel = QtWidgets.QPushButton(self.groupBox) self.btnCancel.setGeometry(QtCore.QRect(15, 220, 99, 27)) self.btnCancel.setStyleSheet("background-color: rgb(255, 0, 127);\n" "color: rgb(255, 255, 255);") self.btnCancel.setObjectName("btnCancel") self.label_2 = QtWidgets.QLabel(Logs) self.label_2.setGeometry(QtCore.QRect(80, 30, 661, 41)) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label_2.sizePolicy().hasHeightForWidth()) self.label_2.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.label_2.setFont(font) self.label_2.setStyleSheet("background-color: rgb(0, 48, 70);\n" "color: rgb(255, 255, 255);") self.label_2.setAlignment(QtCore.Qt.AlignCenter) self.label_2.setObjectName("label_2") self.tableView = QtWidgets.QTableView(Logs) self.tableView.setGeometry(QtCore.QRect(80, 220, 511, 251)) self.tableView.setObjectName("tableView") self.columnView_2 = QtWidgets.QColumnView(Logs) self.columnView_2.setGeometry(QtCore.QRect(80, 190, 131, 31)) self.columnView_2.setStyleSheet( "background-color: rgba(0, 85, 127, 200);") self.columnView_2.setObjectName("columnView_2") self.columnView_3 = QtWidgets.QColumnView(Logs) self.columnView_3.setGeometry(QtCore.QRect(211, 190, 131, 31)) self.columnView_3.setStyleSheet( "background-color: rgba(0, 85, 127, 200);") self.columnView_3.setObjectName("columnView_3") self.columnView_4 = QtWidgets.QColumnView(Logs) self.columnView_4.setGeometry(QtCore.QRect(341, 190, 251, 31)) self.columnView_4.setStyleSheet( "background-color: rgba(0, 85, 127, 200);") self.columnView_4.setObjectName("columnView_4") self.label = QtWidgets.QLabel(Logs) self.label.setGeometry(QtCore.QRect(110, 196, 68, 21)) font = QtGui.QFont() font.setPointSize(12) self.label.setFont(font) self.label.setStyleSheet("color:#fff") self.label.setObjectName("label") self.label_3 = QtWidgets.QLabel(Logs) self.label_3.setGeometry(QtCore.QRect(260, 196, 68, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_3.setFont(font) self.label_3.setStyleSheet("color:#fff") self.label_3.setObjectName("label_3") self.label_4 = QtWidgets.QLabel(Logs) self.label_4.setGeometry(QtCore.QRect(420, 190, 111, 31)) font = QtGui.QFont() font.setPointSize(12) self.label_4.setFont(font) self.label_4.setStyleSheet("color:#fff") self.label_4.setObjectName("label_4") self.groupBox_2 = QtWidgets.QGroupBox(Logs) self.groupBox_2.setGeometry(QtCore.QRect(80, 90, 661, 80)) self.groupBox_2.setStyleSheet("border:1px solid #ccc;") self.groupBox_2.setTitle("") self.groupBox_2.setObjectName("groupBox_2") self.groupBox_3 = QtWidgets.QGroupBox(self.groupBox_2) self.groupBox_3.setGeometry(QtCore.QRect(10, 10, 451, 61)) self.groupBox_3.setTitle("") self.groupBox_3.setObjectName("groupBox_3") self.groupBox_5 = QtWidgets.QGroupBox(self.groupBox_3) self.groupBox_5.setGeometry(QtCore.QRect(0, 30, 171, 51)) self.groupBox_5.setStyleSheet("border:0;") self.groupBox_5.setTitle("") self.groupBox_5.setObjectName("groupBox_5") self.dateEdit_2 = QtWidgets.QDateEdit(self.groupBox_5) self.dateEdit_2.setGeometry(QtCore.QRect(10, 0, 161, 21)) self.dateEdit_2.setStyleSheet( "border:1px solid #999; border-radius:3px;") self.dateEdit_2.setButtonSymbols( QtWidgets.QAbstractSpinBox.UpDownArrows) self.dateEdit_2.setDate(QtCore.QDate(2017, 1, 1)) self.dateEdit_2.setCalendarPopup(True) self.dateEdit_2.setObjectName("dateEdit_2") self.label_5 = QtWidgets.QLabel(self.groupBox_3) self.label_5.setGeometry(QtCore.QRect(10, 10, 68, 17)) self.label_5.setStyleSheet("border:0;") self.label_5.setObjectName("label_5") self.label_6 = QtWidgets.QLabel(self.groupBox_3) self.label_6.setGeometry(QtCore.QRect(190, 10, 61, 20)) self.label_6.setStyleSheet("border:0;") self.label_6.setObjectName("label_6") self.groupBox_6 = QtWidgets.QGroupBox(self.groupBox_3) self.groupBox_6.setGeometry(QtCore.QRect(280, 50, 171, 31)) self.groupBox_6.setStyleSheet("border:0;") self.groupBox_6.setTitle("") self.groupBox_6.setObjectName("groupBox_6") self.dateEdit_3 = QtWidgets.QDateEdit(self.groupBox_3) self.dateEdit_3.setGeometry(QtCore.QRect(190, 30, 161, 21)) self.dateEdit_3.setStyleSheet( "border:1px solid #999; border-radius:3px;") self.dateEdit_3.setButtonSymbols( QtWidgets.QAbstractSpinBox.UpDownArrows) self.dateEdit_3.setDate(QtCore.QDate(2017, 1, 1)) self.dateEdit_3.setCalendarPopup(True) self.dateEdit_3.setObjectName("dateEdit_3") self.pushButton = QtWidgets.QPushButton(self.groupBox_3) self.pushButton.setGeometry(QtCore.QRect(360, 20, 81, 31)) self.pushButton.setStyleSheet( "border-radius:3px;\n" "color: rgb(255, 255, 255);\n" "background-color: rgb(0, 85, 255);padding-top:3px;padding-bottom:3px;" ) self.pushButton.setObjectName("pushButton") self.groupBox_4 = QtWidgets.QGroupBox(self.groupBox_2) self.groupBox_4.setGeometry(QtCore.QRect(470, 10, 181, 61)) self.groupBox_4.setTitle("") self.groupBox_4.setObjectName("groupBox_4") self.label_7 = QtWidgets.QLabel(self.groupBox_4) self.label_7.setGeometry(QtCore.QRect(10, 10, 81, 20)) self.label_7.setStyleSheet("border:0;") self.label_7.setObjectName("label_7") self.comboBox = QtWidgets.QComboBox(self.groupBox_4) self.comboBox.setGeometry(QtCore.QRect(10, 30, 161, 21)) self.comboBox.setObjectName("comboBox") self.retranslateUi(Logs) QtCore.QMetaObject.connectSlotsByName(Logs)
def __init__(self, parent=None): QtWidgets.QWidget.__init__(self, parent) # self.ui=Ui_sequenceGUI() # self.ui.setupUi(self) self.motionList = [[ 'grasp', [ [ 0, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ], [ 1, [ 10, 12, 13, 14, 15, 0, 0, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ], [ 3, [ 40, 12, 13, 14, 15, 0, 0, 3, 5, 0, 0, 0, 40, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ], [ 6, [ 50, 12, 73, 14, 15, 0, 0, 8, 5, 0, 0, 0, 40, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ], [ 10, [ 30, 12, 53, 14, 15, 0, 0, 3, 5, 0, 0, 0, 40, 0, 0, 0, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ], [ 11, [ 10, 14, 63, 44, 15, 0, 0, 3, 5, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ], [ 15, [ 40, 12, 13, 14, 15, 0, 0, 3, 5, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ], ] ], [ 'wave', [[ 0, [ 1, 2, 3, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ], [ 1, [ 10, 12, 13, 14, 15, 0, 0, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ]] ]] with open("configurationSave.txt", "rb") as fp: # Unpickling b = pickle.load(fp) self.fromConfigure = b self.motionList = self.fromConfigure[1] self.iconList = [] self.currentMotion = self.motionList[0][0] self.currentEndTime = self.motionList[0][1][-1][0] self.gridLayout = QtWidgets.QHBoxLayout(self) self.toSave = [] self.tree = QtWidgets.QColumnView(self) self.motionReStart = QtWidgets.QPushButton(self) self.gridLayout.addWidget(self.motionReStart) self.motionContinuePause = QtWidgets.QPushButton(self) self.gridLayout.addWidget(self.motionContinuePause) self.motionContinuePause.setCheckable(True) self.motionContinuePause.setText('Motion go!') self.motionContinuePause.setStyleSheet( "background-color:rgb(122,255,122)") self.timeLine = QtCore.QTimeLine(self.currentEndTime * 1000, self) self.timeLine.setCurveShape(QtCore.QTimeLine.LinearCurve) self.timeLine.setUpdateInterval(100) self.gridLayout.addWidget(self.tree) self.motionReStart.clicked.connect(self.slotMotionReStart) self.motionContinuePause.clicked.connect(self.slotMotionContinuePause) self.timeLine.valueChanged.connect(self.slotTimeLineUpdate) self.timeLine.finished.connect(self.slotMotionReStart) self.model = QtGui.QStandardItemModel(self.tree) self.trajTimeArray = np.array(1) self.trajAngleArray = np.array(1) self.traj = [] self.easingCurve = QtCore.QEasingCurve(QtCore.QEasingCurve.Linear) self.trajGeneration() self.tree.setContextMenuPolicy(QtCore.Qt.CustomContextMenu) self.tree.customContextMenuRequested.connect(self.showContextMenu) self.sendDatHis = [] for i in range(len(self.motionList)): targetMotionName = self.motionList[i][0] targetMotion = self.motionList[i][1] iconMo = QtGui.QIcon('icons/iconMotion.png') itemMotion = QtGui.QStandardItem(iconMo, targetMotionName) for targetFrameTime, targetFrameAngle in targetMotion: iconFr = QtGui.QIcon('icons/iconTime.jpg') itemFrame = QtGui.QStandardItem(iconFr, str(targetFrameTime)) for j in range(len(targetFrameAngle)): iconAn = QtGui.QIcon('icons/iconNumber{:d}'.format(j)) itemFrame.appendRow( QtGui.QStandardItem(iconAn, str(targetFrameAngle[j]))) itemMotion.appendRow(itemFrame) self.model.appendRow(itemMotion) a = self.tree.iconSize() a *= 2 self.tree.setIconSize(a) self.tree.setModel(self.model) self.model.itemChanged.connect(self.on_item_changed) self.tree.clicked.connect(self.on_view_clicked)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(391, 323) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.tabWidget = QtWidgets.QTabWidget(self.centralwidget) self.tabWidget.setGeometry(QtCore.QRect(10, 0, 371, 281)) self.tabWidget.setObjectName("tabWidget") self.timerTab = QtWidgets.QWidget() self.timerTab.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu) self.timerTab.setToolTip("") self.timerTab.setAccessibleName("") self.timerTab.setObjectName("timerTab") self.layoutWidget = QtWidgets.QWidget(self.timerTab) self.layoutWidget.setGeometry(QtCore.QRect(10, 10, 341, 241)) self.layoutWidget.setObjectName("layoutWidget") self.gridLayout = QtWidgets.QGridLayout(self.layoutWidget) self.gridLayout.setContentsMargins(0, 0, 0, 0) self.gridLayout.setObjectName("gridLayout") self.timerLcd = QtWidgets.QLCDNumber(self.layoutWidget) self.timerLcd.setDigitCount(14) self.timerLcd.setObjectName("timerLcd") self.gridLayout.addWidget(self.timerLcd, 0, 0, 1, 3) self.relaxLcd = QtWidgets.QLCDNumber(self.layoutWidget) self.relaxLcd.setDigitCount(12) self.relaxLcd.setObjectName("relaxLcd") self.gridLayout.addWidget(self.relaxLcd, 1, 0, 1, 1) self.line = QtWidgets.QFrame(self.layoutWidget) self.line.setFrameShape(QtWidgets.QFrame.VLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.gridLayout.addWidget(self.line, 1, 1, 3, 1) self.learnLcd = QtWidgets.QLCDNumber(self.layoutWidget) self.learnLcd.setDigitCount(12) self.learnLcd.setObjectName("learnLcd") self.gridLayout.addWidget(self.learnLcd, 1, 2, 1, 1) self.relaxView = QtWidgets.QColumnView(self.layoutWidget) self.relaxView.setObjectName("relaxView") self.gridLayout.addWidget(self.relaxView, 2, 0, 1, 1) self.columnView = QtWidgets.QColumnView(self.layoutWidget) self.columnView.setObjectName("columnView") self.gridLayout.addWidget(self.columnView, 2, 2, 1, 1) self.relaxPushButton = QtWidgets.QPushButton(self.layoutWidget) self.relaxPushButton.setObjectName("relaxPushButton") self.gridLayout.addWidget(self.relaxPushButton, 3, 0, 1, 1) self.learnPushButton = QtWidgets.QPushButton(self.layoutWidget) self.learnPushButton.setCheckable(False) self.learnPushButton.setAutoDefault(True) self.learnPushButton.setObjectName("learnPushButton") self.gridLayout.addWidget(self.learnPushButton, 3, 2, 1, 1) self.tabWidget.addTab(self.timerTab, "") self.settingTab = QtWidgets.QWidget() self.settingTab.setObjectName("settingTab") self.settingTextBrowser = QtWidgets.QTextBrowser(self.settingTab) self.settingTextBrowser.setGeometry(QtCore.QRect(10, 10, 341, 241)) self.settingTextBrowser.setObjectName("settingTextBrowser") self.tabWidget.addTab(self.settingTab, "") MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 391, 23)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) self.learnPushButton.clicked.connect(self.learnLcd.setHexMode) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(811, 640) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.columnView = QtWidgets.QColumnView(self.centralwidget) self.columnView.setGeometry(QtCore.QRect(-5, 1, 821, 641)) self.columnView.setStyleSheet("background-color: #222222;") self.columnView.setObjectName("columnView") self.pushButton_plus = QtWidgets.QPushButton(self.centralwidget) self.pushButton_plus.setGeometry(QtCore.QRect(580, 500, 201, 111)) font = QtGui.QFont() font.setPointSize(30) self.pushButton_plus.setFont(font) self.pushButton_plus.setObjectName("pushButton_plus") self.pushButton_minus = QtWidgets.QPushButton(self.centralwidget) self.pushButton_minus.setGeometry(QtCore.QRect(580, 370, 201, 121)) font = QtGui.QFont() font.setPointSize(46) self.pushButton_minus.setFont(font) self.pushButton_minus.setObjectName("pushButton_minus") self.pushButton_multiply = QtWidgets.QPushButton(self.centralwidget) self.pushButton_multiply.setGeometry(QtCore.QRect(580, 240, 201, 121)) font = QtGui.QFont() font.setPointSize(30) self.pushButton_multiply.setFont(font) self.pushButton_multiply.setObjectName("pushButton_multiply") self.pushButton_divide = QtWidgets.QPushButton(self.centralwidget) self.pushButton_divide.setGeometry(QtCore.QRect(580, 110, 201, 121)) font = QtGui.QFont() font.setPointSize(30) self.pushButton_divide.setFont(font) self.pushButton_divide.setObjectName("pushButton_divide") self.pushButton_equal = QtWidgets.QPushButton(self.centralwidget) self.pushButton_equal.setGeometry(QtCore.QRect(390, 500, 181, 111)) font = QtGui.QFont() font.setPointSize(30) self.pushButton_equal.setFont(font) self.pushButton_equal.setObjectName("pushButton_equal") self.pushButton_7 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_7.setGeometry(QtCore.QRect(20, 110, 171, 121)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_7.setFont(font) self.pushButton_7.setObjectName("pushButton_7") self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_4.setGeometry(QtCore.QRect(20, 240, 171, 121)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_4.setFont(font) self.pushButton_4.setObjectName("pushButton_4") self.pushButton_1 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_1.setGeometry(QtCore.QRect(20, 370, 171, 121)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_1.setFont(font) self.pushButton_1.setObjectName("pushButton_1") self.pushButton_8 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_8.setGeometry(QtCore.QRect(200, 110, 181, 121)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_8.setFont(font) self.pushButton_8.setObjectName("pushButton_8") self.pushButton_9 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_9.setGeometry(QtCore.QRect(390, 110, 181, 121)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_9.setFont(font) self.pushButton_9.setObjectName("pushButton_9") self.pushButton_5 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_5.setGeometry(QtCore.QRect(200, 240, 181, 121)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_5.setFont(font) self.pushButton_5.setObjectName("pushButton_5") self.pushButton_6 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_6.setGeometry(QtCore.QRect(390, 240, 181, 121)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_6.setFont(font) self.pushButton_6.setObjectName("pushButton_6") self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_2.setGeometry(QtCore.QRect(200, 370, 181, 121)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_2.setFont(font) self.pushButton_2.setObjectName("pushButton_2") self.pushButton_3 = QtWidgets.QPushButton(self.centralwidget) self.pushButton_3.setGeometry(QtCore.QRect(390, 370, 181, 121)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_3.setFont(font) self.pushButton_3.setObjectName("pushButton_3") self.pushButton_zero = QtWidgets.QPushButton(self.centralwidget) self.pushButton_zero.setGeometry(QtCore.QRect(20, 500, 171, 111)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_zero.setFont(font) self.pushButton_zero.setAutoDefault(False) self.pushButton_zero.setObjectName("pushButton_zero") self.pushButton_dot = QtWidgets.QPushButton(self.centralwidget) self.pushButton_dot.setGeometry(QtCore.QRect(200, 500, 181, 111)) font = QtGui.QFont() font.setPointSize(25) self.pushButton_dot.setFont(font) self.pushButton_dot.setAutoDefault(False) self.pushButton_dot.setObjectName("pushButton_dot") self.label = QtWidgets.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(20, 10, 551, 91)) font = QtGui.QFont() font.setPointSize(20) self.label.setFont(font) self.label.setStyleSheet("background-color: rgb(238, 238, 236);") self.label.setIndent(10) self.label.setObjectName("label") self.pushButton_clear = QtWidgets.QPushButton(self.centralwidget) self.pushButton_clear.setGeometry(QtCore.QRect(580, 10, 201, 91)) font = QtGui.QFont() font.setPointSize(46) self.pushButton_clear.setFont(font) self.pushButton_clear.setObjectName("pushButton_clear") MainWindow.setCentralWidget(self.centralwidget) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(800, 500) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.columnView = QtWidgets.QColumnView(self.centralwidget) self.columnView.setGeometry(QtCore.QRect(-5, -19, 811, 481)) self.columnView.setStyleSheet("background-color: #fcfcfc;") self.columnView.setObjectName("columnView") self.label = QtWidgets.QLabel(self.centralwidget) self.label.setEnabled(True) self.label.setGeometry(QtCore.QRect(270, 70, 251, 31)) self.label.setStyleSheet("font-size: 24px;\n" "color: #404244;\n" "") self.label.setAlignment(QtCore.Qt.AlignCenter) self.label.setObjectName("label") self.label_2 = QtWidgets.QLabel(self.centralwidget) self.label_2.setGeometry(QtCore.QRect(370, 140, 60, 16)) self.label_2.setStyleSheet("font-size: 18px;\n" "color: #404244;") self.label_2.setObjectName("label_2") self.email_field = QtWidgets.QLineEdit(self.centralwidget) self.email_field.setGeometry(QtCore.QRect(250, 170, 301, 21)) self.email_field.setObjectName("email_field") self.password_field = QtWidgets.QLineEdit(self.centralwidget) self.password_field.setGeometry(QtCore.QRect(250, 240, 301, 21)) self.password_field.setText("") self.password_field.setObjectName("password_field") self.label_3 = QtWidgets.QLabel(self.centralwidget) self.label_3.setGeometry(QtCore.QRect(370, 210, 60, 16)) self.label_3.setStyleSheet("font-size: 18px;\n" "color: #404244;") self.label_3.setObjectName("label_3") self.login_button = QtWidgets.QPushButton(self.centralwidget) self.login_button.setGeometry(QtCore.QRect(252, 330, 301, 32)) self.login_button.setCursor(QtGui.QCursor( QtCore.Qt.PointingHandCursor)) self.login_button.setStyleSheet("background-color: #3897f0;\n" "color: white;\n" "border-color: #3897f0;\n" "border-radius: 16px;") self.login_button.setObjectName("login_button") self.columnView_2 = QtWidgets.QColumnView(self.centralwidget) self.columnView_2.setGeometry(QtCore.QRect(140, 20, 521, 421)) self.columnView_2.setStyleSheet("background-color: white;\n" "border: 1px solid #f7f7f7;") self.columnView_2.setObjectName("columnView_2") self.link_signup = QtWidgets.QLabel(self.centralwidget) self.link_signup.setGeometry(QtCore.QRect(310, 280, 181, 20)) self.link_signup.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.link_signup.setStyleSheet("font-size:14px;\n" "color: #3897F0;\n" "text-decoration: underline;") self.link_signup.setAlignment(QtCore.Qt.AlignCenter) self.link_signup.setObjectName("link_signup") self.columnView.raise_() self.columnView_2.raise_() self.label.raise_() self.label_2.raise_() self.email_field.raise_() self.password_field.raise_() self.label_3.raise_() self.login_button.raise_() self.link_signup.raise_() MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 23)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(800, 571) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.gridLayoutWidget = QtWidgets.QWidget(self.centralwidget) self.gridLayoutWidget.setGeometry(QtCore.QRect(60, 10, 160, 83)) self.gridLayoutWidget.setObjectName("gridLayoutWidget") self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget) self.gridLayout.setContentsMargins(0, 0, 0, 0) self.gridLayout.setObjectName("gridLayout") self.librariesTreeView = QtWidgets.QTreeView(self.gridLayoutWidget) self.librariesTreeView.setObjectName("librariesTreeView") self.gridLayout.addWidget(self.librariesTreeView, 0, 0, 1, 1) self.gridLayoutWidget_2 = QtWidgets.QWidget(self.centralwidget) self.gridLayoutWidget_2.setGeometry(QtCore.QRect(470, 10, 160, 83)) self.gridLayoutWidget_2.setObjectName("gridLayoutWidget_2") self.gridLayout_2 = QtWidgets.QGridLayout(self.gridLayoutWidget_2) self.gridLayout_2.setContentsMargins(0, 0, 0, 0) self.gridLayout_2.setObjectName("gridLayout_2") self.librariesContentsColumnView = QtWidgets.QColumnView(self.gridLayoutWidget_2) self.librariesContentsColumnView.setObjectName("librariesContentsColumnView") self.gridLayout_2.addWidget(self.librariesContentsColumnView, 0, 0, 1, 1) self.addLibraryPushButton = QtWidgets.QPushButton(self.centralwidget) self.addLibraryPushButton.setGeometry(QtCore.QRect(50, 100, 84, 25)) self.addLibraryPushButton.setObjectName("addLibraryPushButton") self.removeLibraryPushButton = QtWidgets.QPushButton(self.centralwidget) self.removeLibraryPushButton.setGeometry(QtCore.QRect(150, 100, 84, 25)) self.removeLibraryPushButton.setObjectName("removeLibraryPushButton") self.gridLayoutWidget_3 = QtWidgets.QWidget(self.centralwidget) self.gridLayoutWidget_3.setGeometry(QtCore.QRect(50, 150, 160, 83)) self.gridLayoutWidget_3.setObjectName("gridLayoutWidget_3") self.gridLayout_3 = QtWidgets.QGridLayout(self.gridLayoutWidget_3) self.gridLayout_3.setContentsMargins(0, 0, 0, 0) self.gridLayout_3.setObjectName("gridLayout_3") self.outputTreeView = QtWidgets.QTreeView(self.gridLayoutWidget_3) self.outputTreeView.setObjectName("outputTreeView") self.gridLayout_3.addWidget(self.outputTreeView, 0, 0, 1, 1) self.gridLayoutWidget_4 = QtWidgets.QWidget(self.centralwidget) self.gridLayoutWidget_4.setGeometry(QtCore.QRect(470, 150, 160, 81)) self.gridLayoutWidget_4.setObjectName("gridLayoutWidget_4") self.gridLayout_4 = QtWidgets.QGridLayout(self.gridLayoutWidget_4) self.gridLayout_4.setContentsMargins(0, 0, 0, 0) self.gridLayout_4.setObjectName("gridLayout_4") self.outputPropertiesColumnView = QtWidgets.QColumnView(self.gridLayoutWidget_4) self.outputPropertiesColumnView.setObjectName("outputPropertiesColumnView") self.gridLayout_4.addWidget(self.outputPropertiesColumnView, 0, 0, 1, 1) self.openFileSystemManagerPushButton = QtWidgets.QPushButton(self.centralwidget) self.openFileSystemManagerPushButton.setGeometry(QtCore.QRect(50, 240, 84, 25)) self.openFileSystemManagerPushButton.setObjectName("openFileSystemManagerPushButton") self.openFileSystemManagerPushButton.clicked.connect(self.buttonClickedFileSystemManager) self.gridLayoutWidget_5 = QtWidgets.QWidget(self.centralwidget) self.gridLayoutWidget_5.setGeometry(QtCore.QRect(50, 280, 591, 181)) self.gridLayoutWidget_5.setObjectName("gridLayoutWidget_5") self.gridLayout_5 = QtWidgets.QGridLayout(self.gridLayoutWidget_5) self.gridLayout_5.setContentsMargins(0, 0, 0, 0) self.gridLayout_5.setObjectName("gridLayout_5") self.consoleVerticalSlider = QtWidgets.QSlider(self.gridLayoutWidget_5) self.consoleVerticalSlider.setOrientation(QtCore.Qt.Vertical) self.consoleVerticalSlider.setObjectName("consoleVerticalSlider") self.gridLayout_5.addWidget(self.consoleVerticalSlider, 0, 1, 1, 1) self.consoleListView = QtWidgets.QListView(self.gridLayoutWidget_5) self.consoleListView.setObjectName("consoleListView") self.gridLayout_5.addWidget(self.consoleListView, 0, 0, 1, 1) self.samplifyStartPushButton = QtWidgets.QPushButton(self.centralwidget) self.samplifyStartPushButton.setGeometry(QtCore.QRect(63, 480, 131, 25)) self.samplifyStartPushButton.setObjectName("samplifyStartPushButton") self.samplifyApplySettingsPushButton = QtWidgets.QPushButton(self.centralwidget) self.samplifyApplySettingsPushButton.setGeometry(QtCore.QRect(450, 480, 121, 25)) self.samplifyApplySettingsPushButton.setObjectName("samplifyApplySettingsPushButton") self.syncEnableCheckbox = QtWidgets.QCheckBox(self.centralwidget) self.syncEnableCheckbox.setGeometry(QtCore.QRect(250, 480, 111, 21)) self.syncEnableCheckbox.setObjectName("syncEnableCheckbox") MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 25)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(800, 800) MainWindow.setMinimumSize(QtCore.QSize(500, 500)) MainWindow.setMaximumSize(QtCore.QSize(1000, 1000)) MainWindow.setTabShape(QtWidgets.QTabWidget.Rounded) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayoutWidget = QtWidgets.QWidget(self.centralwidget) self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, 20, 771, 711)) self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget) self.verticalLayout.setContentsMargins(0, 0, 0, 0) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.pushButton = QtWidgets.QPushButton(self.verticalLayoutWidget) self.pushButton.setObjectName("pushButton") self.horizontalLayout.addWidget(self.pushButton) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.pushButton_2 = QtWidgets.QPushButton(self.verticalLayoutWidget) self.pushButton_2.setObjectName("pushButton_2") self.horizontalLayout.addWidget(self.pushButton_2) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.pushButton_3 = QtWidgets.QPushButton(self.verticalLayoutWidget) self.pushButton_3.setObjectName("pushButton_3") self.horizontalLayout.addWidget(self.pushButton_3) self.verticalLayout.addLayout(self.horizontalLayout) self.columnView = QtWidgets.QColumnView(self.verticalLayoutWidget) self.columnView.setObjectName("columnView") self.verticalLayout.addWidget(self.columnView) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.pushButton_4 = QtWidgets.QPushButton(self.verticalLayoutWidget) self.pushButton_4.setObjectName("pushButton_4") self.horizontalLayout_2.addWidget(self.pushButton_4) self.pushButton_5 = QtWidgets.QPushButton(self.verticalLayoutWidget) self.pushButton_5.setObjectName("pushButton_5") self.horizontalLayout_2.addWidget(self.pushButton_5) self.pushButton_6 = QtWidgets.QPushButton(self.verticalLayoutWidget) self.pushButton_6.setObjectName("pushButton_6") self.horizontalLayout_2.addWidget(self.pushButton_6) self.progressBar = QtWidgets.QProgressBar(self.verticalLayoutWidget) self.progressBar.setProperty("value", 24) self.progressBar.setObjectName("progressBar") self.horizontalLayout_2.addWidget(self.progressBar) self.verticalLayout.addLayout(self.horizontalLayout_2) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 25)) self.menubar.setObjectName("menubar") self.menuFile = QtWidgets.QMenu(self.menubar) self.menuFile.setObjectName("menuFile") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.actionSave = QtWidgets.QAction(MainWindow) self.actionSave.setObjectName("actionSave") self.actionOpen = QtWidgets.QAction(MainWindow) self.actionOpen.setObjectName("actionOpen") self.actionExit = QtWidgets.QAction(MainWindow) self.actionExit.setObjectName("actionExit") self.menuFile.addAction(self.actionSave) self.menuFile.addAction(self.actionOpen) self.menuFile.addSeparator() self.menuFile.addAction(self.actionExit) self.menubar.addAction(self.menuFile.menuAction()) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def __init__(self, parent=None): QWidget.__init__(self, parent=parent) self.setObjectName("pcap_page") self.pcap_page_frame = QtWidgets.QFrame(self) self.pcap_page_frame.setGeometry(QtCore.QRect(0, 0, 881, 641)) self.pcap_page_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.pcap_page_frame.setFrameShadow(QtWidgets.QFrame.Raised) self.pcap_page_frame.setObjectName("pcap_page_frame") self.layoutWidget1 = QtWidgets.QWidget(self.pcap_page_frame) self.layoutWidget1.setGeometry(QtCore.QRect(0, 0, 881, 641)) self.layoutWidget1.setObjectName("layoutWidget1") self.gridLayout_3 = QtWidgets.QGridLayout(self.layoutWidget1) self.gridLayout_3.setContentsMargins(0, 0, 0, 0) self.gridLayout_3.setObjectName("gridLayout_3") self.capture_filter_label_2 = QtWidgets.QLabel(self.layoutWidget1) self.capture_filter_label_2.setObjectName("capture_filter_label_2") self.gridLayout_3.addWidget(self.capture_filter_label_2, 3, 0, 1, 1) self.capture_filter_input = QtWidgets.QLineEdit(self.layoutWidget1) self.capture_filter_input.setText("") self.capture_filter_input.setObjectName("capture_filter_input") self.gridLayout_3.addWidget(self.capture_filter_input, 3, 1, 1, 6) self.capture_filter_apply_2 = QtWidgets.QPushButton(self.layoutWidget1) self.capture_filter_apply_2.setObjectName("capture_filter_apply_2") self.gridLayout_3.addWidget(self.capture_filter_apply_2, 3, 8, 1, 2) self.pcap_file_label = QtWidgets.QLabel(self.layoutWidget1) self.pcap_file_label.setObjectName("pcap_file_label") self.gridLayout_3.addWidget(self.pcap_file_label, 1, 0, 1, 1) self.capture_filter_cancel = QtWidgets.QPushButton(self.layoutWidget1) self.capture_filter_cancel.setObjectName("capture_filter_cancel") self.gridLayout_3.addWidget(self.capture_filter_cancel, 3, 10, 1, 1) self.packet_area_title = QtWidgets.QLabel(self.layoutWidget1) self.packet_area_title.setObjectName("packet_area_title") self.gridLayout_3.addWidget(self.packet_area_title, 4, 0, 1, 3) self.pcap_file_input = QtWidgets.QLineEdit(self.layoutWidget1) self.pcap_file_input.setText("") self.pcap_file_input.setObjectName("pcap_file_input") self.gridLayout_3.addWidget(self.pcap_file_input, 1, 1, 1, 6) self.pcap_file_open = QtWidgets.QPushButton(self.layoutWidget1) self.pcap_file_open.setObjectName("pcap_file_open") self.gridLayout_3.addWidget(self.pcap_file_open, 1, 8, 1, 2) self.pcap_file_cancel = QtWidgets.QPushButton(self.layoutWidget1) self.pcap_file_cancel.setObjectName("pcap_file_cancel") self.gridLayout_3.addWidget(self.pcap_file_cancel, 1, 10, 1, 1) self.pushButton_18 = QtWidgets.QPushButton(self.layoutWidget1) self.pushButton_18.setObjectName("pushButton_18") self.gridLayout_3.addWidget(self.pushButton_18, 5, 9, 1, 2) self.label_12 = QtWidgets.QLabel(self.layoutWidget1) self.label_12.setObjectName("label_12") self.gridLayout_3.addWidget(self.label_12, 6, 0, 1, 3) self.label_8 = QtWidgets.QLabel(self.layoutWidget1) self.label_8.setObjectName("label_8") self.gridLayout_3.addWidget(self.label_8, 6, 6, 1, 1) self.capture_filter_title = QtWidgets.QLabel(self.layoutWidget1) self.capture_filter_title.setObjectName("capture_filter_title") self.gridLayout_3.addWidget(self.capture_filter_title, 2, 0, 1, 3) self.pcap_file_title = QtWidgets.QLabel(self.layoutWidget1) self.pcap_file_title.setObjectName("pcap_file_title") self.gridLayout_3.addWidget(self.pcap_file_title, 0, 0, 1, 2) self.pushButton_12 = QtWidgets.QPushButton(self.layoutWidget1) self.pushButton_12.setObjectName("pushButton_12") self.gridLayout_3.addWidget(self.pushButton_12, 12, 5, 1, 1) self.pushButton_13 = QtWidgets.QPushButton(self.layoutWidget1) self.pushButton_13.setObjectName("pushButton_13") self.gridLayout_3.addWidget(self.pushButton_13, 10, 5, 2, 1) self.pushButton_17 = QtWidgets.QPushButton(self.layoutWidget1) self.pushButton_17.setObjectName("pushButton_17") self.gridLayout_3.addWidget(self.pushButton_17, 13, 9, 1, 2) self.label_16 = QtWidgets.QLabel(self.layoutWidget1) self.label_16.setObjectName("label_16") self.gridLayout_3.addWidget(self.label_16, 14, 0, 1, 5) self.lineEdit_6 = QtWidgets.QLineEdit(self.layoutWidget1) self.lineEdit_6.setObjectName("lineEdit_6") self.gridLayout_3.addWidget(self.lineEdit_6, 11, 8, 1, 3) self.label_7 = QtWidgets.QLabel(self.layoutWidget1) self.label_7.setObjectName("label_7") self.gridLayout_3.addWidget(self.label_7, 7, 6, 1, 2) self.lineEdit_3 = QtWidgets.QLineEdit(self.layoutWidget1) self.lineEdit_3.setObjectName("lineEdit_3") self.gridLayout_3.addWidget(self.lineEdit_3, 7, 8, 1, 3) self.lineEdit_8 = QtWidgets.QLineEdit(self.layoutWidget1) self.lineEdit_8.setObjectName("lineEdit_8") self.gridLayout_3.addWidget(self.lineEdit_8, 9, 8, 2, 3) self.pushButton_16 = QtWidgets.QPushButton(self.layoutWidget1) self.pushButton_16.setObjectName("pushButton_16") self.gridLayout_3.addWidget(self.pushButton_16, 15, 2, 1, 1) self.pushButton_15 = QtWidgets.QPushButton(self.layoutWidget1) self.pushButton_15.setObjectName("pushButton_15") self.gridLayout_3.addWidget(self.pushButton_15, 15, 4, 1, 1) self.scrollArea_2 = QtWidgets.QScrollArea(self.layoutWidget1) self.scrollArea_2.setWidgetResizable(True) self.scrollArea_2.setObjectName("scrollArea_2") self.scrollAreaWidgetContents_5 = QtWidgets.QWidget() self.scrollAreaWidgetContents_5.setGeometry(QtCore.QRect(0, 0, 406, 154)) self.scrollAreaWidgetContents_5.setObjectName("scrollAreaWidgetContents_5") self.columnView_2 = QtWidgets.QColumnView(self.scrollAreaWidgetContents_5) self.columnView_2.setGeometry(QtCore.QRect(20, 10, 301, 192)) self.columnView_2.setObjectName("columnView_2") self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_5) self.gridLayout_3.addWidget(self.scrollArea_2, 7, 0, 7, 5) self.label_14 = QtWidgets.QLabel(self.layoutWidget1) self.label_14.setObjectName("label_14") self.gridLayout_3.addWidget(self.label_14, 8, 6, 1, 2) self.label_9 = QtWidgets.QLabel(self.layoutWidget1) self.label_9.setObjectName("label_9") self.gridLayout_3.addWidget(self.label_9, 9, 6, 1, 2) self.lineEdit_7 = QtWidgets.QLineEdit(self.layoutWidget1) self.lineEdit_7.setObjectName("lineEdit_7") self.gridLayout_3.addWidget(self.lineEdit_7, 12, 8, 1, 3) self.pushButton_14 = QtWidgets.QPushButton(self.layoutWidget1) self.pushButton_14.setObjectName("pushButton_14") self.gridLayout_3.addWidget(self.pushButton_14, 13, 7, 1, 2) self.lineEdit_5 = QtWidgets.QLineEdit(self.layoutWidget1) self.lineEdit_5.setObjectName("lineEdit_5") self.gridLayout_3.addWidget(self.lineEdit_5, 8, 8, 1, 3) self.label_13 = QtWidgets.QLabel(self.layoutWidget1) self.label_13.setObjectName("label_13") self.gridLayout_3.addWidget(self.label_13, 12, 6, 1, 2) self.label_15 = QtWidgets.QLabel(self.layoutWidget1) self.label_15.setObjectName("label_15") self.gridLayout_3.addWidget(self.label_15, 11, 6, 1, 2) self.pushButton_19 = QtWidgets.QPushButton(self.layoutWidget1) self.pushButton_19.setObjectName("pushButton_19") self.gridLayout_3.addWidget(self.pushButton_19, 15, 3, 1, 1) self.tabWidget = QtWidgets.QTabWidget(self.layoutWidget1) self.tabWidget.setObjectName("tabWidget") self.tab_4 = QtWidgets.QWidget() self.tab_4.setObjectName("tab_4") self.scrollArea_5 = QtWidgets.QScrollArea(self.tab_4) self.scrollArea_5.setGeometry(QtCore.QRect(10, 20, 691, 161)) self.scrollArea_5.setWidgetResizable(True) self.scrollArea_5.setObjectName("scrollArea_5") self.scrollAreaWidgetContents_6 = QtWidgets.QWidget() self.scrollAreaWidgetContents_6.setGeometry(QtCore.QRect(0, 0, 689, 159)) self.scrollAreaWidgetContents_6.setObjectName("scrollAreaWidgetContents_6") self.listView_4 = QtWidgets.QListView(self.scrollAreaWidgetContents_6) self.listView_4.setGeometry(QtCore.QRect(0, 10, 256, 141)) self.listView_4.setObjectName("listView_4") self.scrollArea_5.setWidget(self.scrollAreaWidgetContents_6) self.tabWidget.addTab(self.tab_4, "") self.tab_5 = QtWidgets.QWidget() self.tab_5.setObjectName("tab_5") self.scrollArea_6 = QtWidgets.QScrollArea(self.tab_5) self.scrollArea_6.setGeometry(QtCore.QRect(10, 20, 691, 161)) self.scrollArea_6.setWidgetResizable(True) self.scrollArea_6.setObjectName("scrollArea_6") self.scrollAreaWidgetContents_7 = QtWidgets.QWidget() self.scrollAreaWidgetContents_7.setGeometry(QtCore.QRect(0, 0, 689, 159)) self.scrollAreaWidgetContents_7.setObjectName("scrollAreaWidgetContents_7") self.listView_5 = QtWidgets.QListView(self.scrollAreaWidgetContents_7) self.listView_5.setGeometry(QtCore.QRect(0, 10, 256, 141)) self.listView_5.setObjectName("listView_5") self.scrollArea_6.setWidget(self.scrollAreaWidgetContents_7) self.tabWidget.addTab(self.tab_5, "") self.tab_6 = QtWidgets.QWidget() self.tab_6.setObjectName("tab_6") self.scrollArea_7 = QtWidgets.QScrollArea(self.tab_6) self.scrollArea_7.setGeometry(QtCore.QRect(10, 20, 691, 161)) self.scrollArea_7.setWidgetResizable(True) self.scrollArea_7.setObjectName("scrollArea_7") self.scrollAreaWidgetContents_8 = QtWidgets.QWidget() self.scrollAreaWidgetContents_8.setGeometry(QtCore.QRect(0, 0, 689, 159)) self.scrollAreaWidgetContents_8.setObjectName("scrollAreaWidgetContents_8") self.listView_6 = QtWidgets.QListView(self.scrollAreaWidgetContents_8) self.listView_6.setGeometry(QtCore.QRect(0, 10, 256, 141)) self.listView_6.setObjectName("listView_6") self.scrollArea_7.setWidget(self.scrollAreaWidgetContents_8) self.tabWidget.addTab(self.tab_6, "") self.gridLayout_3.addWidget(self.tabWidget, 5, 0, 1, 9)