From 9998ebb8741dfae32fb403fc122280e089261085 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 13 Nov 2024 11:46:08 +0100 Subject: [PATCH] update: gui formatting --- bjoerntest10.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bjoerntest10.py b/bjoerntest10.py index 620471a..0e5b07d 100644 --- a/bjoerntest10.py +++ b/bjoerntest10.py @@ -441,17 +441,17 @@ class Ui_MainWindow(object): self.checkBoxAutoTare.setObjectName("checkBoxAutoTare") # button and checkbox for camera workflow + graphicsview widget + self.camWorkFlowcheckBox = QtWidgets.QCheckBox(self.centralwidget) + self.camWorkFlowcheckBox.setGeometry(QtCore.QRect(700, int(1080/2), 151, 23)) + self.camWorkFlowcheckBox.setObjectName("camWorkFlowcheckBox") self.startCamBtn = QtWidgets.QPushButton(self.centralwidget) - self.startCamBtn.setGeometry(QtCore.QRect(900, int(1080/2)+100, 161, 25)) + self.startCamBtn.setGeometry(QtCore.QRect(700, int(1080/2)+50, 161, 25)) #int(1080/2)+100 self.startCamBtn.setObjectName("startCamBtn") self.stopCamBtn = QtWidgets.QPushButton(self.centralwidget) - self.stopCamBtn.setGeometry(QtCore.QRect(900, int(1080/2)+100+25, 161, 25)) + self.stopCamBtn.setGeometry(QtCore.QRect(700, int(1080/2)+100, 161, 25)) self.stopCamBtn.setObjectName("stopCamBtn") - self.camWorkFlowcheckBox = QtWidgets.QCheckBox(self.centralwidget) - self.camWorkFlowcheckBox.setGeometry(QtCore.QRect(900, int(1080/2)+100-25, 151, 23)) - self.camWorkFlowcheckBox.setObjectName("camWorkFlowcheckBox") self.graphicsView = QtWidgets.QGraphicsView(self.centralwidget) - self.graphicsView.setGeometry(QtCore.QRect(10, int(1080/2), int(640*1.2), int(480*1.2))) # position and size of camera frame + self.graphicsView.setGeometry(QtCore.QRect(10, int(1080/2), 661, int(480*1.05))) # position and size of camera frame # int(640*1.05) self.graphicsView.setObjectName("graphicsView") #self.myTestLambda = lambda: self.worker.checkWaageStartSignal.emit(einzelteilID, self.teileZuViel, self.auftragsnummer)