Documentation for VToolEndLine class.
--HG-- branch : develop
This commit is contained in:
parent
5dd98fd02b
commit
f7813f62cd
|
@ -33,7 +33,7 @@
|
||||||
#include "../../dialogs/dialogbisector.h"
|
#include "../../dialogs/dialogbisector.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The VToolBisector class tool for creation bisector point.
|
* @brief The VToolBisector class tool for creation bisector point.
|
||||||
*/
|
*/
|
||||||
class VToolBisector : public VToolLinePoint
|
class VToolBisector : public VToolLinePoint
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,23 +33,23 @@
|
||||||
#include "../../dialogs/dialogendline.h"
|
#include "../../dialogs/dialogendline.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The VToolEndLine class
|
* @brief The VToolEndLine class tool for creation point on the line end.
|
||||||
*/
|
*/
|
||||||
class VToolEndLine : public VToolLinePoint
|
class VToolEndLine : public VToolLinePoint
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* @brief VToolEndLine
|
* @brief VToolEndLine 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 formula length of line.
|
||||||
* @param angle
|
* @param angle angle of line.
|
||||||
* @param basePointId
|
* @param basePointId id first point of line.
|
||||||
* @param typeCreation way we create this tool.
|
* @param typeCreation way we create this tool.
|
||||||
* @param parent parent object
|
* @param parent parent object.
|
||||||
*/
|
*/
|
||||||
VToolEndLine(VDomDocument *doc, VContainer *data, const qint64 &id, const QString &typeLine,
|
VToolEndLine(VDomDocument *doc, VContainer *data, const qint64 &id, const QString &typeLine,
|
||||||
const QString &formula, const qreal &angle, const qint64 &basePointId,
|
const QString &formula, const qreal &angle, const qint64 &basePointId,
|
||||||
|
@ -59,27 +59,27 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual void setDialog();
|
virtual void setDialog();
|
||||||
/**
|
/**
|
||||||
* @brief Create help create tool
|
* @brief Create help create tool from GUI.
|
||||||
* @param dialog
|
* @param dialog dialog.
|
||||||
* @param scene pointer to scene.
|
* @param scene pointer to scene.
|
||||||
* @param doc dom document container
|
* @param doc dom document container.
|
||||||
* @param data container with variables
|
* @param data container with variables.
|
||||||
*/
|
*/
|
||||||
static void Create(QSharedPointer<DialogEndLine> &dialog, VMainGraphicsScene *scene, VDomDocument *doc,
|
static void Create(QSharedPointer<DialogEndLine> &dialog, VMainGraphicsScene *scene, VDomDocument *doc,
|
||||||
VContainer *data);
|
VContainer *data);
|
||||||
/**
|
/**
|
||||||
* @brief Create help create tool
|
* @brief Create help create tool.
|
||||||
* @param _id tool id, 0 if tool doesn't exist yet.
|
* @param _id tool id, 0 if tool doesn't exist yet.
|
||||||
* @param pointName point name.
|
* @param pointName point name.
|
||||||
* @param typeLine line type.
|
* @param typeLine line type.
|
||||||
* @param formula
|
* @param formula string with formula length of line.
|
||||||
* @param angle
|
* @param angle angle of line.
|
||||||
* @param basePointId
|
* @param basePointId id first point of line.
|
||||||
* @param mx label bias x axis.
|
* @param mx label bias x axis.
|
||||||
* @param my label bias y axis.
|
* @param my label bias y axis.
|
||||||
* @param scene pointer to scene.
|
* @param scene pointer to scene.
|
||||||
* @param doc dom document container
|
* @param doc dom document container.
|
||||||
* @param data container with variables
|
* @param data container with variables.
|
||||||
* @param parse parser file mode.
|
* @param parse parser file mode.
|
||||||
* @param typeCreation way we create this tool.
|
* @param typeCreation way we create this tool.
|
||||||
*/
|
*/
|
||||||
|
@ -87,9 +87,6 @@ public:
|
||||||
const QString &formula, const qreal &angle, const qint64 &basePointId, const qreal &mx,
|
const QString &formula, const qreal &angle, const qint64 &basePointId, const qreal &mx,
|
||||||
const qreal &my, VMainGraphicsScene *scene, VDomDocument *doc, VContainer *data,
|
const qreal &my, VMainGraphicsScene *scene, VDomDocument *doc, VContainer *data,
|
||||||
const Document::Documents &parse, const Tool::Sources &typeCreation);
|
const Document::Documents &parse, const Tool::Sources &typeCreation);
|
||||||
/**
|
|
||||||
* @brief ToolType
|
|
||||||
*/
|
|
||||||
static const QString ToolType;
|
static const QString ToolType;
|
||||||
public slots:
|
public slots:
|
||||||
/**
|
/**
|
||||||
|
@ -98,14 +95,18 @@ public slots:
|
||||||
virtual void FullUpdateFromFile();
|
virtual void FullUpdateFromFile();
|
||||||
/**
|
/**
|
||||||
* @brief FullUpdateFromGui refresh tool data from change options.
|
* @brief FullUpdateFromGui refresh tool data from change options.
|
||||||
* @param result
|
* @param result result working dialog.
|
||||||
*/
|
*/
|
||||||
virtual void FullUpdateFromGui(int result);
|
virtual void FullUpdateFromGui(int result);
|
||||||
|
/**
|
||||||
|
* @brief ShowContextMenu show context menu.
|
||||||
|
* @param event context menu event.
|
||||||
|
*/
|
||||||
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
|
virtual void ShowContextMenu(QGraphicsSceneContextMenuEvent *event);
|
||||||
protected:
|
protected:
|
||||||
/**
|
/**
|
||||||
* @brief contextMenuEvent handle context menu events.
|
* @brief contextMenuEvent handle context menu events.
|
||||||
* @param event
|
* @param event context menu event.
|
||||||
*/
|
*/
|
||||||
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
|
virtual void contextMenuEvent ( QGraphicsSceneContextMenuEvent * event );
|
||||||
/**
|
/**
|
||||||
|
@ -118,7 +119,7 @@ protected:
|
||||||
virtual void RefreshDataInFile();
|
virtual void RefreshDataInFile();
|
||||||
private:
|
private:
|
||||||
/**
|
/**
|
||||||
* @brief dialogEndLine pointer to the dialog
|
* @brief dialogEndLine pointer to the dialog.
|
||||||
*/
|
*/
|
||||||
QSharedPointer<DialogEndLine> dialogEndLine;
|
QSharedPointer<DialogEndLine> dialogEndLine;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user