From 8e8c3a7228426474defed54a5469894f2b8e048f Mon Sep 17 00:00:00 2001 From: Magnus Haw Date: Wed, 4 Dec 2024 17:30:12 -0800 Subject: [PATCH] updates to spacing in ui --- arcjetCV/gui/arcjetCV.ui | 144 ++++++++++++++++++----------------- arcjetCV/gui/arcjetCV_gui.py | 14 +--- 2 files changed, 78 insertions(+), 80 deletions(-) diff --git a/arcjetCV/gui/arcjetCV.ui b/arcjetCV/gui/arcjetCV.ui index f1982de..4a69d06 100644 --- a/arcjetCV/gui/arcjetCV.ui +++ b/arcjetCV/gui/arcjetCV.ui @@ -7,7 +7,7 @@ 0 0 1175 - 824 + 794 @@ -18,38 +18,60 @@ - 1 + 0 Calibrate - - - - - 0 - 0 - - - - - - + + Qt::Vertical + + QSizePolicy::Fixed + 20 - 40 + 15 - - + + + + + 350 + 16777215 + + + + Load images + + + + + + Load Calibration Images + + + + + + + Select Orientation Images + + + + + + + + 0 @@ -64,10 +86,27 @@ - - + + + + + 0 + 0 + + + + + + + + + 16777215 + 16777215 + + + - + @@ -75,6 +114,12 @@ 0 + + + 350 + 16777215 + + Calibration Pattern Parameters @@ -86,19 +131,6 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - @@ -194,28 +226,18 @@ - - - - - - - Load images - - - - - - Load Calibration Images + + + + Qt::Horizontal - - - - - - Select Orientation Images + + + 40 + 20 + - + @@ -913,22 +935,6 @@ - - - - Qt::Horizontal - - - QSizePolicy::Minimum - - - - 40 - 20 - - - - diff --git a/arcjetCV/gui/arcjetCV_gui.py b/arcjetCV/gui/arcjetCV_gui.py index 6ab44d8..7a378c4 100644 --- a/arcjetCV/gui/arcjetCV_gui.py +++ b/arcjetCV/gui/arcjetCV_gui.py @@ -23,7 +23,7 @@ class Ui_MainWindow(object): def setupUi(self, MainWindow): if not MainWindow.objectName(): MainWindow.setObjectName(u"MainWindow") - MainWindow.resize(1185, 786) + MainWindow.resize(1175, 824) self.actionLoad_video = QAction(MainWindow) self.actionLoad_video.setObjectName(u"actionLoad_video") self.actionExit = QAction(MainWindow) @@ -197,21 +197,13 @@ def setupUi(self, MainWindow): sizePolicy1.setHeightForWidth(self.Window3.sizePolicy().hasHeightForWidth()) self.Window3.setSizePolicy(sizePolicy1) self.Window3.setMinimumSize(QSize(731, 100)) - self.Window3.setMaximumSize(QSize(16777215, 170)) + self.Window3.setMaximumSize(QSize(16777215, 300)) self.verticalLayout.addWidget(self.Window3) - self.verticalSpacer_3 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - - self.verticalLayout.addItem(self.verticalSpacer_3) - self.horizontalLayout_8.addLayout(self.verticalLayout) - self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - - self.horizontalLayout_8.addItem(self.horizontalSpacer) - self.verticalLayout_6 = QVBoxLayout() self.verticalLayout_6.setObjectName(u"verticalLayout_6") self.verticalLayout_6.setSizeConstraint(QLayout.SetDefaultConstraint) @@ -954,7 +946,7 @@ def setupUi(self, MainWindow): MainWindow.setCentralWidget(self.centralwidget) self.menubar = QMenuBar(MainWindow) self.menubar.setObjectName(u"menubar") - self.menubar.setGeometry(QRect(0, 0, 1185, 24)) + self.menubar.setGeometry(QRect(0, 0, 1175, 24)) self.menuMenu = QMenu(self.menubar) self.menuMenu.setObjectName(u"menuMenu") MainWindow.setMenuBar(self.menubar)