mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 15:06:52 +08:00
17 lines
476 B
C++
17 lines
476 B
C++
|
#include "qml_plugin.h"
|
|||
|
|
|||
|
void FluentUIQmlPlugin::registerTypes(const char *uri)
|
|||
|
{
|
|||
|
int major = 1;
|
|||
|
int minor = 0;
|
|||
|
qmlRegisterType<FluentUI>(uri, major, minor, "FluentUI");
|
|||
|
qmlRegisterType(QUrl("qrc:/com.zzc/controls/StandardButton.qml"),uri,major,minor,"StandardButton");
|
|||
|
qmlRegisterType(QUrl("qrc:/com.zzc/controls/FilledButton.qml"),uri,major,minor,"FilledButton");
|
|||
|
}
|
|||
|
|
|||
|
void FluentUIQmlPlugin::initializeEngine(QQmlEngine *engine, const char *uri)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|