HTMLClue Class Reference

[khtmlw Index] [khtmlw Hierarchy] [Headers]


#include <htmlclue.h>

Inherits: HTMLObject

Public Members

Protected Members


HTMLClue( int _x, int _y, int _max_width, int _percent = 100) [public]

This class is abstract. Do not instantiate it. The _y argument is always 0 yet. _max_width defines the width you allow this Box to have. If you do not use HCenter or Right and if this Box becomes a child of a VBox you may set _x to give this Box a shift to the right.

if: _percent == -ve width = best fit _percent == 0 width = _max_width (fixed) _percent == +ve width = _percent * 100 / _max_width

void print( QPainter *_painter, HTMLObject *_obj, int _x, int _y, int _width, int _height, int _tx, int _ty ) [public virtual]

This function is for example used to redraw an image that had to be loaded from the world wide wait.

void calcSize( HTMLClue *parent = 0L ) [public virtual]

Calls all children and tells them to calculate their size.

void append( HTMLObject *_object ) [public]

Make an object a child of this Box.


Documentation generated by root@darkstar.lst.de on Wed Sep 8 17:38:46 CEST 1999
Kdoc