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

Method style

samples/cpp/cpp_sample.cpp:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55qan::NodeStyle* CustomGroup::style(QObject* parent) noexcept {
56 Q_UNUSED(parent)
57 static std::unique_ptr<qan::NodeStyle> style;
58 if (!style) {
59 style = std::make_unique<qan::NodeStyle>();
60 }
61 return style.get();
62}
63
64QQmlComponent* CustomNode::delegate(QQmlEngine &engine, QObject* parent) noexcept
65{

Callers

nothing calls this directly

Calls 1

setBackColorMethod · 0.80

Tested by

no test coverage detected