QtBase  v6.3.1
Public Member Functions | Protected Member Functions | Friends | List of all members
QTextTableCellFormat Class Reference

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

#include <qtextformat.h>

Inheritance diagram for QTextTableCellFormat:
Inheritance graph
[legend]
Collaboration diagram for QTextTableCellFormat:
Collaboration graph
[legend]

Public Member Functions

 QTextTableCellFormat ()
 
bool isValid () const
 
void setTopPadding (qreal padding)
 
qreal topPadding () const
 
void setBottomPadding (qreal padding)
 
qreal bottomPadding () const
 
void setLeftPadding (qreal padding)
 
qreal leftPadding () const
 
void setRightPadding (qreal padding)
 
qreal rightPadding () const
 
void setPadding (qreal padding)
 
void setTopBorder (qreal width)
 
qreal topBorder () const
 
void setBottomBorder (qreal width)
 
qreal bottomBorder () const
 
void setLeftBorder (qreal width)
 
qreal leftBorder () const
 
void setRightBorder (qreal width)
 
qreal rightBorder () const
 
void setBorder (qreal width)
 
void setTopBorderStyle (QTextFrameFormat::BorderStyle style)
 
QTextFrameFormat::BorderStyle topBorderStyle () const
 
void setBottomBorderStyle (QTextFrameFormat::BorderStyle style)
 
QTextFrameFormat::BorderStyle bottomBorderStyle () const
 
void setLeftBorderStyle (QTextFrameFormat::BorderStyle style)
 
QTextFrameFormat::BorderStyle leftBorderStyle () const
 
void setRightBorderStyle (QTextFrameFormat::BorderStyle style)
 
QTextFrameFormat::BorderStyle rightBorderStyle () const
 
void setBorderStyle (QTextFrameFormat::BorderStyle style)
 
void setTopBorderBrush (const QBrush &brush)
 
QBrush topBorderBrush () const
 
void setBottomBorderBrush (const QBrush &brush)
 
QBrush bottomBorderBrush () const
 
void setLeftBorderBrush (const QBrush &brush)
 
QBrush leftBorderBrush () const
 
void setRightBorderBrush (const QBrush &brush)
 
QBrush rightBorderBrush () const
 
void setBorderBrush (const QBrush &brush)
 
- Public Member Functions inherited from QTextCharFormat
 QTextCharFormat ()
 
bool isValid () const
 
void setFont (const QFont &font, FontPropertiesInheritanceBehavior behavior=FontPropertiesAll)
 
QFont font () const
 
void setFontFamilies (const QStringList &families)
 
QStringList fontFamilies () const
 
void setFontStyleName (const QString &styleName)
 
QStringList fontStyleName () const
 
void setFontPointSize (qreal size)
 
qreal fontPointSize () const
 
void setFontWeight (int weight)
 
int fontWeight () const
 
void setFontItalic (bool italic)
 
bool fontItalic () const
 
void setFontCapitalization (QFont::Capitalization capitalization)
 
QFont::Capitalization fontCapitalization () const
 
void setFontLetterSpacingType (QFont::SpacingType letterSpacingType)
 
QFont::SpacingType fontLetterSpacingType () const
 
void setFontLetterSpacing (qreal spacing)
 
qreal fontLetterSpacing () const
 
void setFontWordSpacing (qreal spacing)
 
qreal fontWordSpacing () const
 
void setFontUnderline (bool underline)
 
bool fontUnderline () const
 
void setFontOverline (bool overline)
 
bool fontOverline () const
 
void setFontStrikeOut (bool strikeOut)
 
bool fontStrikeOut () const
 
void setUnderlineColor (const QColor &color)
 
QColor underlineColor () const
 
void setFontFixedPitch (bool fixedPitch)
 
bool fontFixedPitch () const
 
void setFontStretch (int factor)
 
int fontStretch () const
 
void setFontStyleHint (QFont::StyleHint hint, QFont::StyleStrategy strategy=QFont::PreferDefault)
 
void setFontStyleStrategy (QFont::StyleStrategy strategy)
 
QFont::StyleHint fontStyleHint () const
 
QFont::StyleStrategy fontStyleStrategy () const
 
void setFontHintingPreference (QFont::HintingPreference hintingPreference)
 
QFont::HintingPreference fontHintingPreference () const
 
void setFontKerning (bool enable)
 
bool fontKerning () const
 
void setUnderlineStyle (UnderlineStyle style)
 
UnderlineStyle underlineStyle () const
 
void setVerticalAlignment (VerticalAlignment alignment)
 
VerticalAlignment verticalAlignment () const
 
void setTextOutline (const QPen &pen)
 
QPen textOutline () const
 
void setToolTip (const QString &tip)
 
QString toolTip () const
 
void setSuperScriptBaseline (qreal baseline)
 
qreal superScriptBaseline () const
 
void setSubScriptBaseline (qreal baseline)
 
qreal subScriptBaseline () const
 
void setBaselineOffset (qreal baseline)
 
qreal baselineOffset () const
 
void setAnchor (bool anchor)
 
bool isAnchor () const
 
void setAnchorHref (const QString &value)
 
QString anchorHref () const
 
void setAnchorNames (const QStringList &names)
 
QStringList anchorNames () const
 
void setTableCellRowSpan (int tableCellRowSpan)
 
int tableCellRowSpan () const
 
void setTableCellColumnSpan (int tableCellColumnSpan)
 
int tableCellColumnSpan () const
 
- Public Member Functions inherited from QTextFormat
 QTextFormat ()
 
 QTextFormat (int type)
 
 QTextFormat (const QTextFormat &rhs)
 
QTextFormatoperator= (const QTextFormat &rhs)
 
 ~QTextFormat ()
 
void swap (QTextFormat &other)
 
void merge (const QTextFormat &other)
 
bool isValid () const
 
bool isEmpty () const
 
int type () const
 
int objectIndex () const
 
void setObjectIndex (int object)
 
QVariant property (int propertyId) const
 
void setProperty (int propertyId, const QVariant &value)
 
void clearProperty (int propertyId)
 
bool hasProperty (int propertyId) const
 
bool boolProperty (int propertyId) const
 
int intProperty (int propertyId) const
 
qreal doubleProperty (int propertyId) const
 
QString stringProperty (int propertyId) const
 
QColor colorProperty (int propertyId) const
 
QPen penProperty (int propertyId) const
 
QBrush brushProperty (int propertyId) const
 
QTextLength lengthProperty (int propertyId) const
 
QList< QTextLengthlengthVectorProperty (int propertyId) const
 
void setProperty (int propertyId, const QList< QTextLength > &lengths)
 
QMap< int, QVariantproperties () const
 
int propertyCount () const
 
void setObjectType (int type)
 
int objectType () const
 
bool isCharFormat () const
 
bool isBlockFormat () const
 
bool isListFormat () const
 
bool isFrameFormat () const
 
bool isImageFormat () const
 
bool isTableFormat () const
 
bool isTableCellFormat () const
 
QTextBlockFormat toBlockFormat () const
 
QTextCharFormat toCharFormat () const
 
QTextListFormat toListFormat () const
 
QTextTableFormat toTableFormat () const
 
QTextFrameFormat toFrameFormat () const
 
QTextImageFormat toImageFormat () const
 
QTextTableCellFormat toTableCellFormat () const
 
bool operator== (const QTextFormat &rhs) const
 
bool operator!= (const QTextFormat &rhs) const
 
 operator QVariant () const
 
void setLayoutDirection (Qt::LayoutDirection direction)
 
Qt::LayoutDirection layoutDirection () const
 
void setBackground (const QBrush &brush)
 
QBrush background () const
 
void clearBackground ()
 
void setForeground (const QBrush &brush)
 
QBrush foreground () const
 
void clearForeground ()
 

Protected Member Functions

 QTextTableCellFormat (const QTextFormat &fmt)
 
- Protected Member Functions inherited from QTextCharFormat
 QTextCharFormat (const QTextFormat &fmt)
 

Friends

class QTextFormat
 
Q_GUI_EXPORT QDataStreamoperator<< (QDataStream &, const QTextTableCellFormat &)
 
Q_GUI_EXPORT QDataStreamoperator>> (QDataStream &, QTextTableCellFormat &)
 

Additional Inherited Members

- Public Types inherited from QTextCharFormat
enum  VerticalAlignment {
  AlignNormal = 0 , AlignSuperScript , AlignSubScript , AlignMiddle ,
  AlignTop , AlignBottom , AlignBaseline
}
 
enum  UnderlineStyle {
  NoUnderline , SingleUnderline , DashUnderline , DotLine ,
  DashDotLine , DashDotDotLine , WaveUnderline , SpellCheckUnderline
}
 
enum  FontPropertiesInheritanceBehavior { FontPropertiesSpecifiedOnly , FontPropertiesAll }
 
- Public Types inherited from QTextFormat
enum  FormatType {
  InvalidFormat = -1 , BlockFormat = 1 , CharFormat = 2 , ListFormat = 3 ,
  FrameFormat = 5 , UserFormat = 100
}
 
enum  Property {
  ObjectIndex = 0x0 , CssFloat = 0x0800 , LayoutDirection = 0x0801 , OutlinePen = 0x810 ,
  BackgroundBrush = 0x820 , ForegroundBrush = 0x821 , BackgroundImageUrl = 0x823 , BlockAlignment = 0x1010 ,
  BlockTopMargin = 0x1030 , BlockBottomMargin = 0x1031 , BlockLeftMargin = 0x1032 , BlockRightMargin = 0x1033 ,
  TextIndent = 0x1034 , TabPositions = 0x1035 , BlockIndent = 0x1040 , LineHeight = 0x1048 ,
  LineHeightType = 0x1049 , BlockNonBreakableLines = 0x1050 , BlockTrailingHorizontalRulerWidth = 0x1060 , HeadingLevel = 0x1070 ,
  BlockQuoteLevel = 0x1080 , BlockCodeLanguage = 0x1090 , BlockCodeFence = 0x1091 , BlockMarker = 0x10A0 ,
  FirstFontProperty = 0x1FE0 , FontCapitalization = FirstFontProperty , FontLetterSpacing = 0x1FE1 , FontWordSpacing = 0x1FE2 ,
  FontStyleHint = 0x1FE3 , FontStyleStrategy = 0x1FE4 , FontKerning = 0x1FE5 , FontHintingPreference = 0x1FE6 ,
  FontFamilies = 0x1FE7 , FontStyleName = 0x1FE8 , FontLetterSpacingType = 0x1FE9 , FontStretch = 0x1FEA ,
  FontPointSize = 0x2001 , FontSizeAdjustment = 0x2002 , FontSizeIncrement = FontSizeAdjustment , FontWeight = 0x2003 ,
  FontItalic = 0x2004 , FontUnderline = 0x2005 , FontOverline = 0x2006 , FontStrikeOut = 0x2007 ,
  FontFixedPitch = 0x2008 , FontPixelSize = 0x2009 , LastFontProperty = FontPixelSize , TextUnderlineColor = 0x2020 ,
  TextVerticalAlignment = 0x2021 , TextOutline = 0x2022 , TextUnderlineStyle = 0x2023 , TextToolTip = 0x2024 ,
  TextSuperScriptBaseline = 0x2025 , TextSubScriptBaseline = 0x2026 , TextBaselineOffset = 0x2027 , IsAnchor = 0x2030 ,
  AnchorHref = 0x2031 , AnchorName = 0x2032 , OldFontLetterSpacingType = 0x2033 , OldFontStretch = 0x2034 ,
  OldTextUnderlineColor = 0x2010 , ObjectType = 0x2f00 , ListStyle = 0x3000 , ListIndent = 0x3001 ,
  ListNumberPrefix = 0x3002 , ListNumberSuffix = 0x3003 , FrameBorder = 0x4000 , FrameMargin = 0x4001 ,
  FramePadding = 0x4002 , FrameWidth = 0x4003 , FrameHeight = 0x4004 , FrameTopMargin = 0x4005 ,
  FrameBottomMargin = 0x4006 , FrameLeftMargin = 0x4007 , FrameRightMargin = 0x4008 , FrameBorderBrush = 0x4009 ,
  FrameBorderStyle = 0x4010 , TableColumns = 0x4100 , TableColumnWidthConstraints = 0x4101 , TableCellSpacing = 0x4102 ,
  TableCellPadding = 0x4103 , TableHeaderRowCount = 0x4104 , TableBorderCollapse = 0x4105 , TableCellRowSpan = 0x4810 ,
  TableCellColumnSpan = 0x4811 , TableCellTopPadding = 0x4812 , TableCellBottomPadding = 0x4813 , TableCellLeftPadding = 0x4814 ,
  TableCellRightPadding = 0x4815 , TableCellTopBorder = 0x4816 , TableCellBottomBorder = 0x4817 , TableCellLeftBorder = 0x4818 ,
  TableCellRightBorder = 0x4819 , TableCellTopBorderStyle = 0x481a , TableCellBottomBorderStyle = 0x481b , TableCellLeftBorderStyle = 0x481c ,
  TableCellRightBorderStyle = 0x481d , TableCellTopBorderBrush = 0x481e , TableCellBottomBorderBrush = 0x481f , TableCellLeftBorderBrush = 0x4820 ,
  TableCellRightBorderBrush = 0x4821 , ImageName = 0x5000 , ImageTitle = 0x5001 , ImageAltText = 0x5002 ,
  ImageWidth = 0x5010 , ImageHeight = 0x5011 , ImageQuality = 0x5014 , FullWidthSelection = 0x06000 ,
  PageBreakPolicy = 0x7000 , UserProperty = 0x100000
}
 
enum  ObjectTypes {
  NoObject , ImageObject , TableObject , TableCellObject ,
  UserObject = 0x1000
}
 
enum  PageBreakFlag { PageBreak_Auto = 0 , PageBreak_AlwaysBefore = 0x001 , PageBreak_AlwaysAfter = 0x010 }
 

Detailed Description

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

\reentrant

Since
4.4

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, QTextCharFormat

Definition at line 1040 of file qtextformat.h.

Constructor & Destructor Documentation

◆ QTextTableCellFormat() [1/2]

QTextTableCellFormat::QTextTableCellFormat ( )
Since
4.4

Constructs a new table cell format object.

Definition at line 3910 of file qtextformat.cpp.

Here is the call graph for this function:

◆ QTextTableCellFormat() [2/2]

QTextTableCellFormat::QTextTableCellFormat ( const QTextFormat fmt)
explicitprotected

Definition at line 3923 of file qtextformat.cpp.

Member Function Documentation

◆ bottomBorder()

qreal QTextTableCellFormat::bottomBorder ( ) const
inline
Since
5.14

Returns the bottom border width of the table cell.

Definition at line 1068 of file qtextformat.h.

◆ bottomBorderBrush()

QBrush QTextTableCellFormat::bottomBorderBrush ( ) const
inline
Since
5.14

Returns the bottom border brush of the table cell.

Definition at line 1112 of file qtextformat.h.

◆ bottomBorderStyle()

QTextFrameFormat::BorderStyle QTextTableCellFormat::bottomBorderStyle ( ) const
inline
Since
5.14

Returns the bottom border style of the table cell.

Definition at line 1090 of file qtextformat.h.

◆ bottomPadding()

qreal QTextTableCellFormat::bottomPadding ( ) const
inline
Since
4.4

Gets the bottom padding of the table cell.

See also
setBottomPadding(), leftPadding(), rightPadding(), topPadding()

Definition at line 1151 of file qtextformat.h.

Here is the call graph for this function:

◆ isValid()

bool QTextTableCellFormat::isValid ( ) const
inline
Since
4.4

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

Definition at line 1045 of file qtextformat.h.

◆ leftBorder()

qreal QTextTableCellFormat::leftBorder ( ) const
inline
Since
5.14

Returns the left border width of the table cell.

Definition at line 1073 of file qtextformat.h.

◆ leftBorderBrush()

QBrush QTextTableCellFormat::leftBorderBrush ( ) const
inline
Since
5.14

Returns the left border brush of the table cell.

Definition at line 1117 of file qtextformat.h.

◆ leftBorderStyle()

QTextFrameFormat::BorderStyle QTextTableCellFormat::leftBorderStyle ( ) const
inline
Since
5.14

Returns the left border style of the table cell.

Definition at line 1095 of file qtextformat.h.

◆ leftPadding()

qreal QTextTableCellFormat::leftPadding ( ) const
inline
Since
4.4

Gets the left padding of the table cell.

See also
setLeftPadding(), rightPadding(), topPadding(), bottomPadding()

Definition at line 1161 of file qtextformat.h.

Here is the call graph for this function:

◆ rightBorder()

qreal QTextTableCellFormat::rightBorder ( ) const
inline
Since
5.14

Returns the right border width of the table cell.

Definition at line 1078 of file qtextformat.h.

◆ rightBorderBrush()

QBrush QTextTableCellFormat::rightBorderBrush ( ) const
inline
Since
5.14

Returns the right border brush of the table cell.

Definition at line 1122 of file qtextformat.h.

◆ rightBorderStyle()

QTextFrameFormat::BorderStyle QTextTableCellFormat::rightBorderStyle ( ) const
inline
Since
5.14

Returns the right border style of the table cell.

Definition at line 1100 of file qtextformat.h.

◆ rightPadding()

qreal QTextTableCellFormat::rightPadding ( ) const
inline
Since
4.4

Gets the right padding of the table cell.

See also
setRightPadding(), leftPadding(), topPadding(), bottomPadding()

Definition at line 1171 of file qtextformat.h.

Here is the call graph for this function:

◆ setBorder()

void QTextTableCellFormat::setBorder ( qreal  width)
inline
Since
5.14

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

See also
setLeftBorder(), setRightBorder(), setTopBorder(), setBottomBorder()
QTextTableFormat::setBorderCollapse

Definition at line 1184 of file qtextformat.h.

Here is the call graph for this function:

◆ setBorderBrush()

void QTextTableCellFormat::setBorderBrush ( const QBrush brush)
inline
Since
5.14

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

See also
setLeftBorderBrush(), setRightBorderBrush(), setTopBorderBrush(), setBottomBorderBrush()
QTextTableFormat::setBorderCollapse

Definition at line 1200 of file qtextformat.h.

Here is the call graph for this function:

◆ setBorderStyle()

void QTextTableCellFormat::setBorderStyle ( QTextFrameFormat::BorderStyle  style)
inline
Since
5.14

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

See also
setLeftBorderStyle(), setRightBorderStyle(), setTopBorderStyle(), setBottomBorderStyle()
QTextTableFormat::setBorderCollapse

Definition at line 1192 of file qtextformat.h.

Here is the call graph for this function:

◆ setBottomBorder()

void QTextTableCellFormat::setBottomBorder ( qreal  width)
inline
Since
5.14

Sets the bottom border width of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1066 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBottomBorderBrush()

void QTextTableCellFormat::setBottomBorderBrush ( const QBrush brush)
inline
Since
5.14

Sets the bottom border brush of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1110 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBottomBorderStyle()

void QTextTableCellFormat::setBottomBorderStyle ( QTextFrameFormat::BorderStyle  style)
inline
Since
5.14

Sets the bottom border style of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1088 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBottomPadding()

void QTextTableCellFormat::setBottomPadding ( qreal  padding)
inline
Since
4.4

Sets the bottom padding of the table cell.

See also
bottomPadding(), setLeftPadding(), setRightPadding(), setTopPadding()

Definition at line 1146 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLeftBorder()

void QTextTableCellFormat::setLeftBorder ( qreal  width)
inline
Since
5.14

Sets the left border width of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1071 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLeftBorderBrush()

void QTextTableCellFormat::setLeftBorderBrush ( const QBrush brush)
inline
Since
5.14

Sets the left border brush of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1115 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLeftBorderStyle()

void QTextTableCellFormat::setLeftBorderStyle ( QTextFrameFormat::BorderStyle  style)
inline
Since
5.14

Sets the left border style of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1093 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLeftPadding()

void QTextTableCellFormat::setLeftPadding ( qreal  padding)
inline
Since
4.4

Sets the left padding of the table cell.

See also
leftPadding(), setRightPadding(), setTopPadding(), setBottomPadding()

Definition at line 1156 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPadding()

void QTextTableCellFormat::setPadding ( qreal  padding)
inline
Since
4.4

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

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

Definition at line 1176 of file qtextformat.h.

Here is the call graph for this function:

◆ setRightBorder()

void QTextTableCellFormat::setRightBorder ( qreal  width)
inline
Since
5.14

Sets the right border width of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1076 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRightBorderBrush()

void QTextTableCellFormat::setRightBorderBrush ( const QBrush brush)
inline
Since
5.14

Sets the right border brush of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1120 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRightBorderStyle()

void QTextTableCellFormat::setRightBorderStyle ( QTextFrameFormat::BorderStyle  style)
inline
Since
5.14

Sets the right border style of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1098 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRightPadding()

void QTextTableCellFormat::setRightPadding ( qreal  padding)
inline
Since
4.4

Sets the right padding of the table cell.

See also
rightPadding(), setLeftPadding(), setTopPadding(), setBottomPadding()

Definition at line 1166 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTopBorder()

void QTextTableCellFormat::setTopBorder ( qreal  width)
inline
Since
5.14

Sets the top border width of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1061 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTopBorderBrush()

void QTextTableCellFormat::setTopBorderBrush ( const QBrush brush)
inline
Since
5.14

Sets the top border brush of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1105 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTopBorderStyle()

void QTextTableCellFormat::setTopBorderStyle ( QTextFrameFormat::BorderStyle  style)
inline
Since
5.14

Sets the top border style of the table cell.

See also
QTextTableFormat::setBorderCollapse

Definition at line 1083 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTopPadding()

void QTextTableCellFormat::setTopPadding ( qreal  padding)
inline
Since
4.4

Sets the top padding of the table cell.

See also
topPadding(), setLeftPadding(), setRightPadding(), setBottomPadding()

Definition at line 1136 of file qtextformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ topBorder()

qreal QTextTableCellFormat::topBorder ( ) const
inline
Since
5.14

Returns the top border width of the table cell.

Definition at line 1063 of file qtextformat.h.

◆ topBorderBrush()

QBrush QTextTableCellFormat::topBorderBrush ( ) const
inline
Since
5.14

Returns the top border brush of the table cell.

Definition at line 1107 of file qtextformat.h.

◆ topBorderStyle()

QTextFrameFormat::BorderStyle QTextTableCellFormat::topBorderStyle ( ) const
inline
Since
5.14

Returns the top border style of the table cell.

Definition at line 1085 of file qtextformat.h.

◆ topPadding()

qreal QTextTableCellFormat::topPadding ( ) const
inline
Since
4.4

Gets the top padding of the table cell.

See also
setTopPadding(), leftPadding(), rightPadding(), bottomPadding()

Definition at line 1141 of file qtextformat.h.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

Q_GUI_EXPORT QDataStream& operator<< ( QDataStream stream,
const QTextTableCellFormat fmt 
)
friend

Definition at line 540 of file qtextformat.cpp.

◆ operator>>

Q_GUI_EXPORT QDataStream& operator>> ( QDataStream stream,
QTextTableCellFormat fmt 
)
friend

Definition at line 545 of file qtextformat.cpp.

◆ QTextFormat

friend class QTextFormat
friend

Definition at line 1131 of file qtextformat.h.


The documentation for this class was generated from the following files: