Mercurial > hg > dmlib
view editor/edres.h @ 2349:463e5d9771ee
More build system work: change DMCONFIG Make variable to DM_CONFIG, and add
option of setting it to value "no" which disables inclusion of "config.mak".
Setting DM_CONFIG to any other non-empty value will include file with that
name instead. Empty value will include default "config.mak".
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 29 Oct 2019 14:46:01 +0200 |
parents | e2ac08228a0f |
children |
line wrap: on
line source
#ifndef RESOURCEMODEL_H #define RESOURCEMODEL_H #include <QAbstractTableModel> #include <QPair> #include <QList> class QEDResourceModel : public QAbstractTableModel { Q_OBJECT public: QEDResourceModel(QObject *parent = 0); int rowCount(const QModelIndex &parent) const; int columnCount(const QModelIndex &parent) const; QVariant data(const QModelIndex &index, int role) const; QVariant headerData(int section, Qt::Orientation orientation, int role) const; Qt::ItemFlags flags(const QModelIndex &index) const; // bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); // QList< QPair<QString, QString> > getList(); private: }; #endif