19class QQuickImageProvider;
70 std::vector<std::pair<QString, std::unique_ptr<QObject>>>
ContextProps_;
126 :
Url_ (
Util::GetSysPathUrl (
Util::SysPath::QML, subdir, filename))
Interface for plugins providing quark components.
virtual LC::QuarkComponents_t GetComponents() const =0
Returns the list of quarks provided by this plugin.
virtual ~IQuarkComponentProvider()
Virtual destructor.
QList< QPair< QString, QVariant > > StaticProps_
Statis properties to be exposed to the engine.
QuarkComponent(QuarkComponent &&other)=default
Move-constructs this quark component from other.
QuarkComponent(const QString &subdir, const QString &filename)
Initializes a quark component for the given file path.
QuarkComponent & operator=(QuarkComponent &&other)=default
Move-assigns this quark component from other.
QuarkComponent()=default
Initializes a null quark component.
QList< QPair< QString, QObject * > > DynamicProps_
Dynamic properties to be exposed to the engine.
QUrl Url_
URL of the main QML of this file.
std::vector< std::pair< QString, std::unique_ptr< QObject > > > ContextProps_
Context-depended properties to be exposed to the engine.
QList< QPair< QString, QQuickImageProvider * > > ImageProviders_
The image providers to be exposed to the engine.
std::shared_ptr< QuarkComponent > QuarkComponent_ptr
A shared pointer to a quark.
QList< QuarkComponent_ptr > QuarkComponents_t
A list of quarks pointers.