KWFrameView.h
137 void paintFrameAttributes(TQPainter *painter, const TQRect &crect, KWViewMode *vm, KoZoomHandler *zh);
This base class is an interface for Policies used in the KWFrameView.
Definition KWFrameView.h:36
virtual void setSelected(MouseMeaning)
Override this method to do more than select the parent frame-view.
Definition KWFrameView.h:55
void addFloatingAction(KWView *view, TQPtrList< TDEAction > &actionList)
Shared method for all policies to add the 'set floating' action to a popup menu.
Definition KWFrameView.cpp:181
virtual MouseMeaning mouseMeaning(const KoPoint &point, int keyState)=0
Return the MouseMeaning enum value for the parent view.
virtual MouseMeaning mouseMeaningOnBorder(const KoPoint &point, int keyState)
Shared method for all policies called when the border of the frame is clicked.
Definition KWFrameView.cpp:193
virtual TQPopupMenu * createPopup(const KoPoint &point, KWView *view)=0
Return a fully initialized popup for the context of frame at point.
MouseMeaning mouseMeaning(const KoPoint &point, int keyState)
Return the MouseMeaning enum value for the parent view.
Definition KWFrameView.cpp:460
TQPopupMenu * createPopup(const KoPoint &point, KWView *view)
Return a fully initialized popup for the context of frame at point.
Definition KWFrameView.cpp:465
Class that knows about all the (visible) frames in the document and will act as a manager between the...
Definition KWFrameViewManager.h:51
an instance of a KWFrameView represents the view in the MVC model of a frame; there can be multiple K...
Definition KWFrameView.h:82
bool isBorderHit(const KoPoint &point) const
returns if the point is on the border
Definition KWFrameView.cpp:66
void setSelected(bool selected, MouseMeaning selectPolicy=MEANING_MOUSE_SELECT)
Set the selected state of this frameView.
Definition KWFrameView.cpp:116
KWFrameViewManager * parent() const
Return the parent KWFrameViewManager this frameView belongs to.
Definition KWFrameView.h:118
bool contains(const KoPoint &point, bool fuzzy=true) const
returns if the point is anywhere in te frame, if fuzzy is true; also a little outside
Definition KWFrameView.cpp:70
bool selected() const
returns if this frameView is selected. A selected frame is shown differently on screen.
Definition KWFrameView.h:93
void paintFrameAttributes(TQPainter *painter, const TQRect &crect, KWViewMode *vm, KoZoomHandler *zh)
Paint view based items of the frameView, like selected state.
Definition KWFrameView.cpp:131
void showPopup(const KoPoint &point, KWView *view, const TQPoint &popupPoint) const
Show a context-sensitive popup menu based on the location of 'point'.
Definition KWFrameView.cpp:123
MouseMeaning mouseMeaning(const KoPoint &point, int keyState)
Return the MouseMeaning enum value for the parent view.
Definition KWFrameView.cpp:102
TQPopupMenu * createPopup(const KoPoint &point, KWView *view)
Return a fully initialized popup for the context of frame at point.
Definition KWFrameView.cpp:327
MouseMeaning mouseMeaning(const KoPoint &point, int keyState)
Return the MouseMeaning enum value for the parent view.
Definition KWFrameView.cpp:317
MouseMeaning mouseMeaning(const KoPoint &point, int keyState)
Return the MouseMeaning enum value for the parent view.
Definition KWFrameView.cpp:238
TQPopupMenu * createPopup(const KoPoint &point, KWView *view)
Return a fully initialized popup for the context of frame at point.
Definition KWFrameView.cpp:251
MouseMeaning mouseMeaningOnBorder(const KoPoint &point, int keyState)
Shared method for all policies called when the border of the frame is clicked.
Definition KWFrameView.cpp:257
void setSelected(MouseMeaning selectPolicy)
Override this method to do more than select the parent frame-view.
Definition KWFrameView.cpp:288
MouseMeaning mouseMeaning(const KoPoint &point, int keyState)
Return the MouseMeaning enum value for the parent view.
Definition KWFrameView.cpp:349
TQPopupMenu * createPopup(const KoPoint &point, KWView *view)
Return a fully initialized popup for the context of frame at point.
Definition KWFrameView.cpp:367
