valentina/tools/drawTools/vtoollinepoint.h

28 lines
851 B
C
Raw Normal View History

2013-07-30 20:46:40 +02:00
#ifndef VTOOLLINEPOINT_H
#define VTOOLLINEPOINT_H
#include "vtoolpoint.h"
class VToolLinePoint : public VToolPoint
{
Q_OBJECT
2013-07-30 20:46:40 +02:00
public:
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:
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;
virtual void RefreshGeometry();
2013-08-20 12:26:02 +02:00
private:
VToolLinePoint(const VToolLinePoint &tool);
const VToolLinePoint &operator=(const VToolLinePoint &tool);
2013-07-30 20:46:40 +02:00
};
#endif // VTOOLLINEPOINT_H