MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / NodePainter

Class NodePainter

QtNodeEditor/src/NodePainter.hpp:16–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14class FlowScene;
15
16class NodePainter
17{
18public:
19
20 NodePainter();
21
22public:
23
24 static
25 void
26 paint(QPainter* painter,
27 Node& node,
28 FlowScene const& scene);
29
30 static
31 void
32 drawNodeRect(QPainter* painter,
33 NodeGeometry const& geom,
34 NodeDataModel const* model,
35 NodeGraphicsObject const & graphicsObject);
36
37 static
38 void
39 drawEntryLabels(QPainter* painter,
40 NodeGeometry const& geom,
41 NodeState const& state,
42 NodeDataModel const * model);
43
44 static
45 void
46 drawConnectionPoints(QPainter* painter,
47 NodeGeometry const& geom,
48 NodeState const& state,
49 NodeDataModel const * model,
50 FlowScene const & scene);
51
52 static
53 void
54 drawFilledConnectionPoints(QPainter* painter,
55 NodeGeometry const& geom,
56 NodeState const& state,
57 NodeDataModel const * model);
58
59 static
60 void
61 drawResizeRect(QPainter* painter,
62 NodeGeometry const& geom,
63 NodeDataModel const * model);
64
65 static
66 void
67 drawValidationRect(QPainter * painter,
68 NodeGeometry const & geom,
69 NodeDataModel const * model,
70 NodeGraphicsObject const & graphicsObject);
71};
72}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected