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 30 of file KritaQmlComponentsPlugin.cpp.

31 : QQmlExtensionPlugin(parent)
32{
33}

Member Function Documentation

◆ initializeEngine()

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

Definition at line 35 of file KritaQmlComponentsPlugin.cpp.

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

◆ registerTypes()

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

Definition at line 41 of file KritaQmlComponentsPlugin.cpp.

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

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