From 15258f6cc882ec3530d729b66a728769f8a74063 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sat, 22 Oct 2022 08:51:52 +0100 Subject: [PATCH] Put bar under carts --- app/ui/main_window.ui | 24 +++++++++++++++++++++++- app/ui/main_window_ui.py | 12 ++++++++++-- 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/app/ui/main_window.ui b/app/ui/main_window.ui index 7257ceb..2c16b51 100644 --- a/app/ui/main_window.ui +++ b/app/ui/main_window.ui @@ -308,6 +308,28 @@ padding-left: 8px; + + + + 0 + 16 + + + + false + + + background-color: rgb(154, 153, 150) + + + QFrame::StyledPanel + + + QFrame::Raised + + + + Qt::Vertical @@ -342,7 +364,7 @@ padding-left: 8px; - + background-color: rgb(192, 191, 188) diff --git a/app/ui/main_window_ui.py b/app/ui/main_window_ui.py index f9a5378..1fd1882 100644 --- a/app/ui/main_window_ui.py +++ b/app/ui/main_window_ui.py @@ -163,6 +163,14 @@ class Ui_MainWindow(object): spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_Carts.addItem(spacerItem) self.gridLayout_4.addLayout(self.horizontalLayout_Carts, 2, 0, 1, 1) + self.frame_6 = QtWidgets.QFrame(self.centralwidget) + self.frame_6.setMinimumSize(QtCore.QSize(0, 16)) + self.frame_6.setAutoFillBackground(False) + self.frame_6.setStyleSheet("background-color: rgb(154, 153, 150)") + self.frame_6.setFrameShape(QtWidgets.QFrame.StyledPanel) + self.frame_6.setFrameShadow(QtWidgets.QFrame.Raised) + self.frame_6.setObjectName("frame_6") + self.gridLayout_4.addWidget(self.frame_6, 3, 0, 1, 1) self.splitter = QtWidgets.QSplitter(self.centralwidget) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName("splitter") @@ -176,7 +184,7 @@ class Ui_MainWindow(object): self.tabInfolist.setTabsClosable(True) self.tabInfolist.setMovable(True) self.tabInfolist.setObjectName("tabInfolist") - self.gridLayout_4.addWidget(self.splitter, 3, 0, 1, 1) + self.gridLayout_4.addWidget(self.splitter, 4, 0, 1, 1) self.frame_5 = QtWidgets.QFrame(self.centralwidget) self.frame_5.setStyleSheet("background-color: rgb(192, 191, 188)") self.frame_5.setFrameShape(QtWidgets.QFrame.StyledPanel) @@ -368,7 +376,7 @@ class Ui_MainWindow(object): self.gridLayout_3.addWidget(self.btnHidePlayed, 1, 0, 1, 1) self.horizontalLayout.addWidget(self.frame_3) self.horizontalLayout_2.addLayout(self.horizontalLayout) - self.gridLayout_4.addWidget(self.frame_5, 4, 0, 1, 1) + self.gridLayout_4.addWidget(self.frame_5, 5, 0, 1, 1) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 1280, 26))