lib
KoStylePreview Class Reference
#include <KoParagDia.h>
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 | ) |
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: