lib

KoStylePreview Class Reference

#include <KoParagDia.h>

Inherits QGroupBox.

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)
void setStyle (KoParagStyle *style)
void setCounter (const KoParagCounter &counter)

Protected Member Functions

void drawContents (QPainter *painter)

Protected Attributes

KoTextDocument * m_textdoc
KoTextZoomHandlerm_zoomHandler

Member Function Documentation

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.

void KoStylePreview::setCounter ( const KoParagCounter counter  ) 

Set the given counter to the preview.

Definition at line 809 of file KoParagDia.cpp.


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