HTMLClue Class Reference
[khtmlw Index] [khtmlw Hierarchy]
[Headers]
#include <htmlclue.h>
Inherits: HTMLObject
Public Members
- HTMLClue ( int _x, int _y, int _max_width, int _percent = 100)
- virtual ~HTMLClue ()
- virtual int findPageBreak ( int _y )
- virtual bool print ( QPainter *_painter, int _x, int _y, int _width, int _height, int _tx, int _ty, bool toPrinter )
- virtual void print ( QPainter *_p, HTMLChain *, int _x, int _h, int _w, int _h2, int _tx, int _ty)
- virtual void print ( QPainter *_painter, HTMLObject *_obj, int _x, int _y, int _width, int _height, int _tx, int _ty )
- virtual void print ( QPainter *, int _tx, int _ty )
- virtual void calcSize ( HTMLClue *parent = 0L )
- virtual void recalcBaseSize ( QPainter * )
- virtual int calcMinWidth ()
- virtual int calcPreferredWidth ()
- virtual void setMaxAscent ( int )
- virtual void setMaxDescent ( int )
- virtual HTMLObject* checkPoint ( int, int )
- virtual HTMLObject* mouseEvent ( int, int, int, int )
- virtual void selectByURL ( KHTMLWidget *, HTMLChain *,const char *,bool, int _tx, int _ty )
- virtual void select ( KHTMLWidget *, HTMLChain *, QRegExp& _pattern, bool _select, int _tx, int _ty )
- virtual void select ( KHTMLWidget *, HTMLChain *, bool, int _tx, int _ty )
- virtual void select ( KHTMLWidget *, HTMLChain *, QRect &_rect, int _tx, int _ty )
- virtual void select ( bool )
- virtual void getSelected ( QStrList & )
- virtual bool selectText ( KHTMLWidget *_htmlw, HTMLChain *_chain, int _x1, int _y1, int _x2, int _y2, int _tx, int _ty )
- virtual void getSelectedText ( QString & )
- virtual void calcAbsolutePos ( int _x, int _y )
- virtual bool getObjectPosition ( const HTMLObject *objp, int &xp, int &yp )
- virtual void setIndent ( int )
- virtual void reset ()
- virtual ObjectType getObjectType () const
- bool hasChildren () const
- HTMLObject* children ()
- HTMLObject* lastChild ()
- void append ( HTMLObject *_object )
- virtual void findFreeArea ( int _y, int, int, int, int *_y_pos, int *_lmargin, int *_rmargin)
- virtual void appendLeftAligned ( HTMLClueAligned * )
- virtual void appendRightAligned ( HTMLClueAligned * )
- virtual int appended (HTMLClueAligned * )
- virtual void removeAlignedByParent ( HTMLObject * )
- virtual int getLeftMargin ( int )
- virtual int getRightMargin ( int )
- virtual int getLeftClear ( int _y )
- virtual int getRightClear ( int _y )
- void setVAlign ( VAlign _v )
- void setHAlign ( HAlign _h )
- VAlign getVAlign ()
- HAlign getHAlign ()
- virtual HTMLAnchor* findAnchor ( const char *_name, QPoint *_p )
- virtual void findCells ( int _tx, int _ty, QList<HTMLCellInfo> &_list )
- virtual HTMLIterator* getIterator ()
- virtual void setBgColor ( QColor c )
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.
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
|