This commit is contained in:
朱子楚\zhuzi 2024-06-17 17:45:40 +08:00
parent b11fccd758
commit 78ee7258ce
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ void FluentUI::registerTypes(const char *uri) const {
qmlRegisterUncreatableType<QmlQCustomPlot::Axis>(uri, major, minor, "Axis", "");
qmlRegisterUncreatableType<QmlQCustomPlot::Ticker>(uri, major, minor, "Ticker", "");
qmlRegisterUncreatableType<QmlQCustomPlot::Grid>(uri, major, minor, "Grid", "");
qmlRegisterUncreatableType<QmlQCustomPlot::Grid>(uri, major, minor, "PlotGrid", "");
qmlRegisterType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluAcrylic.qml"), uri, major, minor, "FluAcrylic");
qmlRegisterType(QUrl("qrc:/qt/qml/FluentUI/Controls/FluAppBar.qml"), uri, major, minor, "FluAppBar");

View File

@ -15,7 +15,7 @@ class Grid : public QObject
{
Q_OBJECT
Q_ENUMS(LineType)
QML_ELEMENT
QML_NAMED_ELEMENT(PlotGrid)
QML_UNCREATABLE("")
public:
enum LineType