diff --git a/workflow.py b/workflow.py index c143130..23a87c4 100644 --- a/workflow.py +++ b/workflow.py @@ -466,15 +466,15 @@ class Ui_MainWindow(object): # led control buttons self.redLightBtn = QtWidgets.QPushButton(self.centralwidget) - self.redLightBtn.setGeometry(QtCore.QRect(700+200, int(1080/2)+200, 161, 25)) + self.redLightBtn.setGeometry(QtCore.QRect(700+200+200, int(1080/2)+100, 161, 25)) self.yellowLightBtn = QtWidgets.QPushButton(self.centralwidget) - self.yellowLightBtn.setGeometry(QtCore.QRect(700+200, int(1080/2)+250, 161, 25)) + self.yellowLightBtn.setGeometry(QtCore.QRect(700+200+200, int(1080/2)+150, 161, 25)) self.greenLightBtn = QtWidgets.QPushButton(self.centralwidget) - self.greenLightBtn.setGeometry(QtCore.QRect(700+200, int(1080/2)+300, 161, 25)) + self.greenLightBtn.setGeometry(QtCore.QRect(700+200+200, int(1080/2)+200, 161, 25)) self.offLightBtn = QtWidgets.QPushButton(self.centralwidget) - self.offLightBtn.setGeometry(QtCore.QRect(700+200, int(1080/2)+350, 161, 25)) + self.offLightBtn.setGeometry(QtCore.QRect(700+200+200, int(1080/2)+250, 161, 25)) self.blinkLightBtn = QtWidgets.QPushButton(self.centralwidget) - self.blinkLightBtn.setGeometry(QtCore.QRect(700+200, int(1080/2)+400, 161, 25)) + self.blinkLightBtn.setGeometry(QtCore.QRect(700+200+200, int(1080/2)+300, 161, 25)) #self.myTestLambda = lambda: self.worker.checkWaageStartSignal.emit(einzelteilID, self.teileZuViel, self.auftragsnummer)