Qyoto
4.0.6
Qyoto is a C# language binding for Qt
|
The QTextInlineObject class represents an inline object in a QTextLayout. More...
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] |
| |
double | Descent [get, set] |
| |
double | Width [get, set] |
| |
QTextFormat | Format [get] |
| |
int | FormatIndex [get] |
| |
double | Height [get] |
| |
bool | IsValid [get] |
| |
QRectF | Rect [get] |
| |
Qt.LayoutDirection | TextDirection [get] |
| |
int | TextPosition [get] |
| |
virtual System.IntPtr | SmokeObject [get, set] |
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().
|
protected |
QtGui.QTextInlineObject.QTextInlineObject | ( | ) |
QtGui.QTextInlineObject.QTextInlineObject | ( | QTextInlineObject | copy | ) |
|
virtual |
new void QtGui.QTextInlineObject.Dispose | ( | ) |
|
protected |
|
getset |
Returns the inline object's ascent.
Sets the inline object's ascent to a.
|
getset |
Returns the inline object's descent.
Sets the inline object's decent to d.
|
get |
Returns format of the inline object within the text layout.
|
get |
Returns an integer describing the format of the inline object within the text layout.
|
get |
Returns the inline object's total height. This is equal to ascent() + descent() + 1.
See also ascent(), descent(), width(), and rect().
|
get |
Returns true if this inline object is valid; otherwise returns false.
|
get |
Returns the inline object's rectangle.
See also ascent(), descent(), and width().
|
getset |
|
get |
Returns if the object should be laid out right-to-left or left-to-right.
|
get |
The position of the inline object within the text layout.
|
getset |
Returns the inline object's width.
Sets the inline object's width to w.