Code Documentation 3.1
Social Network Visualizer
Loading...
Searching...
No Matches
graphicsedgelabel.h
Go to the documentation of this file.
1
17#ifndef GRAPHICSEDGELABEL_H
18#define GRAPHICSEDGELABEL_H
19
20
21#include <QGraphicsTextItem>
22class GraphicsEdge;
23
24static const int TypeEdgeLabel = QGraphicsItem::UserType+6;
25static const int ZValueEdgeLabel = 80;
26
27class GraphicsEdgeLabel: public QGraphicsTextItem
28{
29public:
30 GraphicsEdgeLabel(GraphicsEdge * , int, QString);
31 void removeRefs();
32
33 enum { Type = UserType + 6 };
34 int type() const { return Type; }
35
37private:
38};
39
40#endif
Definition graphicsedgelabel.h:28
~GraphicsEdgeLabel()
Definition graphicsedgelabel.cpp:35
@ Type
Definition graphicsedgelabel.h:33
int type() const
Definition graphicsedgelabel.h:34
Definition graphicsedge.h:49
static const int TypeEdgeLabel
Definition graphicsedgelabel.h:24
static const int ZValueEdgeLabel
Definition graphicsedgelabel.h:25