lib

KoStylePreview Class Reference

#include <KoParagDia.h>

List of all members.


Detailed Description

KoStylePreview.

Previewing text with style :) Used in the parag bullet/number tab of the parag dia, and in the main tab of the stylist.

Definition at line 460 of file KoParagDia.h.


Public Member Functions

 KoStylePreview (const QString &title, const QString &text, QWidget *parent, const char *name=0)
virtual ~KoStylePreview ()
void setStyle (KoParagStyle *style)
void setCounter (const KoParagCounter &counter)

Protected Member Functions

void drawContents (QPainter *painter)

Protected Attributes

KoTextDocument * m_textdoc
KoTextZoomHandler * m_zoomHandler

Member Function Documentation

void KoStylePreview::setCounter ( const KoParagCounter &  counter  ) 

Set the given counter to the preview.

Definition at line 809 of file KoParagDia.cpp.

void KoStylePreview::setStyle ( KoParagStyle *  style  ) 

Apply the given style to the preview.

Note that this overwrites anything done by setCounter.

Definition at line 816 of file KoParagDia.cpp.


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