diff options
Diffstat (limited to '')
-rw-r--r-- | lsmaterialmodel.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lsmaterialmodel.h b/lsmaterialmodel.h new file mode 100644 index 0000000..6b75fd6 --- /dev/null +++ b/lsmaterialmodel.h @@ -0,0 +1,25 @@ +#ifndef LSMATERIALMODEL_H +#define LSMATERIALMODEL_H + +#include <QAbstractListModel> +#include "lyt/materials/materialcontainer.h" + +class LSMaterialModel : public QAbstractListModel +{ + Q_OBJECT +public: + explicit LSMaterialModel(LYTMaterialContainer *container, QObject *parent = 0); + + int rowCount(const QModelIndex &parent) const; + QVariant data(const QModelIndex &index, int role) const; + +private: + LYTMaterialContainer *m_container; + +signals: + +public slots: + +}; + +#endif // LSMATERIALMODEL_H |