class KHTMLView

Renders and displays HTML in a QScrollView. More...

Definition#include <khtmlview.h>
InheritsQScrollView (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Methods

Protected Slots


Detailed Description

Renders and displays HTML in a QScrollView.

Suitable for use as an application's main view.

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

KHTMLView

Constructs a KHTMLView.

 ~KHTMLView ()

~KHTMLView

[virtual]

KHTMLPartpart ()

part

[const]

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

int  frameWidth ()

frameWidth

[const]

void  setMarginWidth (int x)

setMarginWidth

Sets a margin in x direction.

int  marginWidth ()

marginWidth

[const]

Returns the margin width.

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

void  setMarginHeight (int y)

setMarginHeight

int  marginHeight ()

marginHeight

Returns the margin height.

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

void  setVScrollBarMode ( ScrollBarMode mode )

setVScrollBarMode

[virtual]

Sets verticals scrollbar mode. Reimplemented for internal reasons.

void  setHScrollBarMode ( ScrollBarMode mode )

setHScrollBarMode

[virtual]

Sets horizontal scrollbar mode. Reimplemented for internal reasons.

void  print ()

print

Prints the HTML document.

void  layout ()

layout

ensure the display is up to date

void  cleared ()

cleared

[signal]

void  clear ()

clear

[protected]

void  resizeEvent ( QResizeEvent * event )

resizeEvent

[protected virtual]

void  showEvent ( QShowEvent * )

showEvent

[protected virtual]

void  hideEvent ( QHideEvent *)

hideEvent

[protected virtual]

bool  focusNextPrevChild ( bool next )

focusNextPrevChild

[protected virtual]

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

drawContents

[protected virtual]

void  drawContents ( QPainter* )

drawContents

[protected virtual]

void  viewportMousePressEvent ( QMouseEvent * )

viewportMousePressEvent

[protected virtual]

void  focusOutEvent ( QFocusEvent * )

focusOutEvent

[protected virtual]

void  viewportMouseDoubleClickEvent ( QMouseEvent * )

viewportMouseDoubleClickEvent

[protected virtual]

void  viewportMouseMoveEvent (QMouseEvent *)

viewportMouseMoveEvent

[protected virtual]

void  viewportMouseReleaseEvent (QMouseEvent *)

viewportMouseReleaseEvent

[protected virtual]

void  viewportWheelEvent (QWheelEvent*)

viewportWheelEvent

[protected virtual]

void  dragEnterEvent ( QDragEnterEvent* )

dragEnterEvent

[protected virtual]

void  dropEvent ( QDropEvent* )

dropEvent

[protected virtual]

void  keyPressEvent ( QKeyEvent *_ke )

keyPressEvent

[protected]

void  keyReleaseEvent ( QKeyEvent *_ke )

keyReleaseEvent

[protected]

void  contentsContextMenuEvent ( QContextMenuEvent *_ce )

contentsContextMenuEvent

[protected]

void  doAutoScroll ()

doAutoScroll

[protected]

void  timerEvent ( QTimerEvent * )

timerEvent

[protected]

void  slotPaletteChanged ()

slotPaletteChanged

[protected slots slot]

void  slotScrollBarMoved ()

slotScrollBarMoved

[protected slots slot]


Generated by: dfaure on faure on Tue Apr 16 08:50:42 2002, using kdoc 2.0a53.