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

The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument. More...

Inheritance diagram for QtGui.QTextTableCellFormat:
Collaboration diagram for QtGui.QTextTableCellFormat:

Public Member Functions

 QTextTableCellFormat ()
 
 
 QTextTableCellFormat (QTextTableCellFormat copy)
 
override void CreateProxy ()
 
new void SetPadding (double padding)
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QTextCharFormat
 QTextCharFormat ()
 
 
 QTextCharFormat (QTextCharFormat copy)
 
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 QTextLength LengthProperty (int propertyId)
 
 
new
System.Collections.Generic.List
< QTextLength
LengthVectorProperty (int propertyId)
 
 
new void Merge (QTextFormat other)
 
 
new QPen PenProperty (int propertyId)
 
 
new object property (int propertyId)
 
 
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 void Dispose ()
 

Protected Member Functions

 QTextTableCellFormat (System.Type dummy)
 
 QTextTableCellFormat (QTextFormat fmt)
 
- 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

double BottomPadding [get, set]
 
 
double LeftPadding [get, set]
 
 
double RightPadding [get, set]
 
 
double TopPadding [get, set]
 
 
bool IsValid [get]
 
 
- Properties inherited from QtGui.QTextCharFormat
string AnchorHref [get, set]
 
 
string AnchorName [get, set]
 
 
System.Collections.Generic.List
< string > 
AnchorNames [get, set]
 
 
QFont Font [get, set]
 
 
QFont.Capitalization FontCapitalization [get, set]
 
 
string FontFamily [get, set]
 
 
bool FontFixedPitch [get, set]
 
 
QFont.HintingPreference FontHintingPreference [get, set]
 
 
bool FontItalic [get, set]
 
 
bool FontKerning [get, set]
 
 
double FontLetterSpacing [get, set]
 
 
bool FontOverline [get, set]
 
 
double FontPointSize [get, set]
 
 
bool FontStrikeOut [get, set]
 
 
QFont.StyleStrategy FontStyleStrategy [get, set]
 
 
bool FontUnderline [get, set]
 
 
int FontWeight [get, set]
 
 
double FontWordSpacing [get, set]
 
 
int TableCellColumnSpan [get, set]
 
int TableCellRowSpan [get, set]
 
QPen TextOutline [get, set]
 
 
string ToolTip [get, set]
 
 
QColor UnderlineColor [get, set]
 
 
QTextCharFormat.UnderlineStyle underlineStyle [get, set]
 
 
QTextCharFormat.VerticalAlignment verticalAlignment [get, set]
 
 
QFont.StyleHint FontStyleHint [get]
 
 
bool IsAnchor [get]
 
 
bool IsValid [get]
 
 
- Properties inherited from QtGui.QTextFormat
QBrush Background [get, set]
 
 
QBrush Foreground [get, set]
 
 
Qt.LayoutDirection LayoutDirection [get, set]
 
 
int ObjectIndex [get, set]
 
 
int ObjectType [get, set]
 
 
bool IsBlockFormat [get]
 
 
bool IsCharFormat [get]
 
 
bool IsFrameFormat [get]
 
 
bool IsImageFormat [get]
 
 
bool IsListFormat [get]
 
 
bool IsTableCellFormat [get]
 
 
bool IsTableFormat [get]
 
 
bool IsValid [get]
 
 
System.Collections.Generic.Dictionary
< System.Int32, System.Object > 
Properties [get]
 
 
int PropertyCount [get]
 
 
int Type [get]
 
 
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 one, QTextFormat rhs)
 
 
static bool operator== (QTextFormat one, QTextFormat rhs)
 
 
- Protected Attributes inherited from QtGui.QTextFormat
SmokeInvocation interceptor
 

Detailed Description

The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument.

The table cell format of a table cell in a document specifies the visual properties of the table cell.

The padding properties of a table cell are controlled by setLeftPadding(), setRightPadding(), setTopPadding(), and setBottomPadding(). All the paddings can be set at once using setPadding().

See also QTextFormat, QTextBlockFormat, QTextTableFormat, and QTextCharFormat.

Constructor & Destructor Documentation

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

Constructs a new table cell format object.

This function was introduced in Qt 4.4.

QtGui.QTextTableCellFormat.QTextTableCellFormat ( QTextFormat  fmt)
protected
QtGui.QTextTableCellFormat.QTextTableCellFormat ( QTextTableCellFormat  copy)

Member Function Documentation

override void QtGui.QTextTableCellFormat.CreateProxy ( )
virtual

Reimplemented from QtGui.QTextCharFormat.

new void QtGui.QTextTableCellFormat.Dispose ( )
new void QtGui.QTextTableCellFormat.SetPadding ( double  padding)

Sets the left, right, top, and bottom padding of the table cell.

This function was introduced in Qt 4.4.

See also setLeftPadding(), setRightPadding(), setTopPadding(), and setBottomPadding().

Property Documentation

double QtGui.QTextTableCellFormat.BottomPadding
getsetadd

Gets the bottom padding of the table cell.

This function was introduced in Qt 4.4.

Sets the bottom padding of the table cell.

This function was introduced in Qt 4.4.

bool QtGui.QTextTableCellFormat.IsValid
get

Returns true if this table cell format is valid; otherwise returns false.

This function was introduced in Qt 4.4.

double QtGui.QTextTableCellFormat.LeftPadding
getsetadd

Gets the left padding of the table cell.

This function was introduced in Qt 4.4.

Sets the left padding of the table cell.

This function was introduced in Qt 4.4.

double QtGui.QTextTableCellFormat.RightPadding
getsetadd

Gets the right padding of the table cell.

This function was introduced in Qt 4.4.

Sets the right padding of the table cell.

This function was introduced in Qt 4.4.

double QtGui.QTextTableCellFormat.TopPadding
getsetadd

Gets the top padding of the table cell.

This function was introduced in Qt 4.4.

Sets the top padding of the table cell.

This function was introduced in Qt 4.4.