11 #ifndef KDREPORTSABSTRACTTABLEELEMENT_H
12 #define KDREPORTSABSTRACTTABLEELEMENT_H
21 class QTextTableFormat;
26 class AbstractTableElementPrivate;
40 void setBorder(qreal border);
51 void setBorderBrush(
const QBrush &brush);
57 QBrush borderBrush()
const;
65 void setPadding(qreal padding);
70 qreal padding()
const;
99 void setDefaultFont(
const QFont &font);
106 QFont defaultFont(
bool *isSet)
const;
117 , unit(static_cast<
Unit>(Variable))
134 void setColumnConstraints(
const QVector<ColumnConstraint> &constraints);
160 void fillTableFormat(QTextTableFormat &tableFormat, QTextCursor &textDocCursor)
const;
163 std::unique_ptr<AbstractTableElementPrivate> d;
@ Percent
Percentage of the text width, i.e. the page width minus margins.
@ Millimeters
Millimeters (the default)
ColumnConstraint(qreal w, Unit u)