Qyoto  4.0.5
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 string AlternateText ()
 
 
new QRect BoundingRect ()
 
 
new QWebElement Element ()
 
 
new QWebElement EnclosingBlockElement ()
 
 
new QWebFrame Frame ()
 
 
new QUrl ImageUrl ()
 
 
new bool IsContentEditable ()
 
 
new bool IsContentSelected ()
 
 
new bool IsNull ()
 
 
new QWebElement LinkElement ()
 
 
new QWebFrame LinkTargetFrame ()
 
 
new string LinkText ()
 
 
new QUrl LinkTitle ()
 
 
new QUrl LinkUrl ()
 
 
new QPixmap Pixmap ()
 
 
new QPoint Pos ()
 
 
new string Title ()
 
 
new void Dispose ()
 

Protected Member Functions

 QWebHitTestResult (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

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

new string QtWebKit.QWebHitTestResult.AlternateText ( )

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

new QRect QtWebKit.QWebHitTestResult.BoundingRect ( )

Returns the bounding rect of the element.

This function was introduced in Qt 4.5.

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

Returns the underlying DOM element as QWebElement.

This function was introduced in Qt 4.6.

new QWebElement QtWebKit.QWebHitTestResult.EnclosingBlockElement ( )

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.

new QWebFrame QtWebKit.QWebHitTestResult.Frame ( )

Returns the frame the hit test was executed in.

new QUrl QtWebKit.QWebHitTestResult.ImageUrl ( )

Returns the url of the image.

new bool QtWebKit.QWebHitTestResult.IsContentEditable ( )

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

new bool QtWebKit.QWebHitTestResult.IsContentSelected ( )

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

new bool QtWebKit.QWebHitTestResult.IsNull ( )

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

new QWebElement QtWebKit.QWebHitTestResult.LinkElement ( )

Returns the element that represents the link.

This function was introduced in Qt 4.6.

See also linkTargetFrame().

new QWebFrame QtWebKit.QWebHitTestResult.LinkTargetFrame ( )

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

See also linkElement().

new string QtWebKit.QWebHitTestResult.LinkText ( )

Returns the text of the link.

new QUrl QtWebKit.QWebHitTestResult.LinkTitle ( )

Returns the title of the link.

new QUrl QtWebKit.QWebHitTestResult.LinkUrl ( )

Returns the url to which the link points to.

new QPixmap QtWebKit.QWebHitTestResult.Pixmap ( )

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

new QPoint QtWebKit.QWebHitTestResult.Pos ( )

Returns the position where the hit test occured.

new string QtWebKit.QWebHitTestResult.Title ( )

Returns the title of the nearest enclosing HTML element.

Member Data Documentation

SmokeInvocation QtWebKit.QWebHitTestResult.interceptor
protected

Property Documentation

virtual System.IntPtr QtWebKit.QWebHitTestResult.SmokeObject
getset