Debugger/DebuggerInterfacePython3.py

changeset 537
72b32daeb8d6
parent 482
4650a72c307a
child 564
b3d966393ba9
--- a/Debugger/DebuggerInterfacePython3.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/Debugger/DebuggerInterfacePython3.py	Tue Aug 31 12:17:02 2010 +0200
@@ -11,9 +11,10 @@
 import os
 
 from PyQt4.QtCore import *
-from PyQt4.QtGui import QInputDialog, QMessageBox
+from PyQt4.QtGui import QInputDialog
 
 from E5Gui.E5Application import e5App
+from E5Gui import E5MessageBox
 
 from .DebugProtocol import *
 from . import DebugClientCapabilities
@@ -179,7 +180,7 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:])
                 if process is None:
-                    QMessageBox.critical(None,
+                    E5MessageBox.critical(None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(\
                             """<p>The debugger backend could not be started.</p>"""))
@@ -224,7 +225,7 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:], clientEnv)
                 if process is None:
-                    QMessageBox.critical(None,
+                    E5MessageBox.critical(None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(\
                             """<p>The debugger backend could not be started.</p>"""))
@@ -234,7 +235,7 @@
             [debugClient, noencoding, str(port), redirect, ipaddr], 
             clientEnv)
         if process is None:
-            QMessageBox.critical(None,
+            E5MessageBox.critical(None,
                 self.trUtf8("Start Debugger"),
                 self.trUtf8("""<p>The debugger backend could not be started.</p>"""))
         return process, self.__isNetworked
@@ -274,7 +275,7 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:])
                 if process is None:
-                    QMessageBox.critical(None,
+                    E5MessageBox.critical(None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(\
                             """<p>The debugger backend could not be started.</p>"""))
@@ -317,7 +318,7 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:], clientEnv)
                 if process is None:
-                    QMessageBox.critical(None,
+                    E5MessageBox.critical(None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(\
                             """<p>The debugger backend could not be started.</p>"""))
@@ -327,7 +328,7 @@
             [debugClient, noencoding, str(port), redirect, ipaddr], 
             clientEnv)
         if process is None:
-            QMessageBox.critical(None,
+            E5MessageBox.critical(None,
                 self.trUtf8("Start Debugger"),
                 self.trUtf8("""<p>The debugger backend could not be started.</p>"""))
         return process, self.__isNetworked

eric ide

mercurial