17#ifndef GRAPHICSWIDGET_H
18#define GRAPHICSWIDGET_H
21#include <QGraphicsView>
53 const int &relation=-1);
100 const QString &nodeShape,
101 const QString &nodeIconPath,
102 const QString &nodeColor,
103 const QString &numberColor,
104 const int &numberSize,
105 const int &numberDistance,
106 const QString &nodeLabel,
107 const QString &labelColor,
108 const int &labelSize,
109 const int &labelDistance);
113 void moveNode(
const int &num,
const qreal &x,
const qreal &y);
115 bool setNodeSize(
const int &nodeNumber,
const int &size=0);
119 const QString &shape,
120 const QString &iconPath=QString());
121 bool setNodeColor(
const int &nodeNum,
const QString &color);
137 const QString &label=
"",
138 const QString &color=
"black",
140 const bool &drawArrows=
true,
141 const bool &bezier=
false,
142 const bool &weightNumbers=
false);
146 const bool &removeOpposite=
false);
149 const int &sourceNum,
150 const int &targetNum,
152 const bool &preserveReverseEdge=
false,
153 const int &edgeWeight=1,
154 const int &reverseEdgeWeight=1);
158 const int &dirType=
false);
162 void setEdgeLabel(
const int &source,
const int &target,
const QString &label);
164 void setEdgeColor(
const int &,
const int&,
const QString &);
180 void addGuideCircle(
const double&x0,
const double&y0,
const double&radius);
183 void zoomIn(
const int step = 1);
184 void zoomOut(
const int step = 1);
206 void userClickedEdge(
const int &source,
const int &target,
const bool &openMenu=
false);
Definition graphicsedgelabel.h:28
Definition graphicsedgeweight.h:28
Definition graphicsedge.h:49
Definition graphicsguide.h:30
Definition graphicsnodelabel.h:26
Definition graphicsnodenumber.h:27
Definition graphicsnode.h:47
The base window of SocNetV contains all widgets and functionality.
Definition mainwindow.h:104
Global definitions, constants, enumerations, and utility types for SocNetV.
#define SOCNETV_USE_NAMESPACE
Definition global.h:28