2019-02-10 14:32:15 +01:00
|
|
|
#ifndef HP_MDIVARIABLEEDIT_H
|
|
|
|
#define HP_MDIVARIABLEEDIT_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QWidget>
|
2019-02-10 14:43:00 +01:00
|
|
|
#include <QMdiSubWindow>
|
|
|
|
#include <QTableView>
|
|
|
|
#include "vartablemodel.h"
|
2019-02-10 14:32:15 +01:00
|
|
|
|
2019-02-10 14:43:00 +01:00
|
|
|
class hpTreeItem;
|
|
|
|
|
|
|
|
class hp_mdiVariableEdit : public QMdiSubWindow
|
2019-02-10 14:32:15 +01:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
2019-02-10 14:43:00 +01:00
|
|
|
|
|
|
|
protected:
|
|
|
|
QTableView * tableView;
|
|
|
|
hpTreeItem * hptreeitem;
|
|
|
|
varTableModel * varmodel;
|
|
|
|
|
2019-02-10 14:32:15 +01:00
|
|
|
public:
|
2019-02-10 14:43:00 +01:00
|
|
|
explicit hp_mdiVariableEdit(QWidget *parent = nullptr, hpTreeItem * treeItem = nullptr);
|
|
|
|
void setup();
|
|
|
|
void show();
|
|
|
|
~hp_mdiVariableEdit();
|
2019-02-10 14:32:15 +01:00
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
public slots:
|
2019-02-10 14:43:00 +01:00
|
|
|
|
2019-02-10 14:32:15 +01:00
|
|
|
};
|
|
|
|
|
2019-02-10 14:43:00 +01:00
|
|
|
#endif // HP_MDIVARIABLEEDIT_H
|