KoStylePreview Class Reference
#include <KoParagDia.h>
Inherits TQGroupBox.
Public Member Functions | |
| KoStylePreview (const TQString &title, const TQString &text, TQWidget *parent, const char *name=0) | |
| void | setStyle (KoParagStyle *style) |
| void | setCounter (const KoParagCounter &counter) |
Protected Member Functions | |
| void | drawContents (TQPainter *painter) |
Protected Attributes | |
| KoTextDocument * | m_textdoc |
| KoTextZoomHandler * | m_zoomHandler |
Detailed Description
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 468 of file KoParagDia.h.
Constructor & Destructor Documentation
◆ KoStylePreview()
| KoStylePreview::KoStylePreview | ( | const TQString & | title, |
| const TQString & | text, | ||
| TQWidget * | parent, | ||
| const char * | name = 0 |
||
| ) |
Definition at line 789 of file KoParagDia.cpp.
◆ ~KoStylePreview()
|
virtual |
Definition at line 803 of file KoParagDia.cpp.
Member Function Documentation
◆ drawContents()
|
protected |
Definition at line 823 of file KoParagDia.cpp.
◆ setCounter()
| void KoStylePreview::setCounter | ( | const KoParagCounter & | counter | ) |
Set the given counter to the preview.
Definition at line 809 of file KoParagDia.cpp.
◆ setStyle()
| 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.
Member Data Documentation
◆ m_textdoc
|
protected |
Definition at line 487 of file KoParagDia.h.
◆ m_zoomHandler
|
protected |
Definition at line 488 of file KoParagDia.h.
The documentation for this class was generated from the following files:
