Référence de la classe KoContainerHandler

#include <KoContainerHandler.h>

Graphe d'héritage de KoContainerHandler:

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

Signaux

void popupMenu (KoChild *, const QPoint &global_pos)
void deleteChild (KoChild *)

Fonctions membres publiques

 KoContainerHandler (KoView *view, QWidget *widget)
 ~KoContainerHandler ()

Fonctions membres protégées

bool eventFilter (QObject *, QEvent *)

Fonctions membres privées

KoChildchild (KoChild::Gadget &gadget, QPoint &pos, const QMouseEvent *ev)
 This is a little helper function to get rid of some duplicated code.

Attributs privés

KoViewm_view

Description détaillée

This class can handle moving and resizing of embedded documents in your class derived from KoView.

Just create one instance per view of this class and parts will magically be moved around on your document.

This class acts like an event filter on your view, so the mouse events which are used for parts moving and resizing will never show up in your view.

Voir également:
KoPartMoveHandlerPrivate

KoPartResizeHandlerPrivate

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


Documentation des contructeurs et destructeur

KoContainerHandler::KoContainerHandler ( KoView view,
QWidget *  widget 
)

Définition à la ligne 280 du fichier KoContainerHandler.cpp.

Références m_view.

KoContainerHandler::~KoContainerHandler (  ) 

Définition à la ligne 286 du fichier KoContainerHandler.cpp.


Documentation des fonctions membres

void KoContainerHandler::popupMenu ( KoChild ,
const QPoint &  global_pos 
) [signal]

Emitted if the user wants to open the popup menu for some child object.

Référencé par eventFilter().

void KoContainerHandler::deleteChild ( KoChild  )  [signal]

Emitted if the user pressed the delete key whilst a child was selected

Référencé par eventFilter().

bool KoContainerHandler::eventFilter ( QObject *  ,
QEvent *   
) [protected]

Définition à la ligne 290 du fichier KoContainerHandler.cpp.

Références KoChild::BottomLeft, KoChild::BottomMid, KoChild::BottomRight, child(), deleteChild(), m_view, KoView::matrix(), KoChild::MidLeft, KoChild::MidRight, KoChild::Move, KoChild::NoGadget, popupMenu(), gensymbolfontmap::pos, KoView::selectedChild(), KoEventHandler::target(), KoChild::TopLeft, KoChild::TopMid, et KoChild::TopRight.

Voici le graphe d'appel pour cette fonction :

KoChild * KoContainerHandler::child ( KoChild::Gadget gadget,
QPoint &  pos,
const QMouseEvent *  ev 
) [private]

This is a little helper function to get rid of some duplicated code.

Définition à la ligne 361 du fichier KoContainerHandler.cpp.

Références KoView::activeChild(), KoView::child(), KoDocumentChild::document(), KoChild::gadgetHitTest(), m_view, KoChild::NoGadget, KoView::reverseViewTransformations(), et KoView::selectedChild().

Référencé par eventFilter().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

KoView* KoContainerHandler::m_view [private]

Définition à la ligne 137 du fichier KoContainerHandler.h.

Référencé par child(), eventFilter(), et KoContainerHandler().


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