mirror of
https://github.com/Indy970/QtHPConnect
synced 2024-12-27 21:59:29 +01:00
43 lines
848 B
C++
43 lines
848 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,
|
|
AbstractData * calcData =nullptr);
|
|
hp_mdiTextEdit(QWidget * parent, hp_DataStruct filename,
|
|
AbstractData * calcData);
|
|
void setup();
|
|
void show();
|
|
~hp_mdiTextEdit();
|
|
|
|
signals:
|
|
|
|
public slots:
|
|
|
|
};
|
|
|
|
#endif // HP_MDITEXTEDITOR_H
|