Go to the documentation of this file.
13 #ifndef ASSETS_COLLECTION_WRAPPER_H
14 #define ASSETS_COLLECTION_WRAPPER_H
17 #include "../ResourcesManager.h"
25 collection->
each([&] (T *asset) {
37 virtual bool canDrop(
const QMimeData *,
int)
const override {
return true; }
static const char * tipProperty
virtual AssetWrapper * child(int index) override
virtual int childIndex(AssetWrapper *child) override
Plugin animator file specs[Config] name
static bool compareByDisplayName(const AssetWrapper *left, const AssetWrapper *right)
ArchetypeWrapper * wrap(archetype *arch, AssetWrapper *parent)
virtual bool canDrop(const QMimeData *, int) const override
QVector< AssetWrapper * > myAssets
virtual QString displayName() const
void each(std::function< void(T *)> op)
AssetsCollectionWrapper(AssetWrapper *parent, const QString &name, AssetsCollection< T > *collection, ResourcesManager *resources, const QString &tip)
virtual int childrenCount() const override