class KHTMLView

# class KHTMLView | Renders and displays HTML in a QScrollView. More...
Definition | `#include <khtmlview.h>`
Inherits | QScrollView (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KHTMLView ( KHTMLPart *part, QWidget *parent, const char *name=0 )
- virtual ~KHTMLView ()
- KHTMLPart * part () const
- int frameWidth () const
- void setMarginWidth (int x)
- int marginWidth () const
- void setMarginHeight (int y)
- int marginHeight ()
- virtual void setVScrollBarMode ( ScrollBarMode mode )
- virtual void setHScrollBarMode ( ScrollBarMode mode )
- void print ()
- void layout ()

#### Signals

- void cleared ()
- void zoomView ( int )

#### Protected Methods

- void clear ()
- virtual void resizeEvent ( QResizeEvent * event )
- virtual void showEvent ( QShowEvent * )
- virtual void hideEvent ( QHideEvent *)
- virtual bool focusNextPrevChild ( bool next )
- virtual void drawContents ( QPainter * p, int clipx, int clipy, int clipw, int cliph )
- virtual void drawContents ( QPainter* )
- virtual void viewportMousePressEvent ( QMouseEvent * )
- virtual void focusOutEvent ( QFocusEvent * )
- virtual void viewportMouseDoubleClickEvent ( QMouseEvent * )
- virtual void viewportMouseMoveEvent (QMouseEvent *)
- virtual void viewportMouseReleaseEvent (QMouseEvent *)
- virtual void viewportResizeEvent (QResizeEvent*)
- virtual void viewportWheelEvent (QWheelEvent*)
- virtual void dragEnterEvent ( QDragEnterEvent* )
- virtual void dropEvent ( QDropEvent* )
- virtual void closeEvent ( QCloseEvent * )
- void keyPressEvent ( QKeyEvent *_ke )
- void keyReleaseEvent ( QKeyEvent *_ke )
- void contentsContextMenuEvent ( QContextMenuEvent *_ce )
- void doAutoScroll ()
- void timerEvent ( QTimerEvent * )

#### Protected Slots

- void slotPaletteChanged ()
- void slotScrollBarMoved ()

## 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]

KHTMLPart * part () | ### 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.

Reimplemented from QScrollView.

void setHScrollBarMode ( ScrollBarMode mode ) | ### setHScrollBarMode

[virtual]

Sets horizontal scrollbar mode. Reimplemented for internal reasons.

Reimplemented from QScrollView.

void print () | ### print

Prints the HTML document.

void layout () | ### layout

ensure the display is up to date

void cleared () | ### cleared

[signal]

void zoomView ( int ) | ### zoomView

[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 viewportResizeEvent (QResizeEvent*) | ### viewportResizeEvent

[protected virtual]

Reimplemented from QScrollView.

void viewportWheelEvent (QWheelEvent*) | ### viewportWheelEvent

[protected virtual]

void dragEnterEvent ( QDragEnterEvent* ) | ### dragEnterEvent

[protected virtual]

void dropEvent ( QDropEvent* ) | ### dropEvent

[protected virtual]

void closeEvent ( QCloseEvent * ) | ### closeEvent

[protected virtual]

void keyPressEvent ( QKeyEvent *_ke ) | ### keyPressEvent

[protected]

void keyReleaseEvent ( QKeyEvent *_ke ) | ### keyReleaseEvent

[protected]

void contentsContextMenuEvent ( QContextMenuEvent *_ce ) | ### contentsContextMenuEvent

[protected]

Reimplemented from QScrollView.

void doAutoScroll () | ### doAutoScroll

[protected]

void timerEvent ( QTimerEvent * ) | ### timerEvent

[protected]

void slotPaletteChanged () | ### slotPaletteChanged

[protected slots slot]

void slotScrollBarMoved () | ### slotScrollBarMoved

[protected slots slot]

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:43 2003, using kdoc 2.0a54.