lib
KoStylePreview Class Reference
#include <KoParagDia.h>
Inherits QGroupBox.
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 |
KoTextZoomHandler * | m_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 | ) |
The documentation for this class was generated from the following files: