#include <mw/QtWebKit/qwebframe.h>
| class QWebHitTestResult |
The QWebHitTestResult class provides information about the web page content after a hit test.
| Public Member Functions | |
|---|---|
| QWebHitTestResult() | |
| QWebHitTestResult(const QWebHitTestResult &) | |
| ~QWebHitTestResult() | |
| QString | alternateText() |
| QRect | boundingRect() |
| QWebElement | element() |
| QWebElement | enclosingBlockElement() |
| QWebFrame * | frame() |
| QUrl | imageUrl() |
| bool | isContentEditable() |
| bool | isContentSelected() |
| bool | isNull() |
| QWebElement | linkElement() |
| QWebFrame * | linkTargetFrame() |
| QString | linkText() |
| QUrl | linkTitle() |
| QUrl | linkUrl() |
| QWebHitTestResult & | operator=(const QWebHitTestResult &) |
| QPixmap | pixmap() |
| QPoint | pos() |
| QString | title() |
| QString | alternateText | ( | ) | const |
Returns the alternate text of the element. This corresponds to the HTML alt attribute.
| QWebElement | enclosingBlockElement | ( | ) | const |
| bool | isContentEditable | ( | ) | const |
Returns true if the content is editable by the user; otherwise returns false.
| bool | isContentSelected | ( | ) | const |
Returns true if the content tested is part of the selection; otherwise returns false.
| QWebElement | linkElement | ( | ) | const |
See also: linkTargetFrame()
| QWebHitTestResult & | operator= | ( | const QWebHitTestResult & | other | ) |
Assigns the other hit test result to this.