From 7b8e2551b97b4d18a3769ee3a9bc6409f27427d8 Mon Sep 17 00:00:00 2001 From: pravindalve Date: Wed, 24 Jun 2020 13:59:35 +0530 Subject: issue with updating database while creating new file fixed --- mainApp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mainApp.py') diff --git a/mainApp.py b/mainApp.py index e49d4e2..462887f 100644 --- a/mainApp.py +++ b/mainApp.py @@ -227,7 +227,7 @@ class MainApp(QMainWindow,ui): ''' def new(self): self.undo_redo_helper() - self.comp.tableWidget.setRowCount(0) + self.comp = ComponentSelector(self) self.textBrowser.append("[" + str(self.current_time()) + "] New flowsheet is created ... ") dock_widget_lst.clear() -- cgit From 8b296f3d098669a6cb4f20511aaa3b42ac4510ba Mon Sep 17 00:00:00 2001 From: lucaszhao19 Date: Tue, 21 Jul 2020 22:02:16 +0630 Subject: Fixed updating Tooltip values from fetched results --- mainApp.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'mainApp.py') diff --git a/mainApp.py b/mainApp.py index 462887f..d8ba5fc 100644 --- a/mainApp.py +++ b/mainApp.py @@ -262,8 +262,6 @@ class MainApp(QMainWindow,ui): self.graphicsView.setMouseTracking(True) self.graphicsView.keyPressEvent=self.delete_call - - ''' Function for undo ''' -- cgit From 7a6921b773cf8879cc29c8eb6c0f6ca2a1da961e Mon Sep 17 00:00:00 2001 From: lucaszhao19 Date: Mon, 3 Aug 2020 20:45:29 +0630 Subject: Add Thermo Package for ShortcutColumn --- mainApp.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'mainApp.py') diff --git a/mainApp.py b/mainApp.py index d8ba5fc..78bbd98 100644 --- a/mainApp.py +++ b/mainApp.py @@ -41,9 +41,6 @@ class MainApp(QMainWindow,ui): # Loading and setting up style sheet self.setupUi(self) - # style = open('cyan.css','r') - # style = style.read() - # self.setStyleSheet(style) # Initializing attributes self.zoom_count = 0 -- cgit From 4babc3c0fb44e9dc0332e4d0da9bd12ab67b3c57 Mon Sep 17 00:00:00 2001 From: lucaszhao19 Date: Fri, 7 Aug 2020 21:10:13 +0630 Subject: Clean unnecessary codes from Graphics.py, Container.py and Streams.py --- mainApp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mainApp.py') diff --git a/mainApp.py b/mainApp.py index 78bbd98..e2328dd 100644 --- a/mainApp.py +++ b/mainApp.py @@ -47,7 +47,7 @@ class MainApp(QMainWindow,ui): self.thrd = None # Creating instances of classes for the main app - self.container = Container.Container(self.textBrowser, self.graphicsView) + self.container = Container(self.textBrowser, self.graphicsView) self.comp = ComponentSelector(self) # Setting up interactive canvas -- cgit