|
|
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 |
Move the view towards the next link and draw a cursor around it
| bool gotoPrevLink ()
| gotoPrevLink |
Move the view towards the next link and draw a cursor around it
| void toggleActLink (bool)
| toggleActLink |
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]
Reimplemented from QScrollView.
| void setHScrollBarMode ( ScrollBarMode mode )
| setHScrollBarMode |
[virtual]
Reimplemented from QScrollView.
| void print ()
|
Print the HTML document.
| void layout (bool force = false)
| layout |
| const QList<KHTMLView> * viewList ()
| viewList |
[static]
| void cleared ()
| cleared |
[signal]
| void clear ()
| clear |
[protected: ]
| void paintElement ( khtml::RenderObject *o, int x, int y )
| paintElement |
[protected: ]
| void resizeEvent ( QResizeEvent * event )
| resizeEvent |
[protected: virtual]
Reimplemented from QScrollView.
| bool focusNextPrevChild ( bool next )
| focusNextPrevChild |
[protected: virtual]
Reimplemented from QScrollView.
| void drawContents ( QPainter * p, int clipx, int clipy, int clipw, int cliph )
| drawContents |
[protected: virtual]
Reimplemented from QScrollView.
| void viewportMousePressEvent ( QMouseEvent * )
| viewportMousePressEvent |
[protected: virtual]
Reimplemented from QScrollView.
| void viewportMouseDoubleClickEvent ( QMouseEvent * )
| viewportMouseDoubleClickEvent |
[protected: virtual]
This function emits the doubleClick() signal when the user double clicks a <a href=...> tag.
Reimplemented from QScrollView.
| void viewportMouseMoveEvent (QMouseEvent *)
| viewportMouseMoveEvent |
[protected: virtual]
This function is called when the user moves the mouse.
Reimplemented from QScrollView.
| void viewportMouseReleaseEvent (QMouseEvent *)
| viewportMouseReleaseEvent |
[protected: virtual]
this function is called when the user releases a mouse button.
Reimplemented from QScrollView.
| void keyPressEvent ( QKeyEvent *_ke )
| keyPressEvent |
[protected: ]
| void keyReleaseEvent ( QKeyEvent *_ke )
| keyReleaseEvent |
[protected: ]
| void doAutoScroll ()
| doAutoScroll |
[protected: ]
Scroll the view
| Generated by: dfaure on Tue Feb 27 12:47:29 2001, using kdoc 2.0a50. |