mirror of
https://github.com/Indy970/QtHPConnect
synced 2024-12-25 21:59:15 +01:00
44 lines
1.1 KiB
C++
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
|