org.kde.koala

Class KHTMLView

public class KHTMLView extends QScrollView

Renders and displays HTML in a QScrollView. Suitable for use as an application's main view. See KHTMLViewSignals for signals emitted by KHTMLView

UNKNOWN: Renders and displays HTML in a QScrollView.

Constructor Summary
protected KHTMLView(Class dummy)
KHTMLView(KHTMLPart part, QWidget parent, String name)
Constructs a KHTMLView.
KHTMLView(KHTMLPart part, QWidget parent)
Method Summary
StringclassName()
protected voidclear()
protected voidcloseEvent(QCloseEvent arg1)
protected voidcontentsContextMenuEvent(QContextMenuEvent _ce)
voiddisplayAccessKeys()
Display all accesskeys in small tooltips
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voiddoAutoScroll()
protected voiddragEnterEvent(QDragEnterEvent arg1)
protected voiddrawContents(QPainter p, int clipx, int clipy, int clipw, int cliph)
protected voiddrawContents(QPainter arg1)
protected voiddropEvent(QDropEvent arg1)
booleaneventFilter(QObject arg1, QEvent arg2)
protected voidfinalize()
Deletes the wrapped C++ instance
protected voidfocusInEvent(QFocusEvent arg1)
protected booleanfocusNextPrevChild(boolean next)
protected voidfocusOutEvent(QFocusEvent arg1)
intframeWidth()
protected voidhideEvent(QHideEvent arg1)
booleanisDisposed()
Has the wrapped C++ instance been deleted?
protected voidkeyPressEvent(QKeyEvent _ke)
protected voidkeyReleaseEvent(QKeyEvent _ke)
intmarginHeight()
Returns the margin height.
intmarginWidth()
Returns the margin width.
QMetaObjectmetaObject()
KHTMLPartpart()
Returns a pointer to the KHTMLPart that is rendering the page.
voidprint()
Prints the HTML document.
voidprint(boolean quick)
Prints the HTML document.
protected voidresizeEvent(QResizeEvent event)
voidsetHScrollBarMode(int mode)
Sets horizontal scrollbar mode.
voidsetMarginHeight(int y)
voidsetMarginWidth(int x)
Sets a margin in x direction.
voidsetVScrollBarMode(int mode)
Sets verticals scrollbar mode.
voidshowEvent(QShowEvent arg1)
protected voidslotPaletteChanged()
protected voidslotScrollBarMoved()
protected voidtimerEvent(QTimerEvent arg1)
voidupdateLayout()
ensure the display is up to date
protected voidviewportMouseDoubleClickEvent(QMouseEvent arg1)
protected voidviewportMouseMoveEvent(QMouseEvent arg1)
protected voidviewportMousePressEvent(QMouseEvent arg1)
protected voidviewportMouseReleaseEvent(QMouseEvent arg1)
protected voidviewportResizeEvent(QResizeEvent arg1)
protected voidviewportWheelEvent(QWheelEvent arg1)

Constructor Detail

KHTMLView

protected KHTMLView(Class dummy)

KHTMLView

public KHTMLView(KHTMLPart part, QWidget parent, String name)
Constructs a KHTMLView.

UNKNOWN: Constructs a KHTMLView.

KHTMLView

public KHTMLView(KHTMLPart part, QWidget parent)

Method Detail

className

public String className()

clear

protected void clear()

closeEvent

protected void closeEvent(QCloseEvent arg1)

contentsContextMenuEvent

protected void contentsContextMenuEvent(QContextMenuEvent _ce)

displayAccessKeys

public void displayAccessKeys()
Display all accesskeys in small tooltips

UNKNOWN: Display all accesskeys in small tooltips

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

doAutoScroll

protected void doAutoScroll()

dragEnterEvent

protected void dragEnterEvent(QDragEnterEvent arg1)

drawContents

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

drawContents

protected void drawContents(QPainter arg1)

dropEvent

protected void dropEvent(QDropEvent arg1)

eventFilter

public boolean eventFilter(QObject arg1, QEvent arg2)

finalize

protected void finalize()
Deletes the wrapped C++ instance

focusInEvent

protected void focusInEvent(QFocusEvent arg1)

focusNextPrevChild

protected boolean focusNextPrevChild(boolean next)

focusOutEvent

protected void focusOutEvent(QFocusEvent arg1)

frameWidth

public int frameWidth()

hideEvent

protected void hideEvent(QHideEvent arg1)

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

keyPressEvent

protected void keyPressEvent(QKeyEvent _ke)

keyReleaseEvent

protected void keyReleaseEvent(QKeyEvent _ke)

marginHeight

public int marginHeight()
Returns the margin height. A return value of -1 means the default value will be used.

UNKNOWN: Returns the margin height.

marginWidth

public int marginWidth()
Returns the margin width. A return value of -1 means the default value will be used.

UNKNOWN: Returns the margin width.

metaObject

public QMetaObject metaObject()

part

public KHTMLPart part()
Returns a pointer to the KHTMLPart that is rendering the page.

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

print

public void print()
Prints the HTML document.

UNKNOWN: Prints the HTML document.

print

public void print(boolean quick)
Prints the HTML document.

Parameters: quick if true, fully automated printing, without print dialog

UNKNOWN: Prints the HTML document.

resizeEvent

protected void resizeEvent(QResizeEvent event)

setHScrollBarMode

public void setHScrollBarMode(int mode)
Sets horizontal scrollbar mode. Reimplemented for internal reasons.

UNKNOWN: Sets horizontal scrollbar mode.

setMarginHeight

public void setMarginHeight(int y)

setMarginWidth

public void setMarginWidth(int x)
Sets a margin in x direction.

UNKNOWN: Sets a margin in x direction.

setVScrollBarMode

public void setVScrollBarMode(int mode)
Sets verticals scrollbar mode. Reimplemented for internal reasons.

UNKNOWN: Sets verticals scrollbar mode.

showEvent

public void showEvent(QShowEvent arg1)

slotPaletteChanged

protected void slotPaletteChanged()

slotScrollBarMoved

protected void slotScrollBarMoved()

timerEvent

protected void timerEvent(QTimerEvent arg1)

updateLayout

public void updateLayout()
ensure the display is up to date

UNKNOWN: ensure the display is up to date

viewportMouseDoubleClickEvent

protected void viewportMouseDoubleClickEvent(QMouseEvent arg1)

viewportMouseMoveEvent

protected void viewportMouseMoveEvent(QMouseEvent arg1)

viewportMousePressEvent

protected void viewportMousePressEvent(QMouseEvent arg1)

viewportMouseReleaseEvent

protected void viewportMouseReleaseEvent(QMouseEvent arg1)

viewportResizeEvent

protected void viewportResizeEvent(QResizeEvent arg1)

viewportWheelEvent

protected void viewportWheelEvent(QWheelEvent arg1)