class KHTMLView |
|
Renders and displays HTML in a QScrollArea.
Suitable for use as an application's main view. |
|
Constructs a KHTMLView. |
|
|
|
|
|
Returns the contents area's height |
|
Returns a point translated to viewport coordinates
p - the contents area point to translate |
|
Returns a point translated to viewport coordinates
x - x coordinate of contents area point to translate y - y coordinate of contents area point to translate cx - resulting x coordinate cy - resulting y coordinate |
|
Returns the contents area's width |
|
Returns the x coordinate of the contents area point that is currently located at the top left in the viewport |
|
Returns the y coordinate of the contents area point that is currently located at the top left in the viewport |
|
Display all accesskeys in small tooltips |
|
|
|
|
|
|
|
This signal is used for internal layouting. Don't use it to check if rendering finished. Use KHTMLPart completed() signal instead. |
|
|
|
|
|
|
|
|
|
ensure the display is up to date |
|
Returns the margin height.
A return value of -1 means the default value will be used. |
|
Returns the margin width.
A return value of -1 means the default value will be used. |
|
|
|
|
|
|
Returns a pointer to the KHTMLPart that is rendering the page. |
|
Prints the HTML document.
quick - if true, fully automated printing, without print dialog |
|
|
Requests an immediate repaint of the content area
r - the content area rectangle to repaint |
|
|
Resize the contents area
w - the new width h - the new height |
|
|
Scrolls the content area by a given amount
x - x offset y - y offset |
|
|
Place the contents area point x/y at the top left of the viewport |
|
Sets horizontal scrollbar mode.
WARNING: do not call this method on a base class pointer unless you specifically want QAbstractScrollArea's variant (not recommended). QAbstractScrollArea.setHorizontalScrollBarPolicy is *not* virtual. |
|
|
Sets a margin in x direction. |
|
Set the smooth scrolling mode.
Smooth scrolling mode is normally controlled by the configuration file's SmoothScrolling key. Using this setter will override the configuration file's settings. @since 4.1 |
|
|
Sets vertical scrollbar mode.
WARNING: do not call this method on a base class pointer unless you specifically want QAbstractScrollArea's variant (not recommended). QAbstractScrollArea.setVerticalScrollBarPolicy is *not* virtual. |
|
Apply a zoom level to the content area
percent - a zoom level expressed as a percentage |
|
|
|
Retrieve the current smooth scrolling mode
@since 4.1 |
|
|
Requests an update of the content area
r - the content area rectangle to update |
|
|
|
Returns a point translated to contents area coordinates
p - the viewport point to translate |
|
Returns a point translated to contents area coordinates
x - x coordinate of viewport point to translate y - y coordinate of viewport point to translate cx - resulting x coordinate cy - resulting y coordinate |
|
Returns the height of the viewport |
|
Returns the width of the viewport |
|
|
|
Retrieve the current zoom level |
|
Smooth Scrolling Mode enumeration
SSMDisabled | - 0 | - | ||
SSMWhenEfficient | - | - | ||
SSMEnabled | - | - |