|
Qyoto
4.0.7
Qyoto is a C# language binding for Qt
|
The QTextItem class provides all the information required to draw text in a custom paint engine. More...


Public Types | |
| enum | RenderFlag { Dummy = -1, Overline = 16, RightToLeft = 1, StrikeOut = 64, Underline = 32 } |
Public Member Functions | |
| QTextItem () | |
| QTextItem (QTextItem copy) | |
| virtual void | CreateProxy () |
| new void | Dispose () |
Protected Member Functions | |
| QTextItem (System.Type dummy) | |
Protected Attributes | |
| SmokeInvocation | interceptor |
Properties | |
| double | Ascent [get] |
| More... | |
| double | Descent [get] |
| More... | |
| QFont | Font [get] |
| More... | |
| QTextItem.RenderFlag | RenderFlags [get] |
| More... | |
| string | Text [get] |
| More... | |
| double | Width [get] |
| More... | |
| virtual System.IntPtr | SmokeObject [get, set] |
The QTextItem class provides all the information required to draw text in a custom paint engine.
When you reimplement your own paint engine, you must reimplement QPaintEngine::drawTextItem(), a function that takes a QTextItem as one of its arguments.
|
protected |
| QtGui.QTextItem.QTextItem | ( | ) |

| QtGui.QTextItem.QTextItem | ( | QTextItem | copy | ) |

|
virtual |

| new void QtGui.QTextItem.Dispose | ( | ) |
|
protected |
|
get |
Corresponds to the ascent of the piece of text that is drawn.
|
get |
Corresponds to the descent of the piece of text that is drawn.
|
get |
Returns the font that should be used to draw the text.
|
get |
Returns the render flags used.
|
getset |
|
get |
Returns the text that should be drawn.
|
get |
Specifies the total width of the text to be drawn.