Salome HOME
Modify default icon for the module
[modules/gui.git] / src / PythonConsole / PythonConsole_PyEditor.h
index c847a5acff9ac440b7e81f4c1cc602aef3243b11..b5d303a60e41545e2c5768801c3de6f489028495 100755 (executable)
@@ -24,7 +24,6 @@
 //  File   : PythonConsole_PyEditor.h
 //  Author : Nicolas REJNERI
 //  Module : SALOME
-//  $Header$
 
 #ifndef PythonConsole_PyEditor_H
 #define PythonConsole_PyEditor_H
@@ -46,6 +45,8 @@ public:
   
   virtual void setText(QString s); 
   bool isCommand(const QString& str) const;
+
+  virtual void exec( const QString& command );
   
 protected:
   virtual void contentsDropEvent( QDropEvent* event );
@@ -57,6 +58,8 @@ protected:
 public slots:
   void handleReturn();
   void onPyInterpChanged( PyInterp_base* );
+
+  virtual QPopupMenu* createPopupMenu( const QPoint& );
   
 private:
   QString        _buf;