Référence de la classe KoPointPropertyCommand

The undo / redo command for changing the path point type. Plus de détails...

#include <KoPathCommand.h>

Graphe d'héritage de KoPointPropertyCommand:

[légende]
Graphe de collaboration de KoPointPropertyCommand:
[légende]
Liste de tous les membres

Fonctions membres publiques

 KoPointPropertyCommand (KoPathShape *shape, KoPathPoint *point, KoPathPoint::KoPointProperties property)
void execute ()
 execute the command
void unexecute ()
 revert the actions done in execute
QString name () const
 return the name of this command

Attributs privés

KoPathPointm_point
KoPathPoint::KoPointProperties m_newProperties
KoPathPoint::KoPointProperties m_oldProperties
QPointF m_controlPoint1
QPointF m_controlPoint2

Description détaillée

The undo / redo command for changing the path point type.

Définition à la ligne 93 du fichier KoPathCommand.h.


Documentation des contructeurs et destructeur

KoPointPropertyCommand::KoPointPropertyCommand ( KoPathShape shape,
KoPathPoint point,
KoPathPoint::KoPointProperties  property 
)

Command to change the type of the point

Paramètres:
shape the path shape containing the point
point the path point to move
property ??

Définition à la ligne 158 du fichier KoPathCommand.cpp.

Références KoPathPoint::controlPoint1(), KoPathPoint::controlPoint2(), m_controlPoint1, m_controlPoint2, m_oldProperties, et KoPathPoint::properties().

Voici le graphe d'appel pour cette fonction :


Documentation des fonctions membres

void KoPointPropertyCommand::execute (  ) 

execute the command

Définition à la ligne 168 du fichier KoPathCommand.cpp.

Références KoPathPoint::controlPoint1(), KoPathPoint::controlPoint2(), KoPathPoint::IsSmooth, KoPathPoint::IsSymmetric, m_newProperties, m_point, KoPathBaseCommand::m_shape, KoPathShape::outline(), KoPathPoint::point(), KoPathBaseCommand::repaint(), KoPathPoint::setControlPoint1(), KoPathPoint::setControlPoint2(), et KoPathPoint::setProperties().

Voici le graphe d'appel pour cette fonction :

void KoPointPropertyCommand::unexecute (  ) 

revert the actions done in execute

Définition à la ligne 217 du fichier KoPathCommand.cpp.

Références m_controlPoint1, m_controlPoint2, m_oldProperties, m_point, KoPathBaseCommand::m_shape, KoPathShape::outline(), KoPathBaseCommand::repaint(), KoPathPoint::setControlPoint1(), KoPathPoint::setControlPoint2(), et KoPathPoint::setProperties().

Voici le graphe d'appel pour cette fonction :

QString KoPointPropertyCommand::name (  )  const

return the name of this command

Définition à la ligne 228 du fichier KoPathCommand.cpp.


Documentation des données membres

KoPathPoint* KoPointPropertyCommand::m_point [private]

Définition à la ligne 109 du fichier KoPathCommand.h.

Référencé par execute(), et unexecute().

KoPathPoint::KoPointProperties KoPointPropertyCommand::m_newProperties [private]

Définition à la ligne 110 du fichier KoPathCommand.h.

Référencé par execute().

KoPathPoint::KoPointProperties KoPointPropertyCommand::m_oldProperties [private]

Définition à la ligne 111 du fichier KoPathCommand.h.

Référencé par KoPointPropertyCommand(), et unexecute().

QPointF KoPointPropertyCommand::m_controlPoint1 [private]

Définition à la ligne 112 du fichier KoPathCommand.h.

Référencé par KoPointPropertyCommand(), et unexecute().

QPointF KoPointPropertyCommand::m_controlPoint2 [private]

Définition à la ligne 113 du fichier KoPathCommand.h.

Référencé par KoPointPropertyCommand(), et unexecute().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:48:30 2006 pour KPlato par  doxygen 1.5.1-p1