QtHPConnect/hp_mdiwindow.h

28 lines
391 B
C
Raw Normal View History

2019-02-10 15:32:15 +02:00
#ifndef HP_MDIWINDOW_H
#define HP_MDIWINDOW_H
#include <QObject>
#include <QWidget>
2019-02-10 15:43:00 +02:00
#include <QMdiSubWindow>
2019-02-10 15:32:15 +02:00
2019-02-10 15:43:00 +02:00
#include "texteditor.h"
class hp_MdiWindow: public QMdiSubWindow
2019-02-10 15:32:15 +02:00
{
2019-02-10 15:43:00 +02:00
Q_OBJECT
protected:
QTextEdit * textEdit;
2019-02-10 15:32:15 +02:00
public:
2019-02-10 15:43:00 +02:00
hp_MdiWindow(QWidget * parent);
void setup();
QTextEdit * getEditor();
void show();
~hp_MdiWindow();
2019-02-10 15:32:15 +02:00
};
2019-02-10 15:43:00 +02:00
#endif // HP_MDIWINDOW_H