summaryrefslogtreecommitdiff
path: root/src/main/python/main.py
diff options
context:
space:
mode:
authorBlaine2020-06-19 13:44:01 +0530
committerBlaine2020-06-19 13:44:01 +0530
commit7e779cddeb822b727e944e1d54237bed4b5692a9 (patch)
tree10c8b8b7853184ffa866e2087c92b4d9620d15b2 /src/main/python/main.py
parentddcfa2fd395be6d0ac261851ff6eb31be2164728 (diff)
downloadChemical-PFD-7e779cddeb822b727e944e1d54237bed4b5692a9.tar.gz
Chemical-PFD-7e779cddeb822b727e944e1d54237bed4b5692a9.tar.bz2
Chemical-PFD-7e779cddeb822b727e944e1d54237bed4b5692a9.zip
camelCase to PascalCase for class names
Diffstat (limited to 'src/main/python/main.py')
-rw-r--r--src/main/python/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/python/main.py b/src/main/python/main.py
index 7a73c7a..9683f00 100644
--- a/src/main/python/main.py
+++ b/src/main/python/main.py
@@ -8,7 +8,7 @@ from PyQt5.QtWidgets import (QComboBox, QFileDialog, QFormLayout, QVBoxLayout,
QPushButton, QWidget, QMdiArea, QSplitter, QGraphicsItem)
from utils.canvas import canvas
-from utils.fileWindow import fileWindow
+from utils.fileWindow import FileWindow
from utils.data import ppiList, sheetDimensionList
from utils import dialogs
from utils.toolbar import toolbar
@@ -92,7 +92,7 @@ class appWindow(QMainWindow):
def newProject(self):
#call to create a new file inside mdi area
- project = fileWindow(self.mdi)
+ project = FileWindow(self.mdi)
project.setObjectName("New Project")
self.mdi.addSubWindow(project)
if not project.tabList: # important when unpickling a file instead
@@ -110,7 +110,7 @@ class appWindow(QMainWindow):
for files in name[0]:
with open(files,'r') as file:
projectData = load(file)
- project = fileWindow(self.mdi)
+ project = FileWindow(self.mdi)
self.mdi.addSubWindow(project)
project.__setstate__(projectData)
project.resizeHandler()