MCPcopy Create free account
hub / github.com/cneben/QuickQanava / CustomNode

Class CustomNode

samples/cpp/cpp_sample.h:60–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58QML_DECLARE_TYPE(CustomGroup)
59
60class CustomNode : public qan::Node
61{
62 Q_OBJECT
63public:
64 explicit CustomNode(QObject* parent = nullptr) : qan::Node{parent} { /* Nil */ }
65 virtual ~CustomNode() override { /* Nil */ }
66private:
67 CustomNode(const CustomNode &) = delete;
68
69public:
70 static QQmlComponent* delegate(QQmlEngine &engine, QObject* parent = nullptr) noexcept;
71 static qan::NodeStyle* style(QObject* parent = nullptr) noexcept;
72};
73
74QML_DECLARE_TYPE(CustomNode)
75

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected