#include <KoContainerHandler.h>
Graphe d'héritage de KoContainerHandler:
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 | |
KoChild * | child (KoChild::Gadget &gadget, QPoint &pos, const QMouseEvent *ev) |
This is a little helper function to get rid of some duplicated code. | |
Attributs privés | |
KoView * | m_view |
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.
Définition à la ligne 112 du fichier KoContainerHandler.h.
KoContainerHandler::KoContainerHandler | ( | KoView * | view, | |
QWidget * | widget | |||
) |
KoContainerHandler::~KoContainerHandler | ( | ) |
Définition à la ligne 286 du fichier KoContainerHandler.cpp.
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 :
KoView* KoContainerHandler::m_view [private] |
Définition à la ligne 137 du fichier KoContainerHandler.h.
Référencé par child(), eventFilter(), et KoContainerHandler().