aboutsummaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r--gui/mainwindow.h33
1 files changed, 2 insertions, 31 deletions
diff --git a/gui/mainwindow.h b/gui/mainwindow.h
index 5464a6dd..f0818be4 100644
--- a/gui/mainwindow.h
+++ b/gui/mainwindow.h
@@ -6,8 +6,9 @@
#include "qtpropertymanager.h"
#include "qttreepropertybrowser.h"
#include "qtvariantproperty.h"
+#include "pythontab.h"
+#include "infotab.h"
-#include <QLineEdit>
#include <QMainWindow>
#include <QPlainTextEdit>
#include <QTabWidget>
@@ -19,36 +20,6 @@ namespace Ui {
class MainWindow;
}
-class PythonTab : public QWidget
-{
- Q_OBJECT
-
- public:
- explicit PythonTab(QWidget *parent = 0);
-
- private:
- int executePython(std::string command);
- private Q_SLOTS:
- void editLineReturnPressed();
-
- private:
- QPlainTextEdit *plainTextEdit;
- QLineEdit *lineEdit;
- emb::stdout_write_type write;
-};
-
-class InfoTab : public QWidget
-{
- Q_OBJECT
-
- public:
- explicit InfoTab(QWidget *parent = 0);
- void info(std::string str);
-
- private:
- QPlainTextEdit *plainTextEdit;
-};
-
class MainWindow : public QMainWindow
{
Q_OBJECT