From e80e38acd790253f40e40c70c9a918a13cb3aa49 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 23 Nov 2024 23:15:20 +0100 Subject: [PATCH] update btn pos --- workflow.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)