22
33# Form implementation generated from ..reading ui file 'coolingwidget.ui'
44#
5- # Created by: PyQt5 UI code generator 5.15.6
5+ # Created by: PyQt5 UI code generator 5.14.2
66#
7- # WARNING: Any manual changes made to this file will be lost when pyuic5 is
8- # run again. Do not edit this file unless you know what you are doing.
7+ # WARNING! All changes made in this file will be lost!
98
109
1110from PyQt5 import QtCore , QtGui , QtWidgets
1413class Ui_CoolingWidget (object ):
1514 def setupUi (self , CoolingWidget ):
1615 CoolingWidget .setObjectName ("CoolingWidget" )
17- CoolingWidget .resize (307 , 218 )
16+ CoolingWidget .resize (210 , 161 )
1817 self .verticalLayout = QtWidgets .QVBoxLayout (CoolingWidget )
1918 self .verticalLayout .setContentsMargins (0 , 0 , 0 , 0 )
2019 self .verticalLayout .setObjectName ("verticalLayout" )
2120 self .groupBox_2 = QtWidgets .QGroupBox (CoolingWidget )
2221 self .groupBox_2 .setObjectName ("groupBox_2" )
23- self .gridLayout_2 = QtWidgets .QGridLayout (self .groupBox_2 )
24- self .gridLayout_2 .setObjectName ("gridLayout_2" )
22+ self .gridLayout = QtWidgets .QGridLayout (self .groupBox_2 )
23+ self .gridLayout .setObjectName ("gridLayout" )
24+ self .label_9 = QtWidgets .QLabel (self .groupBox_2 )
25+ self .label_9 .setObjectName ("label_9" )
26+ self .gridLayout .addWidget (self .label_9 , 0 , 0 , 1 , 1 )
2527 self .labelStatus = QtWidgets .QLineEdit (self .groupBox_2 )
2628 self .labelStatus .setAlignment (QtCore .Qt .AlignCenter )
2729 self .labelStatus .setReadOnly (True )
2830 self .labelStatus .setObjectName ("labelStatus" )
29- self .gridLayout_2 .addWidget (self .labelStatus , 0 , 1 , 1 , 1 )
30- self .buttonApply = QtWidgets .QPushButton (self .groupBox_2 )
31- self .buttonApply .setObjectName ("buttonApply" )
32- self .gridLayout_2 .addWidget (self .buttonApply , 4 , 1 , 1 , 1 )
33- self .checkEnabled = QtWidgets .QCheckBox (self .groupBox_2 )
34- self .checkEnabled .setObjectName ("checkEnabled" )
35- self .gridLayout_2 .addWidget (self .checkEnabled , 2 , 1 , 1 , 1 )
36- self .label_9 = QtWidgets .QLabel (self .groupBox_2 )
37- self .label_9 .setObjectName ("label_9" )
38- self .gridLayout_2 .addWidget (self .label_9 , 0 , 0 , 1 , 1 )
39- self .spinSetPoint = QtWidgets .QDoubleSpinBox (self .groupBox_2 )
40- self .spinSetPoint .setMinimum (- 50.0 )
41- self .spinSetPoint .setMaximum (50.0 )
42- self .spinSetPoint .setObjectName ("spinSetPoint" )
43- self .gridLayout_2 .addWidget (self .spinSetPoint , 3 , 1 , 1 , 1 )
44- self .label = QtWidgets .QLabel (self .groupBox_2 )
45- self .label .setObjectName ("label" )
46- self .gridLayout_2 .addWidget (self .label , 3 , 0 , 1 , 1 )
31+ self .gridLayout .addWidget (self .labelStatus , 0 , 1 , 1 , 1 )
32+ self .label_10 = QtWidgets .QLabel (self .groupBox_2 )
33+ self .label_10 .setObjectName ("label_10" )
34+ self .gridLayout .addWidget (self .label_10 , 1 , 0 , 1 , 1 )
4735 self .labelPower = QtWidgets .QLineEdit (self .groupBox_2 )
4836 self .labelPower .setAlignment (QtCore .Qt .AlignCenter )
4937 self .labelPower .setReadOnly (True )
5038 self .labelPower .setObjectName ("labelPower" )
51- self .gridLayout_2 .addWidget (self .labelPower , 1 , 1 , 1 , 1 )
52- self .label_10 = QtWidgets .QLabel (self .groupBox_2 )
53- self .label_10 .setObjectName ("label_10" )
54- self .gridLayout_2 .addWidget (self .label_10 , 1 , 0 , 1 , 1 )
55- self .gridLayout_2 .setColumnStretch (0 , 1 )
56- self .gridLayout_2 .setColumnStretch (1 , 2 )
39+ self .gridLayout .addWidget (self .labelPower , 1 , 1 , 1 , 1 )
40+ self .line = QtWidgets .QFrame (self .groupBox_2 )
41+ self .line .setFrameShape (QtWidgets .QFrame .HLine )
42+ self .line .setFrameShadow (QtWidgets .QFrame .Sunken )
43+ self .line .setObjectName ("line" )
44+ self .gridLayout .addWidget (self .line , 2 , 0 , 1 , 2 )
45+ self .horizontalLayout = QtWidgets .QHBoxLayout ()
46+ self .horizontalLayout .setSpacing (0 )
47+ self .horizontalLayout .setObjectName ("horizontalLayout" )
48+ self .spinSetPoint = QtWidgets .QDoubleSpinBox (self .groupBox_2 )
49+ self .spinSetPoint .setDecimals (1 )
50+ self .spinSetPoint .setMinimum (- 50.0 )
51+ self .spinSetPoint .setMaximum (50.0 )
52+ self .spinSetPoint .setObjectName ("spinSetPoint" )
53+ self .horizontalLayout .addWidget (self .spinSetPoint )
54+ self .buttonApply = QtWidgets .QToolButton (self .groupBox_2 )
55+ icon = QtGui .QIcon ()
56+ icon .addPixmap (QtGui .QPixmap (":/resources/arrow-alt-circle-right-solid.svg" ), QtGui .QIcon .Normal , QtGui .QIcon .Off )
57+ self .buttonApply .setIcon (icon )
58+ self .buttonApply .setObjectName ("buttonApply" )
59+ self .horizontalLayout .addWidget (self .buttonApply )
60+ self .horizontalLayout .setStretch (0 , 1 )
61+ self .gridLayout .addLayout (self .horizontalLayout , 3 , 1 , 1 , 1 )
62+ self .checkEnabled = QtWidgets .QCheckBox (self .groupBox_2 )
63+ self .checkEnabled .setObjectName ("checkEnabled" )
64+ self .gridLayout .addWidget (self .checkEnabled , 3 , 0 , 1 , 1 )
5765 self .verticalLayout .addWidget (self .groupBox_2 )
5866
5967 self .retranslateUi (CoolingWidget )
@@ -63,9 +71,9 @@ def retranslateUi(self, CoolingWidget):
6371 _translate = QtCore .QCoreApplication .translate
6472 CoolingWidget .setWindowTitle (_translate ("CoolingWidget" , "Form" ))
6573 self .groupBox_2 .setTitle (_translate ("CoolingWidget" , "Cooling" ))
66- self .buttonApply .setText (_translate ("CoolingWidget" , "Apply" ))
67- self .checkEnabled .setText (_translate ("CoolingWidget" , "Enabled" ))
68- self .label_9 .setText (_translate ("CoolingWidget" , "Status:" ))
69- self .spinSetPoint .setSuffix (_translate ("CoolingWidget" , " °C" ))
70- self .label .setText (_translate ("CoolingWidget" , "SetPoint:" ))
74+ self .label_9 .setText (_translate ("CoolingWidget" , "Set temp:" ))
7175 self .label_10 .setText (_translate ("CoolingWidget" , "Power:" ))
76+ self .spinSetPoint .setSuffix (_translate ("CoolingWidget" , " °C" ))
77+ self .buttonApply .setText (_translate ("CoolingWidget" , "..." ))
78+ self .checkEnabled .setText (_translate ("CoolingWidget" , "Enable" ))
79+ from . import resources_rc
0 commit comments