QtHPConnect/hp_mdivariableedit.h
2019-04-02 21:14:31 +02:00

44 lines
1.1 KiB
C++

#ifndef HP_MDIVARIABLEEDIT_H
#define HP_MDIVARIABLEEDIT_H
#include <QObject>
#include <QWidget>
#include <QMdiSubWindow>
#include <QTableView>
#include "vartablemodel.h"
#include "hpdata.h"
class hpTreeItem;
class hp_mdiVariableEdit : public QMdiSubWindow
{
Q_OBJECT
protected:
QTableView * tableView =nullptr;
hpTreeItem * hptreeitem =nullptr;
varTableModel * varmodel =nullptr;
hpCalcData * hpcalc =nullptr;
QString filename;
hp_DataType type;
void setup();
public:
explicit hp_mdiVariableEdit(QWidget *parent = nullptr,
hpTreeItem * treeItem = nullptr,
hpCalcData * dataStore =nullptr
);
// explicit hp_mdiVariableEdit(QWidget *parent,
// hp_DataStruct filedata,
// hpCalcData * dataStore
// );
void show();
~hp_mdiVariableEdit();
signals:
public slots:
};
#endif // HP_MDIVARIABLEEDIT_H