summaryrefslogtreecommitdiff
path: root/src/main/python/main.py
diff options
context:
space:
mode:
authorBlaine2020-05-05 11:42:26 +0530
committerBlaine2020-05-05 11:42:26 +0530
commitc169f11c3f7d887cc956d291e224046e1b75fbe4 (patch)
tree89893a51da61591b61bb2c3b91ad67205c259d25 /src/main/python/main.py
parent700edf250bdcc90638fd3aed21ccb67ef60f086b (diff)
downloadChemical-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.py3
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