Krita Source Code Documentation
Loading...
Searching...
No Matches
KritaQmlComponentsPlugin Class Reference

#include <KritaQmlComponentsPlugin.h>

+ Inheritance diagram for KritaQmlComponentsPlugin:

Public Member Functions

void initializeEngine (QQmlEngine *engine, const char *uri) override
 
 KritaQmlComponentsPlugin (QObject *parent=nullptr)
 
void registerTypes (const char *uri) override
 

Detailed Description

Definition at line 13 of file KritaQmlComponentsPlugin.h.

Constructor & Destructor Documentation

◆ KritaQmlComponentsPlugin()

KritaQmlComponentsPlugin::KritaQmlComponentsPlugin ( QObject * parent = nullptr)

Definition at line 29 of file KritaQmlComponentsPlugin.cpp.

30 : QQmlExtensionPlugin(parent)
31{
32}

Member Function Documentation

◆ initializeEngine()

void KritaQmlComponentsPlugin::initializeEngine ( QQmlEngine * engine,
const char * uri )
override

Definition at line 34 of file KritaQmlComponentsPlugin.cpp.

35{
36 Q_UNUSED(engine);
37 Q_UNUSED(uri);
38}

◆ registerTypes()

void KritaQmlComponentsPlugin::registerTypes ( const char * uri)
override

Definition at line 40 of file KritaQmlComponentsPlugin.cpp.

41{
42 qmlRegisterType<SvgTextLabel>(uri, 1, 0, "SvgTextLabel");
43 qmlRegisterType<KisNumParser>(uri, 1, 0, "KisNumParser");
44 qmlRegisterType<KisCubicCurveQml>(uri, 1, 0, "KisCubicCurve");
45 qmlRegisterType<KisTheme>(uri, 1, 0, "Theme");
46 qmlRegisterUncreatableType<KisThemeColorGroup>(uri, 1, 0, "ThemeColorGroup", "Use Theme instead");
47 qmlRegisterType<KisFontFunctions>(uri, 1, 0, "FontFunctions");
48 qmlRegisterType<KoShapeQtQuickLabel>(uri, 1, 0, "KoShapeQtQuickLabel");
49 qmlRegisterType<TagFilterProxyModelQmlWrapper>(uri, 1, 0, "TagFilterProxyModelQmlWrapper");
50
51}

The documentation for this class was generated from the following files: