pgLab/typeselectionitemmodel.h

22 lines
519 B
C
Raw Normal View History

#ifndef TYPESELECTIONITEMMODEL_H
#define TYPESELECTIONITEMMODEL_H
#include <QAbstractListModel>
class TypeSelectionItemModel : public QAbstractListModel
{
Q_OBJECT
public:
explicit TypeSelectionItemModel(QObject *parent = 0);
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
private:
};
#endif // TYPESELECTIONITEMMODEL_H