summaryrefslogtreecommitdiff
path: root/lsmaterialmodel.h
blob: 6b75fd6e65837e0d075fe59d7021a14050a2f933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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