kword

TableFramePolicy Class Reference

#include <KWFrameView.h>

Inheritance diagram for TableFramePolicy:

FramePolicy

List of all members.


Detailed Description

A policy for Table Frames.

Definition at line 156 of file KWFrameView.h.


Public Member Functions

 TableFramePolicy (KWFrameView *view)
MouseMeaning mouseMeaning (const KoPoint &point, int keyState)
QPopupMenu * createPopup (const KoPoint &point, KWView *view)
void setSelected (MouseMeaning selectPolicy)

Protected Member Functions

MouseMeaning mouseMeaningOnBorder (const KoPoint &point, int keyState)

Member Function Documentation

MouseMeaning TableFramePolicy::mouseMeaning ( const KoPoint &  point,
int  keyState 
) [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();

Implements FramePolicy.

Definition at line 238 of file KWFrameView.cpp.

QPopupMenu * TableFramePolicy::createPopup ( const KoPoint &  point,
KWView *  view 
) [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

Implements FramePolicy.

Definition at line 251 of file KWFrameView.cpp.

void TableFramePolicy::setSelected ( MouseMeaning   )  [virtual]

Override this method to do more than select the parent frame-view.

Reimplemented from FramePolicy.

Definition at line 288 of file KWFrameView.cpp.

MouseMeaning TableFramePolicy::mouseMeaningOnBorder ( const KoPoint &  point,
int  keyState 
) [protected, virtual]

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 from FramePolicy.

Definition at line 257 of file KWFrameView.cpp.


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