diff options
author | Blaine | 2020-05-05 11:42:26 +0530 |
---|---|---|
committer | Blaine | 2020-05-05 11:42:26 +0530 |
commit | c169f11c3f7d887cc956d291e224046e1b75fbe4 (patch) | |
tree | 89893a51da61591b61bb2c3b91ad67205c259d25 /src/main/python/main.py | |
parent | 700edf250bdcc90638fd3aed21ccb67ef60f086b (diff) | |
download | Chemical-PFD-c169f11c3f7d887cc956d291e224046e1b75fbe4.tar.gz Chemical-PFD-c169f11c3f7d887cc956d291e224046e1b75fbe4.tar.bz2 Chemical-PFD-c169f11c3f7d887cc956d291e224046e1b75fbe4.zip |
added splitter
Diffstat (limited to 'src/main/python/main.py')
-rw-r--r-- | src/main/python/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/python/main.py b/src/main/python/main.py index 647792b..3addc68 100644 --- a/src/main/python/main.py +++ b/src/main/python/main.py @@ -6,7 +6,7 @@ from PyQt5.QtCore import QObject, Qt, pyqtSignal from PyQt5.QtGui import QBrush, QColor, QImage, QPainter, QPalette from PyQt5.QtWidgets import (QComboBox, QFileDialog, QFormLayout, QVBoxLayout, QHBoxLayout, QLabel, QMainWindow, QMenu, - QPushButton, QWidget, QMdiArea) + QPushButton, QWidget, QMdiArea, QSplitter) from utils.canvas import canvas from utils.fileWindow import fileWindow @@ -45,6 +45,7 @@ class appWindow(QMainWindow): #create toolbar and add the toolbar plus mdi to layout self.createToolbar() mainLayout.addWidget(self.toolbar) + mainLayout.addWidget(QSplitter(Qt.Vertical, self)) mainLayout.addWidget(self.mdi) #set flags so that window doesnt look weird |