Graphe de collaboration de KoPathTool::KoPathPointSelection:
Fonctions membres publiques | |
KoPathPointSelection (KoPathTool *tool) | |
~KoPathPointSelection () | |
void | paint (QPainter &painter, KoViewConverter &converter) |
Draw the selected points. | |
void | add (KoPathPoint *point, bool clear) |
Add a point to the selection. | |
void | remove (KoPathPoint *point) |
Remove a point form the selection. | |
void | clear () |
Clear the selection. | |
int | objectCount () const |
Get the number of path objects in the selection. | |
int | size () const |
Get the number of path objects in the selection. | |
bool | contains (KoPathPoint *point) |
Check if a point is in the selection. | |
const QSet< KoPathPoint * > & | selectedPoints () const |
Get all selected points. | |
const KoPathShapePointMap & | selectedPointMap () const |
Get the selected point map. | |
void | repaint () |
trigger a repaint | |
Attributs privés | |
QSet< KoPathPoint * > | m_selectedPoints |
KoPathShapePointMap | m_shapePointMap |
KoPathTool * | m_tool |
This class handles the selection of points. It makes sure the canvas is repainted when the selection changes.
Définition à la ligne 125 du fichier KoPathTool.h.
KoPathTool::KoPathPointSelection::KoPathPointSelection | ( | KoPathTool * | tool | ) | [inline] |
Définition à la ligne 128 du fichier KoPathTool.h.
KoPathTool::KoPathPointSelection::~KoPathPointSelection | ( | ) | [inline] |
Définition à la ligne 131 du fichier KoPathTool.h.
void KoPathTool::KoPathPointSelection::paint | ( | QPainter & | painter, | |
KoViewConverter & | converter | |||
) |
Draw the selected points.
Définition à la ligne 574 du fichier KoPathTool.cpp.
Références KoShape::applyConversion(), KoPathTool::handleRect(), m_shapePointMap, m_tool, KoPathPoint::paint(), et KoViewConverter::viewToDocument().
Référencé par KoPathTool::paint().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoPathTool::KoPathPointSelection::add | ( | KoPathPoint * | point, | |
bool | clear | |||
) |
Add a point to the selection.
point | to add to the selection | |
clear | if true the selection will be cleared before adding the point |
Définition à la ligne 593 du fichier KoPathTool.cpp.
Références clear(), m_selectedPoints, m_shapePointMap, m_tool, KoPathTool::repaint(), et size().
Référencé par KoPathTool::ActivePointHandle::mousePressEvent(), et KoPathTool::selectPoints().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoPathTool::KoPathPointSelection::remove | ( | KoPathPoint * | point | ) |
Remove a point form the selection.
point | to remove from the selection |
Définition à la ligne 626 du fichier KoPathTool.cpp.
Références KoPathPoint::boundingRect(), m_selectedPoints, m_shapePointMap, m_tool, KoPathPoint::parent(), KoPathTool::repaint(), et size().
Référencé par KoPathTool::ActivePointHandle::mousePressEvent().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoPathTool::KoPathPointSelection::clear | ( | ) |
Clear the selection.
Définition à la ligne 640 du fichier KoPathTool.cpp.
Références m_selectedPoints, m_shapePointMap, et repaint().
Référencé par add(), KoPathTool::deactivate(), KoPathTool::keyPressEvent(), KoPathTool::ActiveParameterHandle::mousePressEvent(), KoPathTool::mousePressEvent(), et KoPathTool::selectPoints().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
int KoPathTool::KoPathPointSelection::objectCount | ( | ) | const [inline] |
Get the number of path objects in the selection.
Définition à la ligne 161 du fichier KoPathTool.h.
Références m_shapePointMap.
Référencé par KoPathTool::keyPressEvent().
Voici le graphe d'appel pour cette fonction :
int KoPathTool::KoPathPointSelection::size | ( | ) | const [inline] |
Get the number of path objects in the selection.
Définition à la ligne 168 du fichier KoPathTool.h.
Références m_selectedPoints.
Référencé par add(), KoPathTool::keyPressEvent(), et remove().
Voici le graphe d'appel pour cette fonction :
bool KoPathTool::KoPathPointSelection::contains | ( | KoPathPoint * | point | ) | [inline] |
Check if a point is in the selection.
Définition à la ligne 175 du fichier KoPathTool.h.
Références m_selectedPoints.
Référencé par KoPathTool::keyPressEvent(), KoPathTool::ActivePointHandle::mousePressEvent(), et KoPathTool::ActivePointHandle::paint().
Voici le graphe d'appel pour cette fonction :
const QSet<KoPathPoint *>& KoPathTool::KoPathPointSelection::selectedPoints | ( | ) | const [inline] |
Get all selected points.
Définition à la ligne 182 du fichier KoPathTool.h.
Références m_selectedPoints.
Référencé par KoPathTool::keyPressEvent().
Voici le graphe d'appel pour cette fonction :
const KoPathShapePointMap& KoPathTool::KoPathPointSelection::selectedPointMap | ( | ) | const [inline] |
Get the selected point map.
Définition à la ligne 190 du fichier KoPathTool.h.
Références m_shapePointMap.
Référencé par KoPathTool::keyPressEvent().
Voici le graphe d'appel pour cette fonction :
void KoPathTool::KoPathPointSelection::repaint | ( | ) |
trigger a repaint
Définition à la ligne 647 du fichier KoPathTool.cpp.
Références KoPathPoint::boundingRect(), m_selectedPoints, m_tool, et KoPathTool::repaint().
Référencé par clear(), KoPathTool::keyPressEvent(), et KoPathTool::mouseMoveEvent().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
QSet<KoPathPoint *> KoPathTool::KoPathPointSelection::m_selectedPoints [private] |
Définition à la ligne 198 du fichier KoPathTool.h.
Référencé par add(), clear(), contains(), remove(), repaint(), selectedPoints(), et size().
Définition à la ligne 199 du fichier KoPathTool.h.
Référencé par add(), clear(), objectCount(), paint(), remove(), et selectedPointMap().