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