9from PyQt6
import QtCore, QtGui, QtWidgets
13 def setupUi(self, coordWidget):
14 coordWidget.setObjectName(
"coordWidget")
17 self.
groupBox_2 = QtWidgets.QGroupBox(parent=coordWidget)
18 self.
groupBox_2.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
25 icon.addPixmap(QtGui.QPixmap(
":/data/icones/klipper.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
34 self.
line_5.setFrameShape(QtWidgets.QFrame.Shape.VLine)
35 self.
line_5.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
36 self.
line_5.setObjectName(
"line_5")
41 icon1.addPixmap(QtGui.QPixmap(
":/data/icones/scale.svg"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
47 self.
groupBox_3.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
68 self.
label_12.setObjectName(
"label_12")
71 self.
lineEdit.setObjectName(
"lineEdit")
73 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
76 spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
79 self.
tableWidget = QtWidgets.QTableWidget(parent=coordWidget)
86 QtCore.QMetaObject.connectSlotsByName(coordWidget)
88 def retranslateUi(self, coordWidget):
89 _translate = QtCore.QCoreApplication.translate
90 self.
groupBox_2.setTitle(_translate(
"coordWidget",
"Tableau des dates et des coordonnées"))
93 self.
groupBox_3.setTitle(_translate(
"coordWidget",
"Ajouter les énergies :"))
94 self.
checkBox_Ec.setText(_translate(
"coordWidget",
"Cinétique (échelle obligatoire)"))
95 self.
checkBox_Epp.setText(_translate(
"coordWidget",
"Potentielle de pesanteur"))
96 self.
checkBox_Em.setText(_translate(
"coordWidget",
"Mécanique"))
97 self.
groupBox_4.setTitle(_translate(
"coordWidget",
"Intensité de la pesanteur :"))
98 self.
label_12.setText(_translate(
"coordWidget",
"g (N/kg)"))
99 self.
lineEdit.setText(_translate(
"coordWidget",
"9.8"))