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

Detailed Description
The 'normal' view mode (pages below one another).
Definition at line 155 of file KWViewMode.h.
Public Member Functions | |
| KWViewModeNormal (KWDocument *doc, KWCanvas *canvas, bool drawFrameBorders) | |
| virtual | ~KWViewModeNormal () |
| virtual QPoint | normalToView (const QPoint &nPoint) |
| virtual QPoint | viewToNormal (const QPoint &vPoint) |
| virtual QRect | viewPageRect (int pgNum) |
| virtual QSize | contentsSize () |
| virtual const QString | type () const |
| virtual void | drawPageBorders (QPainter *painter, const QRect &crect, const QRegion &emptySpaceRegion) |
Protected Member Functions | |
| virtual int | xOffset (KWPage *page, int canvasWidth=-1) |
Member Function Documentation
| QPoint KWViewModeNormal::normalToView | ( | const QPoint & | nPoint | ) | [virtual] |
| QPoint KWViewModeNormal::viewToNormal | ( | const QPoint & | vPoint | ) | [virtual] |
| QRect KWViewModeNormal::viewPageRect | ( | int | pgNum | ) | [virtual] |
Return view coord for page rect.
Avoids rounding problems when doing normalToView(zoomedRect)
Implements KWViewMode.
Definition at line 189 of file KWViewMode.cpp.
| QSize KWViewModeNormal::contentsSize | ( | ) | [virtual] |
Size of the contents area, in pixels.
Implements KWViewMode.
Definition at line 183 of file KWViewMode.cpp.
| virtual const QString KWViewModeNormal::type | ( | ) | const [inline, virtual] |
Return the name of the viewmode, used for loading/saving.
Implements KWViewMode.
Definition at line 167 of file KWViewMode.h.
The documentation for this class was generated from the following files:

