diff options
author | pravindalve | 2020-06-11 15:06:03 +0530 |
---|---|---|
committer | GitHub | 2020-06-11 15:06:03 +0530 |
commit | 41faed93d3fa5e4c1f2b28553fb59b110cc71e2c (patch) | |
tree | 22955f3aea076282c6bc942f2bb8629727160508 /src/main/python/utils/fileWindow.py | |
parent | 7c620f2b3724fdefa13402277df3a6b4a4e1d6c5 (diff) | |
parent | 4fb78f87b119ba8ba9ec8ae4e50aa11b73d2a336 (diff) | |
download | Chemical-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.py | 2 |
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() |