Documentation for VToolLinePoint class.

--HG--
branch : develop
This commit is contained in:
dismine 2014-01-25 16:01:57 +02:00
parent 517735a5a6
commit 757a4dc8fe

View File

@ -32,22 +32,22 @@
#include "vtoolpoint.h" #include "vtoolpoint.h"
/** /**
* @brief The VToolLinePoint class * @brief The VToolLinePoint class parent for all tools what create point with line.
*/ */
class VToolLinePoint : public VToolPoint class VToolLinePoint : public VToolPoint
{ {
Q_OBJECT Q_OBJECT
public: public:
/** /**
* @brief VToolLinePoint * @brief VToolLinePoint constructor.
* @param doc dom document container * @param doc dom document container.
* @param data container with variables * @param data container with variables.
* @param id object id in container * @param id object id in container.
* @param typeLine line type. * @param typeLine line type.
* @param formula * @param formula string with length formula.
* @param basePointId * @param basePointId id base line point.
* @param angle * @param angle line angle.
* @param parent parent object * @param parent parent object.
*/ */
VToolLinePoint(VDomDocument *doc, VContainer *data, const qint64 &id, const QString &typeLine, VToolLinePoint(VDomDocument *doc, VContainer *data, const qint64 &id, const QString &typeLine,
const QString &formula, const qint64 &basePointId, const qreal &angle, const QString &formula, const qint64 &basePointId, const qreal &angle,
@ -65,23 +65,23 @@ public slots:
virtual void SetFactor(qreal factor); virtual void SetFactor(qreal factor);
protected: protected:
/** /**
* @brief typeLine * @brief typeLine type line.
*/ */
QString typeLine; QString typeLine;
/** /**
* @brief formula * @brief formula string with length formula.
*/ */
QString formula; QString formula;
/** /**
* @brief angle * @brief angle line angle.
*/ */
qreal angle; qreal angle;
/** /**
* @brief basePointId * @brief basePointId id base line point.
*/ */
qint64 basePointId; qint64 basePointId;
/** /**
* @brief mainLine * @brief mainLine line item.
*/ */
QGraphicsLineItem *mainLine; QGraphicsLineItem *mainLine;
/** /**