kword
KWFrameView Class Reference
#include <KWFrameView.h>
Detailed Description
an instance of a KWFrameView represents the view in the MVC model of a frame; there can be multiple KWFrameView objects per frame.Typically there is one per view (KWView). This class registers selectedness and has methods to show the frame and its interaction methods
Definition at line 82 of file KWFrameView.h.
Public Member Functions | |
KWFrameView (KWFrameViewManager *parent, KWFrame *frame) | |
virtual | ~KWFrameView () |
bool | selected () const |
void | setSelected (bool selected, MouseMeaning selectPolicy=MEANING_MOUSE_SELECT) |
KWFrame * | frame () const |
bool | isBorderHit (const KoPoint &point) const |
bool | contains (const KoPoint &point, bool fuzzy=true) const |
MouseMeaning | mouseMeaning (const KoPoint &point, int keyState) |
KWFrameViewManager * | parent () const |
void | showPopup (const KoPoint &point, KWView *view, const QPoint &popupPoint) const |
void | paintFrameAttributes (QPainter *painter, const QRect &crect, KWViewMode *vm, KoZoomHandler *zh) |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 42 of file KWFrameView.cpp. |
Member Function Documentation
|
returns if the
Definition at line 70 of file KWFrameView.cpp. |
|
returns the frame this frameView represents
Definition at line 103 of file KWFrameView.h. |
|
returns if the
Definition at line 66 of file KWFrameView.cpp. |
|
Return the MouseMeaning enum value for the parent view.
Definition at line 102 of file KWFrameView.cpp. |
|
Paint view based items of the frameView, like selected state.
Definition at line 131 of file KWFrameView.cpp. |
|
Return the parent KWFrameViewManager this frameView belongs to.
Definition at line 118 of file KWFrameView.h. |
|
returns if this frameView is selected. A selected frame is shown differently on screen.
Definition at line 93 of file KWFrameView.h. |
|
Set the selected state of this frameView.
Definition at line 116 of file KWFrameView.cpp. |
|
Show a context-sensitive popup menu based on the location of 'point'.
Definition at line 123 of file KWFrameView.cpp. |
The documentation for this class was generated from the following files: