Référence de la classe IconShape

Graphe d'héritage de IconShape:
[légende]
Graphe de collaboration de IconShape:
[légende]
Liste de tous les membres

Fonctions membres publiques

 IconShape (const QString &icon)
virtual void visit (KoShapeController *tool)=0
virtual QString toolTip ()=0
void paint (QPainter &painter, const KoViewConverter &converter)
 Paint the shape The class extending this one is responsible for painting itself. Since we do not assume the shape is square the paint must also clear its background if it will draw something transparent on top. This can be done with a method like: painter.fillRect(converter.normalToView(QRectF(QPointF(0.0,0.0), size())), background()); Or equavalent for non-square objects.

Attributs privés

QPixmap m_icon

Description détaillée

Définition à la ligne 49 du fichier KoShapeSelector.cpp.


Documentation des contructeurs et destructeur

IconShape::IconShape ( const QString &  icon  )  [inline]

Définition à la ligne 51 du fichier KoShapeSelector.cpp.

Références m_icon, et KoShape::resize().

Voici le graphe d'appel pour cette fonction :


Documentation des fonctions membres

virtual void IconShape::visit ( KoShapeController tool  )  [pure virtual]

Implémenté dans TemplateShape, et GroupShape.

Référencé par KoShapeSelector::itemSelected().

virtual QString IconShape::toolTip (  )  [pure virtual]

Implémenté dans TemplateShape, et GroupShape.

Référencé par KoShapeSelector::Canvas::event().

Voici le graphe d'appel pour cette fonction :

void IconShape::paint ( QPainter &  painter,
const KoViewConverter converter 
) [inline, virtual]

Paint the shape The class extending this one is responsible for painting itself. Since we do not assume the shape is square the paint must also clear its background if it will draw something transparent on top. This can be done with a method like: painter.fillRect(converter.normalToView(QRectF(QPointF(0.0,0.0), size())), background()); Or equavalent for non-square objects.

Paramètres:
painter used for painting the shape
converter to convert between internal and view coordinates.
Voir également:
applyConversion()

Implémente KoShape.

Définition à la ligne 59 du fichier KoShapeSelector.cpp.

Références m_icon.


Documentation des données membres

QPixmap IconShape::m_icon [private]

Définition à la ligne 65 du fichier KoShapeSelector.cpp.

Référencé par IconShape(), et paint().


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Wed Nov 22 23:43:34 2006 pour KPlato par  doxygen 1.5.1-p1