]> git.sven.stormbind.net Git - sven/vym.git/blob - src/scriptoutput.h
Replace Pierre as the maintainer
[sven/vym.git] / src / scriptoutput.h
1 #ifndef SCRIPTOUTPUT_H
2 #define SCRIPTOUTPUT_H
3
4 #include <QTextEdit>
5 #include <QVBoxLayout>
6
7 class ScriptOutput : public QWidget {
8     Q_OBJECT
9   public:
10     ScriptOutput(QWidget *parent);
11     ~ScriptOutput();
12     void clear();
13     void setText(const QString &text);
14     QString text();
15     void append(const QString &text);
16
17   private:
18     QTextEdit *editor;
19     QVBoxLayout *layout;
20 };
21
22 #endif // SCRIPTOUTPUT_H