Qyoto  4.0.7
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator 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 void Dispose ()
 

Protected Member Functions

 QTextInlineObject (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

double Ascent [get, set]
  More...
 
double Descent [get, set]
  More...
 
double Width [get, set]
  More...
 
QTextFormat Format [get]
  More...
 
int FormatIndex [get]
  More...
 
double Height [get]
  More...
 
bool IsValid [get]
  More...
 
QRectF Rect [get]
  More...
 
Qt.LayoutDirection TextDirection [get]
  More...
 
int TextPosition [get]
  More...
 
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 ( )

Here is the call graph for this function:

QtGui.QTextInlineObject.QTextInlineObject ( QTextInlineObject  copy)

Here is the call graph for this function:

Member Function Documentation

virtual void QtGui.QTextInlineObject.CreateProxy ( )
virtual

Here is the caller graph for this function:

new void QtGui.QTextInlineObject.Dispose ( )

Member Data Documentation

SmokeInvocation QtGui.QTextInlineObject.interceptor
protected

Property Documentation

double QtGui.QTextInlineObject.Ascent
getset

Returns the inline object's ascent.

Sets the inline object's ascent to a.

double QtGui.QTextInlineObject.Descent
getset

Returns the inline object's descent.

Sets the inline object's decent to d.

QTextFormat QtGui.QTextInlineObject.Format
get

Returns format of the inline object within the text layout.

int QtGui.QTextInlineObject.FormatIndex
get

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

double QtGui.QTextInlineObject.Height
get

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

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

bool QtGui.QTextInlineObject.IsValid
get

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

QRectF QtGui.QTextInlineObject.Rect
get

Returns the inline object's rectangle.

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

virtual System.IntPtr QtGui.QTextInlineObject.SmokeObject
getset
Qt.LayoutDirection QtGui.QTextInlineObject.TextDirection
get

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

int QtGui.QTextInlineObject.TextPosition
get

The position of the inline object within the text layout.

double QtGui.QTextInlineObject.Width
getset

Returns the inline object's width.

Sets the inline object's width to w.