DebugUI, UserInterface: added a signal emitted to execute 'make' and connect it to a slot make_support

Fri, 13 Apr 2018 18:57:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 13 Apr 2018 18:57:56 +0200
branch
make_support
changeset 6239
a03acd98c6c8
parent 6238
e3ec560a2a5c
child 6240
3ea0b969f608

DebugUI, UserInterface: added a signal emitted to execute 'make' and connect it to a slot

Debugger/DebugUI.py file | annotate | diff | comparison | revisions
UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/Debugger/DebugUI.py	Fri Apr 13 18:56:08 2018 +0200
+++ b/Debugger/DebugUI.py	Fri Apr 13 18:57:56 2018 +0200
@@ -38,6 +38,8 @@
     @signal compileForms() emitted if changed project forms should be compiled
     @signal compileResources() emitted if changed project resources should be
         compiled
+    @signal executeMake() emitted if a project specific make run should be
+        performed
     @signal debuggingStarted(filename) emitted when a debugging session was
         started
     @signal resetUI() emitted to reset the UI
@@ -1540,6 +1542,8 @@
             self.compileForms.emit()
         if Preferences.getProject("AutoCompileResources"):
             self.compileResources.emit()
+        if Preferences.getProject("AutoExecuteMake"):
+            self.executeMake.emit()
         QApplication.processEvents()
         
     def __coverageScript(self):
--- a/UI/UserInterface.py	Fri Apr 13 18:56:08 2018 +0200
+++ b/UI/UserInterface.py	Fri Apr 13 18:57:56 2018 +0200
@@ -415,6 +415,7 @@
             self.projectBrowser.pfBrowser.compileChangedForms)
         self.debuggerUI.compileResources.connect(
             self.projectBrowser.prBrowser.compileChangedResources)
+        self.debuggerUI.executeMake.connect(self.project.executeMake)
         self.debuggerUI.appendStdout.connect(self.appendToStdout)
         
         debugServer.passiveDebugStarted.connect(

eric ide

mercurial