summaryrefslogtreecommitdiff
path: root/src/main/python/utils/fileWindow.py
diff options
context:
space:
mode:
authorpravindalve2020-06-11 15:06:03 +0530
committerGitHub2020-06-11 15:06:03 +0530
commit41faed93d3fa5e4c1f2b28553fb59b110cc71e2c (patch)
tree22955f3aea076282c6bc942f2bb8629727160508 /src/main/python/utils/fileWindow.py
parent7c620f2b3724fdefa13402277df3a6b4a4e1d6c5 (diff)
parent4fb78f87b119ba8ba9ec8ae4e50aa11b73d2a336 (diff)
downloadChemical-PFD-41faed93d3fa5e4c1f2b28553fb59b110cc71e2c.tar.gz
Chemical-PFD-41faed93d3fa5e4c1f2b28553fb59b110cc71e2c.tar.bz2
Chemical-PFD-41faed93d3fa5e4c1f2b28553fb59b110cc71e2c.zip
Merge pull request #16 from Blakeinstein/master
unified white style ui design
Diffstat (limited to 'src/main/python/utils/fileWindow.py')
-rw-r--r--src/main/python/utils/fileWindow.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/python/utils/fileWindow.py b/src/main/python/utils/fileWindow.py
index a5ed535..28a576e 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
@@ -60,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()