class KHTMLView

QScrollView. More...

Definition#include <khtmlview.h>
InheritsQScrollView
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Public Static Methods

Protected Methods


Detailed Description

Render and display HTML in a QScrollView.

Suitable for use as an application's main view.

 KHTMLView ( KHTMLPart *part, QWidget *parent, const char *name=0 )

Construct a KHTMLView.

KHTMLView ()

[virtual]

KHTMLPartpart ()

[const]

Retrieve a pointer to the KHTMLPart that is rendering the page.

int  frameWidth ()

[const]

bool  gotoNextLink ()

Move the view towards the next link and draw a cursor around it

bool  gotoPrevLink ()

Move the view towards the next link and draw a cursor around it

void  toggleActLink (bool)

visualize that the item under the cursor has been pressed (true) or released(false)

void  setMarginWidth (int x)

Set a margin in x direction.

int  marginWidth ()

[const]

Retrieve the margin width.

A return value of -1 means the default value will be used.

void  setMarginHeight (int y)

int  marginHeight ()

void  setVScrollBarMode ( ScrollBarMode mode )

[virtual]

void  setHScrollBarMode ( ScrollBarMode mode )

[virtual]

void  print ()

Print the HTML document.

void  layout (bool force = false)

const QList<KHTMLView> * viewList ()

[static]

void  cleared ()

[signal]

void  clear ()

[protected]

void  paintElement ( khtml::RenderObject *o, int x, int y )

[protected]

void  resizeEvent ( QResizeEvent * event )

[protected virtual]

bool  focusNextPrevChild ( bool next )

[protected virtual]

void  drawContents ( QPainter * p, int clipx, int clipy, int clipw, int cliph )

[protected virtual]

void  viewportMousePressEvent ( QMouseEvent * )

[protected virtual]

void  viewportMouseDoubleClickEvent ( QMouseEvent * )

[protected virtual]

This function emits the doubleClick() signal when the user double clicks a <a href=...> tag.

void  viewportMouseMoveEvent (QMouseEvent *)

[protected virtual]

This function is called when the user moves the mouse.

void  viewportMouseReleaseEvent (QMouseEvent *)

[protected virtual]

this function is called when the user releases a mouse button.

void  keyPressEvent ( QKeyEvent *_ke )

[protected]

void  keyReleaseEvent ( QKeyEvent *_ke )

[protected]

void  doAutoScroll ()

[protected]

Scroll the view


Generated by: baudens@ke.mandrakesoft.com on Thu Oct 26 17:36:50 2000, using kdoc 2.0a40.