Changeset View
Changeset View
Standalone View
Standalone View
src/part/canvassubgraph.h
Show All 21 Lines | |||||
22 | 22 | | |||
23 | #ifndef CANVAS_SUBGRAPH_H | 23 | #ifndef CANVAS_SUBGRAPH_H | ||
24 | #define CANVAS_SUBGRAPH_H | 24 | #define CANVAS_SUBGRAPH_H | ||
25 | 25 | | |||
26 | #include "canvaselement.h" | 26 | #include "canvaselement.h" | ||
27 | 27 | | |||
28 | class QGraphicsScene; | 28 | class QGraphicsScene; | ||
29 | 29 | | |||
30 | namespace KGraphViewer | 30 | namespace KGraphViewer { | ||
31 | { | | |||
32 | 31 | | |||
33 | class GraphSubgraph; | 32 | class GraphSubgraph; | ||
34 | class DotGraphView; | 33 | class DotGraphView; | ||
35 | 34 | | |||
36 | class CanvasSubgraph: public CanvasElement | 35 | class CanvasSubgraph : public CanvasElement { | ||
37 | { | | |||
38 | Q_OBJECT | 36 | Q_OBJECT | ||
39 | public: | 37 | public: | ||
40 | CanvasSubgraph( | 38 | CanvasSubgraph(DotGraphView *v, GraphSubgraph *s, QGraphicsScene *c, | ||
41 | DotGraphView* v, | | |||
42 | GraphSubgraph* s, | | |||
43 | QGraphicsScene* c, | | |||
44 | QGraphicsItem* parent = nullptr); | 39 | QGraphicsItem *parent = nullptr); | ||
45 | ~CanvasSubgraph() override {} | 40 | ~CanvasSubgraph() override {} | ||
46 | 41 | | |||
47 | protected: | 42 | protected: | ||
48 | }; | 43 | }; | ||
49 | 44 | | |||
50 | } | 45 | } // namespace KGraphViewer | ||
51 | 46 | | |||
52 | #endif | 47 | #endif | ||
53 | | ||||
54 | | ||||
55 | |