Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
The QTextImageFormat class provides formatting information for images in a QTextDocument. More...
Public Member Functions | |
QTextImageFormat () | |
| |
QTextImageFormat (QTextImageFormat copy) | |
| |
override void | CreateProxy () |
new bool | IsValid () |
| |
new void | Dispose () |
Public Member Functions inherited from QtGui.QTextCharFormat | |
QTextCharFormat () | |
| |
QTextCharFormat (QTextCharFormat copy) | |
| |
new bool | IsAnchor () |
| |
new bool | IsValid () |
| |
new void | SetAnchor (bool anchor) |
| |
new void | SetFontStyleHint (QFont.StyleHint hint, QFont.StyleStrategy strategy=QFont.StyleStrategy.PreferDefault) |
| |
new void | Dispose () |
Public Member Functions inherited from QtGui.QTextFormat | |
override bool | Equals (object o) |
override int | GetHashCode () |
QTextFormat () | |
| |
QTextFormat (QTextFormat rhs) | |
| |
QTextFormat (int type) | |
| |
new bool | BoolProperty (int propertyId) |
| |
new QBrush | BrushProperty (int propertyId) |
| |
new void | ClearBackground () |
| |
new void | ClearForeground () |
| |
new void | ClearProperty (int propertyId) |
| |
new QColor | ColorProperty (int propertyId) |
| |
new double | DoubleProperty (int propertyId) |
| |
new bool | HasProperty (int propertyId) |
| |
new int | IntProperty (int propertyId) |
| |
new bool | IsBlockFormat () |
| |
new bool | IsCharFormat () |
| |
new bool | IsFrameFormat () |
| |
new bool | IsImageFormat () |
| |
new bool | IsListFormat () |
| |
new bool | IsTableCellFormat () |
| |
new bool | IsTableFormat () |
| |
new bool | IsValid () |
| |
new QTextLength | LengthProperty (int propertyId) |
| |
new System.Collections.Generic.List < QTextLength > | LengthVectorProperty (int propertyId) |
| |
new void | Merge (QTextFormat other) |
| |
new QPen | PenProperty (int propertyId) |
| |
new System.Collections.Generic.Dictionary < System.Int32, System.Object > | Properties () |
| |
new object | property (int propertyId) |
| |
new int | PropertyCount () |
| |
new void | SetProperty (int propertyId, object value) |
| |
new void | SetProperty (int propertyId, System.Collections.Generic.List< QTextLength > lengths) |
| |
new string | StringProperty (int propertyId) |
| |
new QTextBlockFormat | ToBlockFormat () |
| |
new QTextCharFormat | ToCharFormat () |
| |
new QTextFrameFormat | ToFrameFormat () |
| |
new QTextImageFormat | ToImageFormat () |
| |
new QTextListFormat | ToListFormat () |
| |
new QTextTableCellFormat | ToTableCellFormat () |
| |
new QTextTableFormat | ToTableFormat () |
| |
new int | Type () |
| |
new void | Dispose () |
Protected Member Functions | |
QTextImageFormat (System.Type dummy) | |
QTextImageFormat (QTextFormat format) | |
| |
Protected Member Functions inherited from QtGui.QTextCharFormat | |
QTextCharFormat (System.Type dummy) | |
QTextCharFormat (QTextFormat fmt) | |
| |
Protected Member Functions inherited from QtGui.QTextFormat | |
QTextFormat (System.Type dummy) | |
Properties | |
new double | Height [get, set] |
| |
new string | Name [get, set] |
| |
new double | Width [get, set] |
| |
Properties inherited from QtGui.QTextCharFormat | |
new string | AnchorHref [get, set] |
| |
new string | AnchorName [get, set] |
| |
new System.Collections.Generic.List < string > | AnchorNames [get, set] |
| |
new QFont | Font [get, set] |
| |
new QFont.Capitalization | FontCapitalization [get, set] |
| |
new string | FontFamily [get, set] |
| |
new bool | FontFixedPitch [get, set] |
| |
new QFont.HintingPreference | FontHintingPreference [get, set] |
| |
new bool | FontItalic [get, set] |
| |
new bool | FontKerning [get, set] |
| |
new double | FontLetterSpacing [get, set] |
| |
new bool | FontOverline [get, set] |
| |
new double | FontPointSize [get, set] |
| |
new bool | FontStrikeOut [get, set] |
| |
new QFont.StyleStrategy | FontStyleStrategy [get, set] |
| |
new bool | FontUnderline [get, set] |
| |
new int | FontWeight [get, set] |
| |
new double | FontWordSpacing [get, set] |
| |
new int | TableCellColumnSpan [get, set] |
new int | TableCellRowSpan [get, set] |
new QPen | TextOutline [get, set] |
| |
new string | ToolTip [get, set] |
| |
new QColor | UnderlineColor [get, set] |
| |
new QTextCharFormat.UnderlineStyle | underlineStyle [get, set] |
| |
new QTextCharFormat.VerticalAlignment | verticalAlignment [get, set] |
| |
new QFont.StyleHint | FontStyleHint [get] |
| |
Properties inherited from QtGui.QTextFormat | |
new QBrush | Background [get, set] |
| |
new QBrush | Foreground [get, set] |
| |
new Qt.LayoutDirection | LayoutDirection [get, set] |
| |
new int | ObjectIndex [get, set] |
| |
new int | ObjectType [get, set] |
| |
virtual System.IntPtr | SmokeObject [get, set] |
static new QMetaObject | StaticMetaObject [get] |
Additional Inherited Members | |
Public Types inherited from QtGui.QTextCharFormat | |
enum | UnderlineStyle { DashDotDotLine = 5, DashDotLine = 4, DashUnderline = 2, DotLine = 3, NoUnderline = 0, SingleUnderline = 1, SpellCheckUnderline = 7, WaveUnderline = 6 } |
More... | |
enum | VerticalAlignment { AlignBaseline = 6, AlignBottom = 5, AlignMiddle = 3, AlignNormal = 0, AlignSubScript = 2, AlignSuperScript = 1, AlignTop = 4 } |
More... | |
Static Public Member Functions inherited from QtGui.QTextFormat | |
static bool | operator!= (QTextFormat arg1, QTextFormat arg2) |
| |
static bool | operator== (QTextFormat arg1, QTextFormat arg2) |
| |
Protected Attributes inherited from QtGui.QTextFormat | |
SmokeInvocation | interceptor |
The QTextImageFormat class provides formatting information for images in a QTextDocument.
Inline images are represented by an object replacement character (0xFFFC in Unicode) which has an associated QTextImageFormat. The image format specifies a name with setName() that is used to locate the image. The size of the rectangle that the image will occupy is specified using setWidth() and setHeight().
Images can be supplied in any format for which Qt has an image reader, so SVG drawings can be included alongside PNG, TIFF and other bitmap formats.
See also QImage and QImageReader.
|
protected |
QtGui.QTextImageFormat.QTextImageFormat | ( | ) |
Creates a new image format object.
|
protected |
Creates a new image format object.
QtGui.QTextImageFormat.QTextImageFormat | ( | QTextImageFormat | copy | ) |
Creates a new image format object.
|
virtual |
Reimplemented from QtGui.QTextCharFormat.
new void QtGui.QTextImageFormat.Dispose | ( | ) |
new bool QtGui.QTextImageFormat.IsValid | ( | ) |
Returns true if this image format is valid; otherwise returns false.
|
getset |
Returns the height of the rectangle occupied by the image.
Sets the height of the rectangle occupied by the image.
|
getset |
Returns the name of the image. The name refers to an entry in the application's resources file.
Sets the name of the image. The name is used to locate the image in the application's resources.
|
getset |
Returns the width of the rectangle occupied by the image.
Sets the width of the rectangle occupied by the image.