17#ifndef GRAPHICSGUIDE_H
18#define GRAPHICSGUIDE_H
21#include <QGraphicsItem>
27static const int TypeGuide = QGraphicsItem::UserType+7;
32 Q_INTERFACES (QGraphicsItem)
36 const double &x0,
const double &y0,
const double &
radius );
38 const double &y0,
const int &
width);
44 enum {
Type = UserType + 7 };
51 void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option, QWidget *widget);
Definition graphicsguide.h:30
void die()
Definition graphicsguide.cpp:97
@ Type
Definition graphicsguide.h:44
int m_width
Definition graphicsguide.h:56
GraphicsWidget * graphicsWidget
Definition graphicsguide.h:54
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Definition graphicsguide.cpp:84
double radius()
Definition graphicsguide.cpp:46
void setCircle(const QPointF ¢er, const double &radius)
Definition graphicsguide.cpp:54
bool isCircle()
Definition graphicsguide.cpp:50
double m_radius
Definition graphicsguide.h:55
bool circle
Definition graphicsguide.h:57
int width()
Definition graphicsguide.cpp:69
int type() const
Definition graphicsguide.h:45
QRectF boundingRect() const
Definition graphicsguide.cpp:74
void setHorizontalLine(const QPointF &origin, const int &width)
Definition graphicsguide.cpp:62
static const int TypeGuide
Definition graphicsguide.h:27
static const int ZValueGuide
Definition graphicsguide.h:28