summaryrefslogtreecommitdiff
path: root/src/main/python/utils/fileWindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/python/utils/fileWindow.py')
-rw-r--r--src/main/python/utils/fileWindow.py16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/main/python/utils/fileWindow.py b/src/main/python/utils/fileWindow.py
index e0f5652..a5ed535 100644
--- a/src/main/python/utils/fileWindow.py
+++ b/src/main/python/utils/fileWindow.py
@@ -20,7 +20,7 @@ class fileWindow(QMdiSubWindow):
fileCloseEvent = pyqtSignal(int)
tabChangeEvent = pyqtSignal()
- def __init__(self, parent = None, title = 'New Project', size = 'A4', ppi = '72'):
+ def __init__(self, parent = None, title = 'New Project', size = 'A0', ppi = '72'):
super(fileWindow, self).__init__(parent)
self._sideViewTab = None
self.index = None
@@ -61,20 +61,6 @@ class fileWindow(QMdiSubWindow):
self.sideView.setInteractive(False)
self.sideViewCloseButton = QPushButton('×', self.sideView)
self.sideViewCloseButton.setFlat(True)
- self.sideViewCloseButton.setStyleSheet("""QPushButton{
- background: rgba(214, 54, 40, 50%);
- border: 1px groove white;
- border-radius: 2px;
- font-size: 18px;
- font-weight: Bold;
- padding: 1px 2px 3px 3px;
- color: rgba(255, 255, 255, 50%);
- }
- QPushButton:Hover{
- background: rgba(214, 54, 40, 90%);
- color: rgba(255, 255, 255, 90%);
- }
- """)
self.sideViewCloseButton.setFixedSize(20, 20)
self.moveSideViewCloseButton()
self.sideViewCloseButton.clicked.connect(lambda: setattr(self, 'sideViewTab', None))