NOISSUE Comment and bugfix the Resource system
This commit is contained in:
parent
24db645167
commit
1e51b62c88
12 changed files with 180 additions and 86 deletions
|
@ -20,6 +20,7 @@ public:
|
|||
QVariant data(const QModelIndex &proxyIndex, int role) const override;
|
||||
void setSourceModel(QAbstractItemModel *model) override;
|
||||
|
||||
/// Helper function, usage: m_view->setModel(ResourceProxyModel::mixin<QIcon>(m_model));
|
||||
template <typename T>
|
||||
static QAbstractItemModel *mixin(QAbstractItemModel *model)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue