QtGui/qtexttable.h Source File
Go to the documentation of this file.
57 class QTextTablePrivate;
66 {
table = o.table; fragment = o.fragment;
return *
this; }
75 int columnSpan()
const;
79 QTextCursor firstCursorPosition()
const;
80 QTextCursor lastCursorPosition()
const;
81 int firstPosition()
const;
82 int lastPosition()
const;
84 inline bool operator==(
const QTextTableCell &other)
const
85 {
return table == other.table && fragment == other.fragment; }
86 inline bool operator!=(
const QTextTableCell &other)
const
92 int tableCellFormatIndex()
const;
95 friend class QTextTable;
97 :
table(t), fragment(f) {}
99 const QTextTable *
table;
110 void resize(
int rows,
int cols);
111 void insertRows(
int pos,
int num);
112 void insertColumns(
int pos,
int num);
113 void appendRows(
int count);
114 void appendColumns(
int count);
115 void removeRows(
int pos,
int num);
116 void removeColumns(
int pos,
int num);
118 void mergeCells(
int row,
int col,
int numRows,
int numCols);
120 void splitCell(
int row,
int col,
int numRows,
int numCols);
145 #endif // QTEXTTABLE_H
QTextTableCell(const QTextTableCell &o)
void setFormat(const QTextFormat &format)
QTextFormat format() const
bool operator!=(const QTextTableCell &other) const
QTextTableFormat toTableFormat() const
bool operator==(const QTextTableCell &other) const
GLenum GLsizei GLenum GLenum const GLvoid * table
bool operator==(const Attribute &cA, const AttributeInstance< type > &cB)
This operator compares the two attributes and NOT their values.
GLenum GLenum GLvoid * row
#define QT_BEGIN_NAMESPACE
GLenum GLsizei GLenum format
friend class QTextTableCell
QTextTableCell & operator=(const QTextTableCell &o)
GLuint GLuint GLsizei count
GLenum GLenum GLvoid GLvoid * column
QTextTableFormat format() const