QtHPConnect/hp_mditexteditor.h
2019-02-26 21:56:39 +02:00

41 lines
739 B
C++

#ifndef HP_MDITEXTEDITOR_H
#define HP_MDITEXTEDITOR_H
#include <QObject>
#include <QWidget>
#include <QMdiSubWindow>
#include <QTreeView>
#include "hpdata.h"
class hpTreeItem;
class hpCalcData;
#include "texteditor.h"
class hp_mdiTextEdit: public QMdiSubWindow
{
Q_OBJECT
protected:
textEditor * textEdit =nullptr;
hpTreeItem * hptreeitem =nullptr;
hpCalcData * hpcalc =nullptr;
QString filename;
hp_DataType type;
AbstractData * data =nullptr;
public:
hp_mdiTextEdit(QWidget * parent = nullptr, hpTreeItem * treeItem = nullptr,
hpCalcData * dataStore =nullptr);
void setup();
void show();
~hp_mdiTextEdit();
signals:
public slots:
};
#endif // HP_MDITEXTEDITOR_H