#include <KWFrameView.h>
Public Member Functions | |
| FramePolicy (KWFrameView *view) | |
| virtual MouseMeaning | mouseMeaning (const KoPoint &point, int keyState)=0 |
| virtual TQPopupMenu * | createPopup (const KoPoint &point, KWView *view)=0 |
| virtual void | setSelected (MouseMeaning) |
Protected Member Functions | |
| virtual MouseMeaning | mouseMeaningOnBorder (const KoPoint &point, int keyState) |
| void | addFloatingAction (KWView *view, TQPtrList< TDEAction > &actionList) |
Protected Attributes | |
| KWFrameView * | m_view |
| TDEActionSeparator * | m_separator |
Friends | |
| class | KWFrameView |
Detailed Description
This base class is an interface for Policies used in the KWFrameView.
Definition at line 36 of file KWFrameView.h.
Constructor & Destructor Documentation
◆ FramePolicy()
| FramePolicy::FramePolicy | ( | KWFrameView * | view | ) |
Constructor.
Definition at line 177 of file KWFrameView.cpp.
Member Function Documentation
◆ addFloatingAction()
|
protected |
Shared method for all policies to add the 'set floating' action to a popup menu.
- Parameters
-
view the parent view widget actionList the list of actions where the floating action should be added to
Definition at line 181 of file KWFrameView.cpp.
◆ createPopup()
|
pure virtual |
Return a fully initialized popup for the context of frame at point.
- Parameters
-
point the point where the mouse is hovering. view the parent view widget
Implemented in TableFramePolicy, PartFramePolicy, TextFramePolicy, and ImageFramePolicy.
◆ mouseMeaning()
|
pure virtual |
Return the MouseMeaning enum value for the parent view.
- Parameters
-
point the point where the mouse is hovering. keyState the bitmask of keys that are pressed. Same as Event::state();
Implemented in TableFramePolicy, PartFramePolicy, TextFramePolicy, and ImageFramePolicy.
◆ mouseMeaningOnBorder()
|
protectedvirtual |
Shared method for all policies called when the border of the frame is clicked.
- Parameters
-
point the point where the mouse is hovering. keyState the bitmask of keys that are pressed. Same as Event::state();
Reimplemented in TableFramePolicy.
Definition at line 193 of file KWFrameView.cpp.
◆ setSelected()
|
inlinevirtual |
Override this method to do more than select the parent frame-view.
Reimplemented in TableFramePolicy.
Definition at line 55 of file KWFrameView.h.
Friends And Related Symbol Documentation
◆ KWFrameView
|
friend |
Definition at line 74 of file KWFrameView.h.
Member Data Documentation
◆ m_separator
|
protected |
Definition at line 72 of file KWFrameView.h.
◆ m_view
|
protected |
Definition at line 71 of file KWFrameView.h.
The documentation for this class was generated from the following files:
