Salome HOME
Add Python wrappings for Python console.
[modules/gui.git] / tools / PyConsole / src / PyConsole_Editor.h
index a63e8fcd12fc1672c86e1e4e50d65fe4c3c52f06..01c35c92ec1d0a8c3d69757c924cebb6044558a1 100644 (file)
@@ -39,7 +39,8 @@ class PYCONSOLE_EXPORT PyConsole_Editor : public QTextEdit
   Q_OBJECT;
 
 public:
-  PyConsole_Editor( PyConsole_Interp*, QWidget* = 0 );
+  PyConsole_Editor( QWidget* = 0 );
+  PyConsole_Editor( QWidget*, PyConsole_Interp* );
   ~PyConsole_Editor();
 
   PyConsole_Interp* getInterp() const;
@@ -95,6 +96,8 @@ protected:
   virtual QString getLogFileName();
 
 private:
+  void           init( PyConsole_Interp* );
+
   void           multilinePaste( const QString& );
   void           multiLineProcessNextLine();