2013-07-30 20:46:40 +02:00
|
|
|
#ifndef VTOOLLINEPOINT_H
|
|
|
|
#define VTOOLLINEPOINT_H
|
|
|
|
|
|
|
|
#include "vtoolpoint.h"
|
|
|
|
|
|
|
|
class VToolLinePoint : public VToolPoint
|
|
|
|
{
|
2013-09-10 14:29:06 +02:00
|
|
|
Q_OBJECT
|
2013-07-30 20:46:40 +02:00
|
|
|
public:
|
2013-09-10 14:29:06 +02:00
|
|
|
VToolLinePoint(VDomDocument *doc, VContainer *data, const qint64 &id,
|
2013-07-30 20:46:40 +02:00
|
|
|
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:
|
2013-09-10 14:29:06 +02:00
|
|
|
virtual void ChangedActivDraw(const QString newName);
|
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;
|
2013-09-10 14:29:06 +02:00
|
|
|
virtual void RefreshGeometry();
|
2013-08-20 12:26:02 +02:00
|
|
|
private:
|
2013-09-10 14:29:06 +02:00
|
|
|
VToolLinePoint(const VToolLinePoint &tool);
|
|
|
|
const VToolLinePoint &operator=(const VToolLinePoint &tool);
|
2013-07-30 20:46:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VTOOLLINEPOINT_H
|