graphicsedgelabel.h
Go to the documentation of this file.
1 /***************************************************************************
2  SocNetV: Social Network Visualizer
3  version: 2.5
4  Written in Qt
5  graphicsedgelabel.h - description
6  -------------------
7  copyright : (C) 2005-2018 by Dimitris B. Kalamaras
8  project site : http://socnetv.org
9 
10  ***************************************************************************/
11 
12 /*******************************************************************************
13 * This program is free software: you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation, either version 3 of the License, or *
16 * (at your option) any later version. *
17 * *
18 * This program is distributed in the hope that it will be useful, *
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
21 * GNU General Public License for more details. *
22 * *
23 * You should have received a copy of the GNU General Public License *
24 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
25 ********************************************************************************/
26 
27 
28 
29 #ifndef GRAPHICSEDGELABEL_H
30 #define GRAPHICSEDGELABEL_H
31 
32 
33 #include <QGraphicsTextItem>
34 class GraphicsEdge;
35 
36 static const int TypeEdgeLabel = QGraphicsItem::UserType+6;
37 static const int ZValueEdgeLabel = 80;
38 
39 class GraphicsEdgeLabel: public QGraphicsTextItem
40 {
41 public:
42  GraphicsEdgeLabel(GraphicsEdge * , int, QString);
43  void removeRefs();
44 
45  enum { Type = UserType + 6 };
46  int type() const { return Type; }
47 
49 private:
50 };
51 
52 #endif
int type() const
Definition: graphicsedgelabel.h:46
Definition: graphicsedgelabel.h:39
static const int TypeEdgeLabel
Definition: graphicsedgelabel.h:36
Definition: graphicsedgelabel.h:45
Definition: graphicsedge.h:58
GraphicsEdgeLabel(GraphicsEdge *, int, QString)
Definition: graphicsedgelabel.cpp:34
~GraphicsEdgeLabel()
Definition: graphicsedgelabel.cpp:45
static const int ZValueEdgeLabel
Definition: graphicsedgelabel.h:37