Documentation for VToolBisector class.

--HG--
branch : develop
This commit is contained in:
dismine 2014-01-24 19:10:04 +02:00
parent 9a92096853
commit a0ab7d913c
33 changed files with 164 additions and 156 deletions

View File

@ -69,17 +69,17 @@ public slots:
virtual void ShowTool(qint64 id, Qt::GlobalColor color, bool enable);
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName name new active pattern peace.
* @param newName new name active pattern peace. name new active pattern peace.
*/
virtual void ChangedActivDraw(const QString &newName);
/**
* @brief ChangedNameDraw save new name active pattern peace.
* @param oldName old name.
* @param newName new name.
* @param newName new name active pattern peace. new name.
*/
void ChangedNameDraw(const QString &oldName, const QString &newName);
/**
* @brief FullUpdateFromGui refresh tool data from change options.
* @brief FullUpdateFromGui refresh tool data after change in options.
* @param result keep result working dialog.
*/
virtual void FullUpdateFromGui(int result)=0;

View File

@ -110,7 +110,7 @@ public slots:
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent handle context menu event.
* @brief contextMenuEvent handle context menu events. handle context menu event.
* @param event context menu event.
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );

View File

@ -35,14 +35,14 @@
#include "../../widgets/vcontrolpointspline.h"
/**
* @brief The VToolArc class
* @brief The VToolArc class tool for creation arc.
*/
class VToolArc :public VDrawTool, public QGraphicsPathItem
{
Q_OBJECT
public:
/**
* @brief VToolArc
* @brief VToolArc constuctor.
* @param doc dom document container
* @param data container with variables
* @param id object id in container
@ -57,7 +57,7 @@ public:
virtual void setDialog();
/**
* @brief Create help create tool
* @param dialog
* @param dialog dialog options.
* @param scene pointer to scene.
* @param doc dom document container
* @param data container with variables
@ -65,28 +65,22 @@ public:
static void Create(QSharedPointer<DialogArc> &dialog, VMainGraphicsScene *scene, VDomDocument *doc,
VContainer *data);
/**
* @brief Create help create tool
* @brief Create help create tool form GUI.
* @param _id tool id, 0 if tool doesn't exist yet.
* @param center
* @param radius
* @param f1
* @param f2
* @param center id arc center point.
* @param radius arc radius.
* @param f1 start angle of arc.
* @param f2 end angle of arc.
* @param scene pointer to scene.
* @param doc dom document container
* @param data container with variables
* @param doc dom document container.
* @param data container with variables.
* @param parse parser file mode.
* @param typeCreation way we create this tool.
*/
static void Create(const qint64 _id, const qint64 &center, const QString &radius, const QString &f1,
const QString &f2, VMainGraphicsScene *scene, VDomDocument *doc, VContainer *data,
const Document::Documents &parse, const Tool::Sources &typeCreation);
/**
* @brief TagName
*/
static const QString TagName;
/**
* @brief ToolType
*/
static const QString ToolType;
public slots:
/**
@ -94,20 +88,20 @@ public slots:
*/
virtual void FullUpdateFromFile();
/**
* @brief FullUpdateFromGui refresh tool data from change options.
* @param result
* @brief FullUpdateFromGui refresh tool data after change in options.
* @param result result working options window.
*/
virtual void FullUpdateFromGui(int result);
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName
* @param newName new name active pattern peace.
*/
virtual void ChangedActivDraw(const QString &newName);
/**
* @brief ShowTool highlight tool.
* @brief ShowTool highlight tool.
* @param id object id in container
* @param color
* @param enable
* @param color highlight color.
* @param enable enable or disable highlight.
*/
virtual void ShowTool(qint64 id, Qt::GlobalColor color, bool enable);
/**
@ -117,8 +111,8 @@ public slots:
virtual void SetFactor(qreal factor);
protected:
/**
* @brief contextMenuEvent
* @param event
* @brief contextMenuEvent handle context menu events.
* @param event context menu event.
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
/**
@ -130,33 +124,43 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief mouseReleaseEvent
* @param event
* @brief mouseReleaseEvent handle mouse release events.
* @param event mouse release event.
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @param event
* @brief hoverMoveEvent handle hover move events.
* @param event hover move event.
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @param event
* @brief hoverLeaveEvent handle hover leave events.
* @param event hover leave event.
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief RemoveReferens decrement value of reference.
*/
virtual void RemoveReferens();
/**
* @brief itemChange handle tool change.
* @param change change.
* @param value value.
* @return value.
*/
virtual QVariant itemChange ( GraphicsItemChange change, const QVariant &value );
/**
* @brief keyReleaseEvent handle key release events.
* @param event key release event.
*/
virtual void keyReleaseEvent(QKeyEvent * event);
private:
/**
* @brief dialogArc
* @brief dialogArc dialog.
*/
QSharedPointer<DialogArc> dialogArc;
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
void RefreshGeometry();
};

View File

@ -33,35 +33,35 @@
#include "../../dialogs/dialogbisector.h"
/**
* @brief The VToolBisector class
* @brief The VToolBisector class tool for creation bisector point.
*/
class VToolBisector : public VToolLinePoint
{
public:
/**
* @brief VToolBisector
* @param doc dom document container
* @param data container with variables
* @param id object id in container
* @brief VToolBisector constructor.
* @param doc dom document container.
* @param data container with variables.
* @param id object id in container.
* @param typeLine line type.
* @param formula
* @param firstPointId
* @param secondPointId
* @param thirdPointId
* @param formula string with formula length of bisector.
* @param firstPointId id first point of angle.
* @param secondPointId id second point of angle.
* @param thirdPointId id third point of angle.
* @param typeCreation way we create this tool.
* @param parent parent object
* @param parent parent object.
*/
VToolBisector(VDomDocument *doc, VContainer *data, const qint64 &id, const QString &typeLine,
const QString &formula, const qint64 &firstPointId, const qint64 &secondPointId,
const qint64 &thirdPointId, const Tool::Sources &typeCreation,
QGraphicsItem * parent = 0);
/**
* @brief FindPoint
* @param firstPoint
* @param secondPoint
* @param thirdPoint
* @param length
* @return
* @brief FindPoint find bisector point.
* @param firstPoint first point of angle.
* @param secondPoint second point of angle.
* @param thirdPoint third point of angle.
* @param length bisector length.
* @return bisector point.
*/
static QPointF FindPoint(const QPointF &firstPoint, const QPointF &secondPoint, const QPointF &thirdPoint,
const qreal& length);
@ -70,28 +70,28 @@ public:
*/
virtual void setDialog();
/**
* @brief Create help create tool
* @param dialog
* @brief Create help create tool form GUI.
* @param dialog dialog.
* @param scene pointer to scene.
* @param doc dom document container
* @param data container with variables
* @param doc dom document container.
* @param data container with variables.
*/
static void Create(QSharedPointer<DialogBisector> &dialog, VMainGraphicsScene *scene,
VDomDocument *doc, VContainer *data);
/**
* @brief Create help create tool
* @brief Create help create tool.
* @param _id tool id, 0 if tool doesn't exist yet.
* @param formula
* @param firstPointId
* @param secondPointId
* @param thirdPointId
* @param formula string with formula.
* @param firstPointId id first point of angle.
* @param secondPointId id second point of angle.
* @param thirdPointId id third point of angle.
* @param typeLine line type.
* @param pointName
* @param pointName point name.
* @param mx label bias x axis.
* @param my label bias y axis.
* @param scene pointer to scene.
* @param doc dom document container
* @param data container with variables
* @param doc dom document container.
* @param data container with variables.
* @param parse parser file mode.
* @param typeCreation way we create this tool.
*/
@ -100,9 +100,6 @@ public:
const QString &pointName, const qreal &mx, const qreal &my, VMainGraphicsScene *scene,
VDomDocument *doc, VContainer *data, const Document::Documents &parse,
const Tool::Sources &typeCreation);
/**
* @brief ToolType
*/
static const QString ToolType;
public slots:
/**
@ -119,11 +116,15 @@ public slots:
* @param factor scene scale factor.
*/
virtual void SetFactor(qreal factor);
/**
* @brief ShowContextMenu show context menu.
* @param event context menu event.
*/
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent
* @param event
* @brief contextMenuEvent handle context menu events.
* @param event context menu event.
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
/**
@ -140,15 +141,15 @@ protected:
virtual void RemoveReferens();
private:
/**
* @brief firstPointId
* @brief firstPointId id first point of angle.
*/
qint64 firstPointId;
/**
* @brief thirdPointId
* @brief thirdPointId id third point of angle.
*/
qint64 thirdPointId;
/**
* @brief dialogBisector
* @brief dialogBisector dialog.
*/
QSharedPointer<DialogBisector> dialogBisector;
};

View File

@ -33,6 +33,9 @@
#include "../../dialogs/dialogcutarc.h"
#include "../../widgets/vsimplearc.h"
/**
* @brief The VToolCutArc class tool for
*/
class VToolCutArc : public VToolPoint
{
Q_OBJECT
@ -71,13 +74,13 @@ public slots:
void ArcChoosed(qint64 id);
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName
* @param newName new name active pattern peace.
*/
virtual void ChangedActivDraw(const QString &newName);
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
@ -90,7 +93,7 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
void RefreshGeometry();
private:

View File

@ -69,7 +69,7 @@ public:
/**
* @brief Create help create tool
* @param _id tool id, 0 if tool doesn't exist yet.
* @param pointName
* @param pointName point name.
* @param formula
* @param splineId
* @param mx label bias x axis.
@ -106,13 +106,13 @@ public slots:
void SplineChoosed(qint64 id);
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName
* @param newName new name active pattern peace.
*/
virtual void ChangedActivDraw(const QString &newName);
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
@ -125,7 +125,7 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
void RefreshGeometry();
virtual void RemoveReferens();

View File

@ -59,7 +59,7 @@ public:
/**
* @brief Create help create tool
* @param _id tool id, 0 if tool doesn't exist yet.
* @param pointName
* @param pointName point name.
* @param formula
* @param splineId
* @param mx label bias x axis.
@ -96,13 +96,13 @@ public slots:
void SplineChoosed(qint64 id);
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName
* @param newName new name active pattern peace.
*/
virtual void ChangedActivDraw(const QString &newName);
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
@ -115,7 +115,7 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
void RefreshGeometry();
virtual void RemoveReferens();

View File

@ -70,7 +70,7 @@ public:
/**
* @brief Create help create tool
* @param _id tool id, 0 if tool doesn't exist yet.
* @param pointName
* @param pointName point name.
* @param typeLine line type.
* @param formula
* @param angle
@ -104,7 +104,7 @@ public slots:
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );

View File

@ -70,7 +70,7 @@ public:
/**
* @brief Create help create tool
* @param _id tool id, 0 if tool doesn't exist yet.
* @param pointName
* @param pointName point name.
* @param typeLine line type.
* @param basePointId
* @param p1LineId
@ -111,7 +111,7 @@ public slots:
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );

View File

@ -90,7 +90,7 @@ public slots:
virtual void FullUpdateFromFile();
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName
* @param newName new name active pattern peace.
*/
virtual void ChangedActivDraw(const QString &newName);
/**
@ -112,7 +112,7 @@ public slots:
virtual void SetFactor(qreal factor);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
@ -125,12 +125,12 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );
@ -154,7 +154,7 @@ private:
*/
QSharedPointer<DialogLine> dialogLine;
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
void RefreshGeometry();
};

View File

@ -74,7 +74,7 @@ public:
* @param p2Line1Id
* @param p1Line2Id
* @param p2Line2Id
* @param pointName
* @param pointName point name.
* @param mx label bias x axis.
* @param my label bias y axis.
* @param scene pointer to scene.
@ -109,7 +109,7 @@ public slots:
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );

View File

@ -55,7 +55,7 @@ public:
public slots:
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName
* @param newName new name active pattern peace.
*/
virtual void ChangedActivDraw(const QString &newName);
/**
@ -85,7 +85,7 @@ protected:
*/
QGraphicsLineItem *mainLine;
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
virtual void RefreshGeometry();
/**

View File

@ -76,7 +76,7 @@ public:
* @param firstPointId
* @param secondPointId
* @param typeLine line type.
* @param pointName
* @param pointName point name.
* @param angle
* @param mx label bias x axis.
* @param my label bias y axis.
@ -123,7 +123,7 @@ public slots:
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );

View File

@ -60,7 +60,7 @@ public slots:
void NameChangePosition(const QPointF &pos);
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName
* @param newName new name active pattern peace.
*/
virtual void ChangedActivDraw(const QString &newName);
/**
@ -101,17 +101,17 @@ protected:
*/
virtual void UpdateNamePosition(qreal mx, qreal my);
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );

View File

@ -84,7 +84,7 @@ public:
* @param center
* @param firstPointId
* @param secondPointId
* @param pointName
* @param pointName point name.
* @param mx label bias x axis.
* @param my label bias y axis.
* @param scene pointer to scene.
@ -119,7 +119,7 @@ public slots:
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );

View File

@ -68,7 +68,7 @@ public:
/**
* @brief Create help create tool
* @param _id tool id, 0 if tool doesn't exist yet.
* @param pointName
* @param pointName point name.
* @param firstPointId
* @param secondPointId
* @param mx label bias x axis.
@ -104,7 +104,7 @@ protected:
*/
virtual void RemoveReferens();
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );

View File

@ -86,7 +86,7 @@ public:
* @param p2Line
* @param pShoulder
* @param typeLine line type.
* @param pointName
* @param pointName point name.
* @param mx label bias x axis.
* @param my label bias y axis.
* @param scene pointer to scene.
@ -121,7 +121,7 @@ public slots:
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );

View File

@ -69,7 +69,7 @@ public slots:
virtual void FullUpdateFromGui(int result);
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName
* @param newName new name active pattern peace.
*/
virtual void ChangedActivDraw(const QString &newName);
/**
@ -85,7 +85,7 @@ signals:
void FullUpdateTree();
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
@ -98,7 +98,7 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief itemChange
* @brief itemChange handle tool change.
* @param change
* @param value
* @return

View File

@ -128,7 +128,7 @@ public slots:
const QPointF &pos);
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName
* @param newName new name active pattern peace.
*/
virtual void ChangedActivDraw ( const QString &newName );
/**
@ -145,7 +145,7 @@ public slots:
virtual void SetFactor(qreal factor);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
@ -158,17 +158,17 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );
@ -188,7 +188,7 @@ private:
*/
QVector<VControlPointSpline *> controlPoints;
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
void RefreshGeometry ();
};

View File

@ -120,7 +120,7 @@ public slots:
const QPointF &pos);
/**
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
* @param newName
* @param newName new name active pattern peace.
*/
virtual void ChangedActivDraw(const QString &newName);
/**
@ -137,7 +137,7 @@ public slots:
virtual void SetFactor(qreal factor);
protected:
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
@ -150,17 +150,17 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );
@ -180,7 +180,7 @@ private:
*/
QVector<VControlPointSpline *> controlPoints;
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
void RefreshGeometry();
/**

View File

@ -70,7 +70,7 @@ public:
/**
* @brief Create help create tool
* @param _id tool id, 0 if tool doesn't exist yet.
* @param pointName
* @param pointName point name.
* @param axisP1Id
* @param axisP2Id
* @param firstPointId
@ -118,7 +118,7 @@ protected:
*/
virtual void RemoveReferens();
/**
* @brief contextMenuEvent
* @brief contextMenuEvent handle context menu events.
* @param event
*/
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );

View File

@ -86,23 +86,23 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );
private:
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
void RefreshGeometry();
};

View File

@ -104,17 +104,17 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );

View File

@ -88,23 +88,23 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );
private:
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
void RefreshGeometry ();
};

View File

@ -87,23 +87,23 @@ protected:
*/
virtual void RefreshDataInFile();
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );
private:
/**
* @brief RefreshGeometry
* @brief RefreshGeometry refresh item on scene.
*/
void RefreshGeometry();
};

View File

@ -113,7 +113,7 @@ public slots:
*/
virtual void FullUpdateFromFile ();
/**
* @brief FullUpdateFromGui refresh tool data from change options.
* @brief FullUpdateFromGui refresh tool data after change in options.
* @param result keep result working dialog.
*/
virtual void FullUpdateFromGui(int result);

View File

@ -85,12 +85,12 @@ protected:
*/
QGraphicsLineItem *controlLine;
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );

View File

@ -70,12 +70,12 @@ protected:
*/
QVariant itemChange ( GraphicsItemChange change, const QVariant &value );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );

View File

@ -72,7 +72,7 @@ protected:
*/
void mousePressEvent(QMouseEvent *mousePress);
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
void mouseReleaseEvent(QMouseEvent *event);

View File

@ -54,17 +54,17 @@ signals:
void Choosed(qint64 id);
protected:
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );

View File

@ -64,17 +64,17 @@ signals:
void Choosed(qint64 id);
protected:
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );

View File

@ -39,17 +39,17 @@ public:
VSimpleSplinePath(VDomDocument *doc, VContainer *data, qint64 id, qreal *factor);
protected:
/**
* @brief mouseReleaseEvent
* @brief mouseReleaseEvent handle mouse release events.
* @param event
*/
virtual void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event );
/**
* @brief hoverMoveEvent
* @brief hoverMoveEvent handle hover move events.
* @param event
*/
virtual void hoverMoveEvent ( QGraphicsSceneHoverEvent * event );
/**
* @brief hoverLeaveEvent
* @brief hoverLeaveEvent handle hover leave events.
* @param event
*/
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event );

View File

@ -82,7 +82,7 @@ protected:
*/
void mousePressEvent(QMouseEvent *mousePress);
/**
* @brief mouseReleaseEvent обробник відпускання кнопки миші.
* @brief mouseReleaseEvent handle mouse release events. обробник відпускання кнопки миші.
* @param event передається подія
*/
void mouseReleaseEvent ( QMouseEvent * event );