PreformatRenderer

The PreformatRenderer class displays content by preserving all white-space and line breaks. More...

Publicly inherits TextRenderer.

Public Methods

PreformatRenderer( Canvas* canvas, SgmlParser* parser, int clipWidth=???, QObject* parent=???, const char* name=??? );
virtual boolredraw( );

Public Slots

virtual voidcontent( QString text );

Private Data Members

int_column;

Detailed Documentation

The PreformatRenderer class displays content by preserving all white-space and line breaks.

As content comes in, it is broken up into separate lines. When redraw()ing, each line is repositioned.

Public Methods Documentation

PreformatRenderer ( Canvas* canvas, SgmlParser* parser, int clipWidth=???, QObject* parent=???, const char* name=??? );

Create a PreformatRenderer.

virtual bool redraw ( );

Reposition each of the Inline elements. Line breaks only occur on newline characters.

Public Slots Documentation

virtual void content ( QString text );

Break content up into sinlge lines, preserving all white-space.


Return to Index.
Automatically generated on Aug 11 23:32