QtBase
v6.3.1
|
The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument. \inmodule QtGui. More...
#include <qtextformat.h>
Protected Member Functions | |
QTextTableCellFormat (const QTextFormat &fmt) | |
Protected Member Functions inherited from QTextCharFormat | |
QTextCharFormat (const QTextFormat &fmt) | |
Friends | |
class | QTextFormat |
Q_GUI_EXPORT QDataStream & | operator<< (QDataStream &, const QTextTableCellFormat &) |
Q_GUI_EXPORT QDataStream & | operator>> (QDataStream &, QTextTableCellFormat &) |
The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument. \inmodule QtGui.
\reentrant
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().
Definition at line 1040 of file qtextformat.h.
QTextTableCellFormat::QTextTableCellFormat | ( | ) |
Constructs a new table cell format object.
Definition at line 3910 of file qtextformat.cpp.
|
explicitprotected |
Definition at line 3923 of file qtextformat.cpp.
|
inline |
Returns the bottom border width of the table cell.
Definition at line 1068 of file qtextformat.h.
|
inline |
Returns the bottom border brush of the table cell.
Definition at line 1112 of file qtextformat.h.
|
inline |
Returns the bottom border style of the table cell.
Definition at line 1090 of file qtextformat.h.
|
inline |
Gets the bottom padding of the table cell.
Definition at line 1151 of file qtextformat.h.
|
inline |
Returns true
if this table cell format is valid; otherwise returns false
.
Definition at line 1045 of file qtextformat.h.
|
inline |
Returns the left border width of the table cell.
Definition at line 1073 of file qtextformat.h.
|
inline |
Returns the left border brush of the table cell.
Definition at line 1117 of file qtextformat.h.
|
inline |
Returns the left border style of the table cell.
Definition at line 1095 of file qtextformat.h.
|
inline |
Gets the left padding of the table cell.
Definition at line 1161 of file qtextformat.h.
|
inline |
Returns the right border width of the table cell.
Definition at line 1078 of file qtextformat.h.
|
inline |
Returns the right border brush of the table cell.
Definition at line 1122 of file qtextformat.h.
|
inline |
Returns the right border style of the table cell.
Definition at line 1100 of file qtextformat.h.
|
inline |
Gets the right padding of the table cell.
Definition at line 1171 of file qtextformat.h.
Sets the left, right, top, and bottom border width of the table cell.
Definition at line 1184 of file qtextformat.h.
Sets the left, right, top, and bottom border brush of the table cell.
Definition at line 1200 of file qtextformat.h.
|
inline |
Sets the left, right, top, and bottom border style of the table cell.
Definition at line 1192 of file qtextformat.h.
Sets the bottom border width of the table cell.
Definition at line 1066 of file qtextformat.h.
Sets the bottom border brush of the table cell.
Definition at line 1110 of file qtextformat.h.
|
inline |
Sets the bottom border style of the table cell.
Definition at line 1088 of file qtextformat.h.
Sets the bottom padding of the table cell.
Definition at line 1146 of file qtextformat.h.
Sets the left border width of the table cell.
Definition at line 1071 of file qtextformat.h.
Sets the left border brush of the table cell.
Definition at line 1115 of file qtextformat.h.
|
inline |
Sets the left border style of the table cell.
Definition at line 1093 of file qtextformat.h.
Sets the left padding of the table cell.
Definition at line 1156 of file qtextformat.h.
Sets the left, right, top, and bottom padding of the table cell.
Definition at line 1176 of file qtextformat.h.
Sets the right border width of the table cell.
Definition at line 1076 of file qtextformat.h.
Sets the right border brush of the table cell.
Definition at line 1120 of file qtextformat.h.
|
inline |
Sets the right border style of the table cell.
Definition at line 1098 of file qtextformat.h.
Sets the right padding of the table cell.
Definition at line 1166 of file qtextformat.h.
Sets the top border width of the table cell.
Definition at line 1061 of file qtextformat.h.
Sets the top border brush of the table cell.
Definition at line 1105 of file qtextformat.h.
|
inline |
Sets the top border style of the table cell.
Definition at line 1083 of file qtextformat.h.
Sets the top padding of the table cell.
Definition at line 1136 of file qtextformat.h.
|
inline |
Returns the top border width of the table cell.
Definition at line 1063 of file qtextformat.h.
|
inline |
Returns the top border brush of the table cell.
Definition at line 1107 of file qtextformat.h.
|
inline |
Returns the top border style of the table cell.
Definition at line 1085 of file qtextformat.h.
|
inline |
Gets the top padding of the table cell.
Definition at line 1141 of file qtextformat.h.
|
friend |
Definition at line 540 of file qtextformat.cpp.
|
friend |
Definition at line 545 of file qtextformat.cpp.
|
friend |
Definition at line 1131 of file qtextformat.h.