class KHTMLView

QScrollView. More...

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

Public Methods

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 ()

Implements keyboard traversal.

Sets the view's position so that the actual link is visible.

bool  gotoPrevLink ()

Implements keyboard traversal.

Sets the view's position so that the actual link is visible.

void  toggleActLink (bool)

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  print ()

Print the HTML document.

void  layout (bool force = false)

const QList<KHTMLView> * viewList ()

[static]

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: prospector@porky.devel.redhat.com on Thu Aug 24 05:36:21 2000, using kdoc 2.0a36.