Salome HOME
Initial version
[modules/gui.git] / src / PythonConsole / PythonConsole_PyConsole.h
1 #ifndef PythonConsole_PyConsole_H
2 #define PythonConsole_PyConsole_H
3
4 #include "PythonConsole.h"
5
6 #include <qwidget.h>
7
8 class PythonConsole_PyEditor;
9 class PyInterp_base;
10
11 class PYCONSOLE_EXPORT PythonConsole: public QWidget
12 {
13 public:
14   PythonConsole(QWidget* parent, PyInterp_base* interp = 0 );
15   virtual ~PythonConsole();
16
17   PyInterp_base* getInterp() { return myInterp; } 
18
19 protected:
20   PyInterp_base*          myInterp;
21   PythonConsole_PyEditor* myEditor;
22 };
23
24
25 #endif