kword
KWFrameSetEdit Class Reference
#include <KWFrameSetEdit.h>
Inheritance diagram for KWFrameSetEdit:

Detailed Description
This object is created to edit a particular frameset in a particular view The view's canvas creates it, and destroys it.
Definition at line 50 of file KWFrameSetEdit.h.
Public Member Functions | |
KWFrameSetEdit (KWFrameSet *fs, KWCanvas *canvas) | |
virtual | ~KWFrameSetEdit () |
KWFrameSet * | frameSet () const |
KWCanvas * | canvas () const |
KWFrame * | currentFrame () const |
virtual KWFrameSetEdit * | currentTextEdit () |
virtual void | terminate (bool=true) |
virtual void | drawContents (QPainter *, const QRect &, const QColorGroup &, bool onlyChanged, bool resetChanged, KWViewMode *viewMode, KWFrameViewManager *frameViewManager) |
virtual void | keyPressEvent (QKeyEvent *) |
virtual void | keyReleaseEvent (QKeyEvent *) |
virtual void | imStartEvent (QIMEvent *) |
virtual void | imComposeEvent (QIMEvent *) |
virtual void | imEndEvent (QIMEvent *) |
virtual void | mousePressEvent (QMouseEvent *, const QPoint &, const KoPoint &) |
virtual void | mouseMoveEvent (QMouseEvent *, const QPoint &, const KoPoint &) |
virtual void | mouseReleaseEvent (QMouseEvent *, const QPoint &, const KoPoint &) |
virtual void | mouseDoubleClickEvent (QMouseEvent *, const QPoint &, const KoPoint &) |
virtual void | dragEnterEvent (QDragEnterEvent *) |
virtual void | dragMoveEvent (QDragMoveEvent *, const QPoint &, const KoPoint &) |
virtual void | dragLeaveEvent (QDragLeaveEvent *) |
virtual void | dropEvent (QDropEvent *, const QPoint &, const KoPoint &, KWView *) |
virtual void | focusInEvent () |
virtual void | focusOutEvent () |
virtual void | copy () |
virtual void | cut () |
virtual void | paste () |
virtual void | selectAll () |
virtual void | pasteData (QMimeSource *, int, bool) |
bool | exitLeft () |
bool | exitRight () |
Protected Attributes | |
KWFrameSet * | m_fs |
KWCanvas * | m_canvas |
KWFrame * | m_currentFrame |
Member Function Documentation
virtual KWFrameSetEdit* KWFrameSetEdit::currentTextEdit | ( | ) | [inline, virtual] |
Return the current most-low-level text edit object.
Reimplemented in KWTableFrameSetEdit, and KWTextFrameSetEdit.
Definition at line 63 of file KWFrameSetEdit.h.
virtual void KWFrameSetEdit::terminate | ( | bool | = true |
) | [inline, virtual] |
Called before destruction, when terminating edition - use to e.g.
hide cursor
Reimplemented in KWTextFrameSetEdit.
Definition at line 68 of file KWFrameSetEdit.h.
void KWFrameSetEdit::drawContents | ( | QPainter * | , | |
const QRect & | , | |||
const QColorGroup & | , | |||
bool | onlyChanged, | |||
bool | resetChanged, | |||
KWViewMode * | viewMode, | |||
KWFrameViewManager * | frameViewManager | |||
) | [virtual] |
Paint this frameset in "has focus" mode (e.g.
with a cursor) See KWFrameSet for explanation about the arguments. Most framesets don't need to reimplement that (the KWFrameSetEdit gets passed to drawFrame)
Definition at line 36 of file KWFrameSetEdit.cpp.
bool KWFrameSetEdit::exitLeft | ( | ) |
Called if the cursor tries to leave the frameset at its beginning.
Returns true if the frameset was inline, and we did exit into another frameset.
Definition at line 44 of file KWFrameSetEdit.cpp.
bool KWFrameSetEdit::exitRight | ( | ) |
Called if the cursor tries to leave the frameset at its end.
Returns true if the frameset was inline, and we did exit into another frameset.
Definition at line 57 of file KWFrameSetEdit.cpp.
Member Data Documentation
KWFrame* KWFrameSetEdit::m_currentFrame [protected] |
The Frameset-Edit implementation is responsible for updating that one (to the frame where the current "cursor" is).
Definition at line 117 of file KWFrameSetEdit.h.
The documentation for this class was generated from the following files: