|
|
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 )
| KHTMLView |
Construct a KHTMLView.
~KHTMLView ()
| ~KHTMLView |
[virtual]
KHTMLPart * part ()
| part |
[const]
Retrieve a pointer to the KHTMLPart that is rendering the page.
int frameWidth ()
| frameWidth |
[const]
bool gotoNextLink ()
| gotoNextLink |
BCI: This function is provided for compatibility reasons only and will be removed in KDE3.0. use sendEvent(view, Key_Tab) instead. Move the view towards the next link and draw a cursor around it
bool gotoPrevLink ()
| gotoPrevLink |
BCI: This function is provided for compatibility reasons only and will be removed in KDE3.0 use sendEvent(view, Key_BackTab) instead. Move the view towards the next link and draw a cursor around it
void toggleActLink (bool)
| toggleActLink |
BCI: This function is provided for compatibility reasons only and will be removed in KDE3.0 use sendEvent(view, Key_Return) instead. visualize that the item under the cursor has been pressed (true) or released(false)
void setMarginWidth (int x)
| setMarginWidth |
Set a margin in x direction.
int marginWidth ()
| marginWidth |
[const]
Retrieve the margin width.
A return value of -1 means the default value will be used.
void setMarginHeight (int y)
| setMarginHeight |
int marginHeight ()
| marginHeight |
void setVScrollBarMode ( ScrollBarMode mode )
| setVScrollBarMode |
[virtual]
void setHScrollBarMode ( ScrollBarMode mode )
| setHScrollBarMode |
[virtual]
void print ()
|
Print the HTML document.
void paint (QPainter *p, const QRect &rc, int yOff = 0, bool *more = 0)
| paint |
Paint the HTML document to a QPainter. The document will be scaled to match the width of rc and clipped to fit in the height. yOff determines the vertical offset in the document to start with. more, if nonzero will be set to true if the documents extends beyond the rc or false if everything below yOff was painted.
void layout (bool force = false)
| layout |
const QList<KHTMLView> * viewList ()
| viewList |
[static]
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 viewportMousePressEvent ( QMouseEvent * )
| viewportMousePressEvent |
[protected virtual]
void focusOutEvent ( QFocusEvent * )
| focusOutEvent |
[protected virtual]
void viewportMouseDoubleClickEvent ( QMouseEvent * )
| viewportMouseDoubleClickEvent |
[protected virtual]
This function emits the doubleClick() signal when the user double clicks a tag.
void viewportMouseMoveEvent (QMouseEvent *)
| viewportMouseMoveEvent |
[protected virtual]
This function is called when the user moves the mouse.
void viewportMouseReleaseEvent (QMouseEvent *)
| viewportMouseReleaseEvent |
[protected virtual]
this function is called when the user releases a mouse button.
void viewportWheelEvent (QWheelEvent*)
| viewportWheelEvent |
[protected virtual]
void keyPressEvent ( QKeyEvent *_ke )
| keyPressEvent |
[protected]
void keyReleaseEvent ( QKeyEvent *_ke )
| keyReleaseEvent |
[protected]
void doAutoScroll ()
| doAutoScroll |
[protected]
Scroll the view
void slotPaletteChanged ()
| slotPaletteChanged |
[protected slots slot]
Generated by: root on emperor on Tue Oct 9 11:41:42 2001, using kdoc 2.0a53. |