Qyoto  4.0.6
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtWebKit.QWebHitTestResult Class Reference

The QWebHitTestResult class provides information about the web page content after a hit test. More...

Inheritance diagram for QtWebKit.QWebHitTestResult:
Collaboration diagram for QtWebKit.QWebHitTestResult:

Public Member Functions

 QWebHitTestResult ()
 
 
 QWebHitTestResult (QWebHitTestResult other)
 
 
virtual void CreateProxy ()
 
new void Dispose ()
 

Protected Member Functions

 QWebHitTestResult (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

string AlternateText [get]
 
 
QRect BoundingRect [get]
 
 
QWebElement Element [get]
 
 
QWebElement EnclosingBlockElement [get]
 
 
QWebFrame Frame [get]
 
 
QUrl ImageUrl [get]
 
 
bool IsContentEditable [get]
 
 
bool IsContentSelected [get]
 
 
bool IsNull [get]
 
 
QWebElement LinkElement [get]
 
 
QWebFrame LinkTargetFrame [get]
 
 
string LinkText [get]
 
 
QUrl LinkTitle [get]
 
 
QUrl LinkUrl [get]
 
 
QPixmap Pixmap [get]
 
 
QPoint Pos [get]
 
 
string Title [get]
 
 
virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QWebHitTestResult class provides information about the web page content after a hit test.

QWebHitTestResult is returned by QWebFrame::hitTestContent() to provide information about the content of the web page at the specified position.

Constructor & Destructor Documentation

QtWebKit.QWebHitTestResult.QWebHitTestResult ( System.Type  dummy)
protected
QtWebKit.QWebHitTestResult.QWebHitTestResult ( )

Constructs a null hit test result.

QtWebKit.QWebHitTestResult.QWebHitTestResult ( QWebHitTestResult  other)

Constructs a hit test result from other.

Member Function Documentation

virtual void QtWebKit.QWebHitTestResult.CreateProxy ( )
virtual
new void QtWebKit.QWebHitTestResult.Dispose ( )

Member Data Documentation

SmokeInvocation QtWebKit.QWebHitTestResult.interceptor
protected

Property Documentation

string QtWebKit.QWebHitTestResult.AlternateText
get

Returns the alternate text of the element. This corresponds to the HTML alt attribute.

QRect QtWebKit.QWebHitTestResult.BoundingRect
get

Returns the bounding rect of the element.

This function was introduced in Qt 4.5.

QWebElement QtWebKit.QWebHitTestResult.Element
get

Returns the underlying DOM element as QWebElement.

This function was introduced in Qt 4.6.

QWebElement QtWebKit.QWebHitTestResult.EnclosingBlockElement
get

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.

This function was introduced in Qt 4.6.

QWebFrame QtWebKit.QWebHitTestResult.Frame
get

Returns the frame the hit test was executed in.

QUrl QtWebKit.QWebHitTestResult.ImageUrl
get

Returns the url of the image.

bool QtWebKit.QWebHitTestResult.IsContentEditable
get

Returns true if the content is editable by the user; otherwise returns false.

bool QtWebKit.QWebHitTestResult.IsContentSelected
get

Returns true if the content tested is part of the selection; otherwise returns false.

bool QtWebKit.QWebHitTestResult.IsNull
get

Returns true if the hit test result is null; otherwise returns false.

QWebElement QtWebKit.QWebHitTestResult.LinkElement
get

Returns the element that represents the link.

This function was introduced in Qt 4.6.

See also linkTargetFrame().

QWebFrame QtWebKit.QWebHitTestResult.LinkTargetFrame
get

Returns the frame that will load the link if it is activated.

See also linkElement().

string QtWebKit.QWebHitTestResult.LinkText
get

Returns the text of the link.

QUrl QtWebKit.QWebHitTestResult.LinkTitle
get

Returns the title of the link.

QUrl QtWebKit.QWebHitTestResult.LinkUrl
get

Returns the url to which the link points to.

QPixmap QtWebKit.QWebHitTestResult.Pixmap
get

Returns a QPixmap containing the image. A null pixmap is returned if the element being tested is not an image.

QPoint QtWebKit.QWebHitTestResult.Pos
get

Returns the position where the hit test occured.

virtual System.IntPtr QtWebKit.QWebHitTestResult.SmokeObject
getset
string QtWebKit.QWebHitTestResult.Title
get

Returns the title of the nearest enclosing HTML element.