lib Library API Documentation

KoStylePreview Class Reference

KoStylePreview. More...

#include <koParagDia.h>

Inheritance diagram for KoStylePreview:

Inheritance graph
[legend]
Collaboration diagram for KoStylePreview:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Protected Member Functions

void drawContents (QPainter *painter)

Protected Attributes

KoTextDocument * m_textdoc
KoZoomHandlerm_zoomHandler

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 408 of file koParagDia.h.


Member Function Documentation

void KoStylePreview::setStyle KoStyle style  ) 
 

Apply the given style to the preview.

Note that this overwrites anything done by setCounter.

Definition at line 755 of file koParagDia.cc.

void KoStylePreview::setCounter const KoParagCounter counter  ) 
 

Set the given counter to the preview.

Definition at line 748 of file koParagDia.cc.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Mar 11 11:49:57 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003