valentina/tools/vtoollinepoint.h

26 lines
769 B
C
Raw Normal View History

2013-07-30 20:46:40 +02:00
#ifndef VTOOLLINEPOINT_H
#define VTOOLLINEPOINT_H
#pragma GCC diagnostic ignored "-Weffc++"
2013-07-30 20:46:40 +02:00
#include "vtoolpoint.h"
#pragma GCC diagnostic warning "-Weffc++"
2013-07-30 20:46:40 +02:00
class VToolLinePoint : public VToolPoint
{
public:
VToolLinePoint(VDomDocument *doc, VContainer *data, const qint64 &id,
const QString &typeLine, const QString &formula,
2013-07-31 13:34:39 +02:00
const qint64 &basePointId, const qint32 &angle, QGraphicsItem * parent = 0);
2013-07-30 20:46:40 +02:00
public slots:
virtual void ChangedActivDraw(const QString newName);
2013-07-31 13:34:39 +02:00
virtual void RefreshGeometry();
2013-07-30 20:46:40 +02:00
protected:
QString typeLine;
QString formula;
qint32 angle;
2013-07-31 13:34:39 +02:00
qint64 basePointId;
2013-07-30 20:46:40 +02:00
QGraphicsLineItem *mainLine;
};
#endif // VTOOLLINEPOINT_H