You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
5.5 KiB
Python
100 lines
5.5 KiB
Python
1 month ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
# Form implementation generated from reading ui file 'e:\01-Projects\19-Fly\01-AppFlow-gitea\GUIDialog\GUICalculateDialog\RunWidget.ui'
|
||
|
#
|
||
|
# Created by: PyQt5 UI code generator 5.15.10
|
||
|
#
|
||
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||
|
# run again. Do not edit this file unless you know what you are doing.
|
||
|
|
||
|
|
||
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||
|
|
||
|
|
||
|
class Ui_RunWidget(object):
|
||
|
def setupUi(self, RunWidget):
|
||
|
RunWidget.setObjectName("RunWidget")
|
||
|
RunWidget.resize(338, 487)
|
||
|
self.gridLayout = QtWidgets.QGridLayout(RunWidget)
|
||
|
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
||
|
self.gridLayout.setObjectName("gridLayout")
|
||
|
spacerItem = QtWidgets.QSpacerItem(20, 231, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||
|
self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)
|
||
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||
|
self.pushButton_Stop = QtWidgets.QPushButton(RunWidget)
|
||
|
self.pushButton_Stop.setObjectName("pushButton_Stop")
|
||
|
self.horizontalLayout.addWidget(self.pushButton_Stop)
|
||
|
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
||
|
self.horizontalLayout.addItem(spacerItem1)
|
||
|
self.pushButton_Run = QtWidgets.QPushButton(RunWidget)
|
||
|
self.pushButton_Run.setObjectName("pushButton_Run")
|
||
|
self.horizontalLayout.addWidget(self.pushButton_Run)
|
||
|
self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1)
|
||
|
self.tabWidget = QtWidgets.QTabWidget(RunWidget)
|
||
|
self.tabWidget.setObjectName("tabWidget")
|
||
|
self.Time_Control = QtWidgets.QWidget()
|
||
|
self.Time_Control.setObjectName("Time_Control")
|
||
|
self.gridLayout_3 = QtWidgets.QGridLayout(self.Time_Control)
|
||
|
self.gridLayout_3.setObjectName("gridLayout_3")
|
||
|
self.verticalLayout_Time = QtWidgets.QVBoxLayout()
|
||
|
self.verticalLayout_Time.setObjectName("verticalLayout_Time")
|
||
|
self.gridLayout_3.addLayout(self.verticalLayout_Time, 0, 0, 1, 1)
|
||
|
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||
|
self.gridLayout_3.addItem(spacerItem2, 1, 0, 1, 1)
|
||
|
self.tabWidget.addTab(self.Time_Control, "")
|
||
|
self.Output = QtWidgets.QWidget()
|
||
|
self.Output.setObjectName("Output")
|
||
|
self.gridLayout_4 = QtWidgets.QGridLayout(self.Output)
|
||
|
self.gridLayout_4.setObjectName("gridLayout_4")
|
||
|
self.verticalLayout_Output = QtWidgets.QVBoxLayout()
|
||
|
self.verticalLayout_Output.setObjectName("verticalLayout_Output")
|
||
|
self.gridLayout_4.addLayout(self.verticalLayout_Output, 0, 0, 1, 1)
|
||
|
spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||
|
self.gridLayout_4.addItem(spacerItem3, 1, 0, 1, 1)
|
||
|
self.tabWidget.addTab(self.Output, "")
|
||
|
self.CPU = QtWidgets.QWidget()
|
||
|
self.CPU.setObjectName("CPU")
|
||
|
self.gridLayout_2 = QtWidgets.QGridLayout(self.CPU)
|
||
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
||
|
self.radioButton_serial = QtWidgets.QRadioButton(self.CPU)
|
||
|
self.radioButton_serial.setChecked(True)
|
||
|
self.radioButton_serial.setObjectName("radioButton_serial")
|
||
|
self.gridLayout_2.addWidget(self.radioButton_serial, 0, 0, 1, 2)
|
||
|
self.radioButton_parallel = QtWidgets.QRadioButton(self.CPU)
|
||
|
self.radioButton_parallel.setObjectName("radioButton_parallel")
|
||
|
self.gridLayout_2.addWidget(self.radioButton_parallel, 1, 0, 1, 2)
|
||
|
self.label = QtWidgets.QLabel(self.CPU)
|
||
|
self.label.setObjectName("label")
|
||
|
self.gridLayout_2.addWidget(self.label, 2, 0, 1, 1)
|
||
|
self.spinBox_NumOfPro = QtWidgets.QSpinBox(self.CPU)
|
||
|
self.spinBox_NumOfPro.setObjectName("spinBox_NumOfPro")
|
||
|
self.gridLayout_2.addWidget(self.spinBox_NumOfPro, 2, 1, 1, 1)
|
||
|
spacerItem4 = QtWidgets.QSpacerItem(20, 127, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||
|
self.gridLayout_2.addItem(spacerItem4, 3, 1, 1, 1)
|
||
|
self.tabWidget.addTab(self.CPU, "")
|
||
|
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
|
||
|
self.progressBar = QtWidgets.QProgressBar(RunWidget)
|
||
|
self.progressBar.setMaximum(0)
|
||
|
self.progressBar.setProperty("value", -1)
|
||
|
self.progressBar.setTextVisible(False)
|
||
|
self.progressBar.setInvertedAppearance(False)
|
||
|
self.progressBar.setObjectName("progressBar")
|
||
|
self.gridLayout.addWidget(self.progressBar, 2, 0, 1, 1)
|
||
|
|
||
|
self.retranslateUi(RunWidget)
|
||
|
self.tabWidget.setCurrentIndex(0)
|
||
|
QtCore.QMetaObject.connectSlotsByName(RunWidget)
|
||
|
|
||
|
def retranslateUi(self, RunWidget):
|
||
|
_translate = QtCore.QCoreApplication.translate
|
||
|
RunWidget.setWindowTitle(_translate("RunWidget", "Form"))
|
||
|
self.pushButton_Stop.setText(_translate("RunWidget", "Stop"))
|
||
|
self.pushButton_Run.setText(_translate("RunWidget", "Run"))
|
||
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.Time_Control), _translate("RunWidget", "Time Control"))
|
||
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.Output), _translate("RunWidget", "Output"))
|
||
|
self.radioButton_serial.setText(_translate("RunWidget", "serial"))
|
||
|
self.radioButton_parallel.setText(_translate("RunWidget", "parallel"))
|
||
|
self.label.setText(_translate("RunWidget", "Number of processors:"))
|
||
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.CPU), _translate("RunWidget", "CPU"))
|