Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtGui.QTextInlineObject Class Reference

The QTextInlineObject class represents an inline object in a QTextLayout. More...

Inheritance diagram for QtGui.QTextInlineObject:
Collaboration diagram for QtGui.QTextInlineObject:

Public Member Functions

 QTextInlineObject ()
 
 
 QTextInlineObject (QTextInlineObject copy)
 
 
virtual void CreateProxy ()
 
new QTextFormat Format ()
 
 
new int FormatIndex ()
 
 
new double Height ()
 
 
new bool IsValid ()
 
 
new QRectF Rect ()
 
 
new Qt.LayoutDirection TextDirection ()
 
 
new int TextPosition ()
 
 
new void Dispose ()
 

Protected Member Functions

 QTextInlineObject (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

new double Ascent [get, set]
 
 
new double Descent [get, set]
 
 
new double Width [get, set]
 
 
virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QTextInlineObject class represents an inline object in a QTextLayout.

This class is only used if the text layout is used to lay out parts of a QTextDocument.

The inline object has various attributes that can be set, for example using, setWidth(), setAscent(), and setDescent(). The rectangle it occupies is given by rect(), and its direction by isRightToLeft(). Its position in the text layout is given by at(), and its format is given by format().

Constructor & Destructor Documentation

QtGui.QTextInlineObject.QTextInlineObject ( System.Type  dummy)
protected
QtGui.QTextInlineObject.QTextInlineObject ( )

Creates a new inline object for the item at position i in the text engine e.

QtGui.QTextInlineObject.QTextInlineObject ( QTextInlineObject  copy)

Creates a new inline object for the item at position i in the text engine e.

Member Function Documentation

virtual void QtGui.QTextInlineObject.CreateProxy ( )
virtual
new void QtGui.QTextInlineObject.Dispose ( )
new QTextFormat QtGui.QTextInlineObject.Format ( )

Returns format of the inline object within the text layout.

new int QtGui.QTextInlineObject.FormatIndex ( )

Returns an integer describing the format of the inline object within the text layout.

new double QtGui.QTextInlineObject.Height ( )

Returns the inline object's total height. This is equal to ascent() + descent() + 1.

See also ascent(), descent(), width(), and rect().

new bool QtGui.QTextInlineObject.IsValid ( )

Returns true if this inline object is valid; otherwise returns false.

new QRectF QtGui.QTextInlineObject.Rect ( )

Returns the inline object's rectangle.

See also ascent(), descent(), and width().

new Qt.LayoutDirection QtGui.QTextInlineObject.TextDirection ( )

Returns if the object should be laid out right-to-left or left-to-right.

new int QtGui.QTextInlineObject.TextPosition ( )

The position of the inline object within the text layout.

Member Data Documentation

SmokeInvocation QtGui.QTextInlineObject.interceptor
protected

Property Documentation

new double QtGui.QTextInlineObject.Ascent
getset

Returns the inline object's ascent.

Sets the inline object's ascent to a.

new double QtGui.QTextInlineObject.Descent
getset

Returns the inline object's descent.

Sets the inline object's decent to d.

virtual System.IntPtr QtGui.QTextInlineObject.SmokeObject
getset
new double QtGui.QTextInlineObject.Width
getset

Returns the inline object's width.

Sets the inline object's width to w.