KHTMLView Class Reference
Renders and displays HTML in a QScrollView. More...
#include <khtmlview.h>
Inheritance diagram for KHTMLView:


Detailed Description
Renders and displays HTML in a QScrollView.Suitable for use as an application's main view.
Definition at line 77 of file khtmlview.h.
Constructor & Destructor Documentation
|
Constructs a KHTMLView.
Definition at line 458 of file khtmlview.cpp. References QScrollView::contentsMoving(), QScrollView::enableClipper(), KImageIO::registerFormats(), QScrollView::setHScrollBarMode(), QScrollView::setResizePolicy(), QScrollView::setVScrollBarMode(), slotPaletteChanged(), slotScrollBarMoved(), and QScrollView::viewport(). |
Member Function Documentation
|
Returns a pointer to the KHTMLPart that is rendering the page.
Definition at line 112 of file khtmlview.h. Referenced by KJS::JSNodeFilter::acceptNode(), khtml::CSSStyleSelector::applyRule(), KJS::checkNodeSecurity(), KJS::HTMLDocument::hasProperty(), KJS::HTMLDocument::putValueProperty(), KJS::HTMLElementFunction::tryCall(), KJS::HTMLDocument::tryGet(), and KJS::HTMLDocument::tryPut(). |
|
Sets a margin in x direction.
Definition at line 729 of file khtmlview.cpp. |
|
Returns the margin width. A return value of -1 means the default value will be used. Definition at line 126 of file khtmlview.h. |
|
Returns the margin height. A return value of -1 means the default value will be used. Definition at line 138 of file khtmlview.h. |
|
Sets verticals scrollbar mode. Reimplemented for internal reasons. Reimplemented from QScrollView. Definition at line 2528 of file khtmlview.cpp. References QScrollView::setVScrollBarMode(). |
|
Sets horizontal scrollbar mode. Reimplemented for internal reasons. Reimplemented from QScrollView. Definition at line 2538 of file khtmlview.cpp. References QScrollView::setHScrollBarMode(). |
|
Prints the HTML document.
Definition at line 2297 of file khtmlview.cpp. Referenced by KHTMLPartBrowserExtension::print(). |
|
Prints the HTML document.
Definition at line 2302 of file khtmlview.cpp. References QString::arg(), QPainter::begin(), QPainter::boundingRect(), KStringHandler::csqueeze(), QDate::currentDate(), QPainter::drawText(), QPainter::end(), endl(), QPainter::fontMetrics(), KLocale::formatDate(), QPaintDeviceMetrics::height(), QString::isEmpty(), kdDebug(), khtml::RenderCanvas, KGlobal::locale(), QPainter::resetXForm(), QPainter::scale(), QPainter::setClipRect(), QPainter::setFont(), QPainter::setPen(), QPainter::translate(), QScrollView::viewport(), QPaintDeviceMetrics::width(), KHTMLPart::xmlDocImpl(), and KHTMLPart::zoomFactor(). |
|
ensure the display is up to date
Definition at line 741 of file khtmlview.cpp. References displayAccessKeys(), DOM::DocumentImpl, endl(), QScrollView::horizontalScrollBar(), KHTMLPart::isCaretMode(), KHTMLPart::isEditable(), kdDebug(), khtml::RenderCanvas, QScrollView::setHScrollBarMode(), QScrollView::setVScrollBarMode(), QScrollView::verticalScrollBar(), QScrollView::visibleHeight(), QScrollView::visibleWidth(), and KHTMLPart::xmlDocImpl(). Referenced by drawContents(), slotScrollBarMoved(), timerEvent(), and viewportResizeEvent(). |
|
Display all accesskeys in small tooltips.
Definition at line 2137 of file khtmlview.cpp. References QScrollView::addChild(), QScrollView::contentsHeight(), QScrollView::contentsWidth(), QRect::height(), QRect::left(), DOM::DOMString::length(), QToolTip::palette(), QScrollView::showChild(), DOM::DOMString::string(), QRect::top(), QScrollView::viewport(), QRect::width(), and KHTMLPart::xmlDocImpl(). Referenced by keyReleaseEvent(), and layout(). |
The documentation for this class was generated from the following files: