lib

KoContainerHandler Class Reference

#include <KoContainerHandler.h>

Inheritance diagram for KoContainerHandler:

KoEventHandler List of all members.

Detailed Description

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.

See also:
KoPartMoveHandlerPrivate

KoPartResizeHandlerPrivate

Definition at line 109 of file KoContainerHandler.h.


Signals

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

Public Member Functions

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

Protected Member Functions

bool eventFilter (QObject *, QEvent *)

Member Function Documentation

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

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

void KoContainerHandler::deleteChild ( KoChild  )  [signal]

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


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys