update: gui formatting
This commit is contained in:
parent
3a40e697fa
commit
9998ebb874
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user