edgelabel.h
Go to the documentation of this file.
1 /***************************************************************************
2  SocNetV: Social Network Visualizer
3  version: 2.2
4  Written in Qt
5  edgelabel.h - description
6  -------------------
7  copyright : (C) 2005-2017 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 EDGELABEL_H
30 #define EDGELABEL_H
31 
32 
33 #include <QGraphicsTextItem>
34 class Edge;
35 
36 static const int TypeEdgeLabel = QGraphicsItem::UserType+6;
37 static const int ZValueEdgeLabel = 80;
38 
39 class EdgeLabel: public QGraphicsTextItem
40 {
41 public:
42  EdgeLabel(Edge * , int, QString);
43  void removeRefs();
44 
45  enum { Type = UserType + 6 };
46  int type() const { return Type; }
47 
48  ~EdgeLabel();
49 private:
50 };
51 
52 #endif
static const int TypeEdgeLabel
Definition: edgelabel.h:36
Definition: edgelabel.h:45
Definition: edge.h:54
Definition: edgelabel.h:39
void removeRefs()
~EdgeLabel()
Definition: edgelabel.cpp:45
int type() const
Definition: edgelabel.h:46
static const int ZValueEdgeLabel
Definition: edgelabel.h:37
EdgeLabel(Edge *, int, QString)
Definition: edgelabel.cpp:34