From 2fe2f269edd9c07a1329b35e072672808ef1d4d3 Mon Sep 17 00:00:00 2001 From: Blaine Date: Thu, 11 Jun 2020 14:30:17 +0530 Subject: pallette fixes + ui fixes --- src/main/python/utils/fileWindow.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/python/utils/fileWindow.py') diff --git a/src/main/python/utils/fileWindow.py b/src/main/python/utils/fileWindow.py index a5ed535..5dcf62e 100644 --- a/src/main/python/utils/fileWindow.py +++ b/src/main/python/utils/fileWindow.py @@ -53,6 +53,7 @@ class fileWindow(QMdiSubWindow): self.setWindowFlag(Qt.CustomizeWindowHint, True) self.setWindowFlag(Qt.WindowMinimizeButtonHint, False) self.setWindowFlag(Qt.WindowMaximizeButtonHint, False) + self.setWindowFlag(Qt.WindowCloseButtonHint, True) def createSideViewArea(self): #creates the side view widgets and sets them to invisible -- cgit From e9953e044a93837c62d55546d479b287302fa989 Mon Sep 17 00:00:00 2001 From: Blaine Date: Thu, 11 Jun 2020 14:42:51 +0530 Subject: new raster close button --- src/main/python/utils/fileWindow.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/python/utils/fileWindow.py') diff --git a/src/main/python/utils/fileWindow.py b/src/main/python/utils/fileWindow.py index 5dcf62e..28a576e 100644 --- a/src/main/python/utils/fileWindow.py +++ b/src/main/python/utils/fileWindow.py @@ -61,6 +61,7 @@ class fileWindow(QMdiSubWindow): self.sideView = customView(parent = self) self.sideView.setInteractive(False) self.sideViewCloseButton = QPushButton('×', self.sideView) + self.sideViewCloseButton.setObjectName("sideViewCloseButton") self.sideViewCloseButton.setFlat(True) self.sideViewCloseButton.setFixedSize(20, 20) self.moveSideViewCloseButton() -- cgit