Handles creating concrete instances of previewers. More...
#include <PreviewerFactory.h>
Public Member Functions | |
virtual Previewer * | CreatePreviewer (QWidget *parent=nullptr) const =0 |
virtual bool | IsEntrySupported (const AssetBrowserEntry *entry) const =0 |
Checks if previewers created by this factory can display provided entry. | |
virtual const QString & | GetName () const =0 |
Returns unique name for the factory (typically it's the name of previewer type it generates). | |
Handles creating concrete instances of previewers.
|
pure virtual |
Create new instance of previewer. Its lifecycle is managed by the parent widget, so you should not destroy it manually.