The PySide.QtWebKit.QWebHitTestResult class provides information about the web page content after a hit test.
PySide.QtWebKit.QWebHitTestResult is returned by QWebFrame.hitTestContent() to provide information about the content of the web page at the specified position.
| Parameters: | other – PySide.QtWebKit.QWebHitTestResult |
|---|
Constructs a null hit test result.
Constructs a hit test result from other .
| Return type: | unicode |
|---|
Returns the alternate text of the element. This corresponds to the HTML alt attribute.
| Return type: | PySide.QtCore.QRect |
|---|
Returns the bounding rect of the element.
| Return type: | PySide.QtWebKit.QWebElement |
|---|
Returns the underlying DOM element as PySide.QtWebKit.QWebElement .
| Return type: | PySide.QtWebKit.QWebElement |
|---|
Returns the block element that encloses the element hit.
A block element is an element that is rendered using the CSS “block” style. This includes for example text paragraphs.
| Return type: | PySide.QtWebKit.QWebFrame |
|---|
Returns the frame the hit test was executed in.
| Return type: | PySide.QtCore.QUrl |
|---|
Returns the url of the image.
| Return type: | PySide.QtCore.bool |
|---|
Returns true if the content is editable by the user; otherwise returns false.
| Return type: | PySide.QtCore.bool |
|---|
Returns true if the content tested is part of the selection; otherwise returns false.
| Return type: | PySide.QtCore.bool |
|---|
Returns true if the hit test result is null; otherwise returns false.
| Return type: | PySide.QtWebKit.QWebElement |
|---|
Returns the element that represents the link.
| Return type: | PySide.QtWebKit.QWebFrame |
|---|
Returns the frame that will load the link if it is activated.
| Return type: | unicode |
|---|
Returns the text of the link.
| Return type: | PySide.QtCore.QUrl |
|---|
Returns the title of the link.
| Return type: | PySide.QtCore.QUrl |
|---|
Returns the url to which the link points to.
| Return type: | PySide.QtGui.QPixmap |
|---|
Returns a PySide.QtGui.QPixmap containing the image. A null pixmap is returned if the element being tested is not an image.
| Return type: | PySide.QtCore.QPoint |
|---|
Returns the position where the hit test occured.
| Return type: | unicode |
|---|
Returns the title of the nearest enclosing HTML element.