17#ifndef GRAPHICSWIDGET_H
18#define GRAPHICSWIDGET_H
21#include <QGraphicsView>
24#include <QLoggingCategory>
33Q_DECLARE_LOGGING_CATEGORY(lcGW)
72 const int &relation=-1);
116 const QString &nodeShape,
117 const QString &nodeIconPath,
118 const QString &nodeColor,
119 const QString &numberColor,
120 const int &numberSize,
121 const int &numberDistance,
122 const QString &nodeLabel,
123 const QString &labelColor,
124 const int &labelSize,
125 const int &labelDistance);
129 void moveNode(
const int &num,
const qreal &x,
const qreal &y);
131 bool setNodeSize(
const int &nodeNumber,
const int &size=0);
134 const QString &shape,
135 const QString &iconPath=QString());
136 bool setNodeColor(
const int &nodeNum,
const QString &color);
152 const QString &label=
"",
153 const QString &color=
"black",
155 const bool &drawArrows=
true,
156 const bool &bezier=
false,
157 const bool &weightNumbers=
false);
161 const bool &removeOpposite=
false);
164 const int &sourceNum,
165 const int &targetNum,
167 const bool &preserveReverseEdge=
false,
168 const int &edgeWeight=1,
169 const int &reverseEdgeWeight=1);
177 const int &dirType=
false);
181 void setEdgeLabel(
const int &source,
const int &target,
const QString &label);
183 void setEdgeColor(
const int &,
const int&,
const QString &);
204 void addGuideCircle(
const double&x0,
const double&y0,
const double&radius);
207 void zoomIn(
const int step = 1);
208 void zoomOut(
const int step = 1);
254 void userClickedEdge(
const int &source,
const int &target,
const bool &openMenu=
false);
Definition graphicsedge.h:51
Definition graphicsedgelabel.h:28
Definition graphicsedgeweight.h:28
Definition graphicsguide.h:30
Definition graphicsnode.h:49
Definition graphicsnodelabel.h:26
Definition graphicsnodenumber.h:27
The base window of SocNetV contains all widgets and functionality.
Definition mainwindow.h:118
Global definitions, constants, enumerations, and utility types for SocNetV.
#define SOCNETV_USE_NAMESPACE
Definition global.h:28