11 #ifndef KDREPORTSTABLELAYOUT_H
12 #define KDREPORTSTABLELAYOUT_H
19 class QAbstractItemModel;
41 return m_vHeaderWidth;
46 return m_hHeaderHeight;
53 return m_cellFontScaler.
font();
57 return m_horizontalHeaderFontScaler.
font();
61 return m_verticalHeaderFontScaler.
font();
97 qreal addIconWidth(qreal textWidth,
const QVariant &cellDecoration)
const;
98 void updateRowHeight();
101 qreal m_vHeaderWidth;
102 qreal m_hHeaderHeight;
qreal scalingFactor() const
qreal vHeaderWidth() const
QFont horizontalHeaderScaledFont() const
QAbstractItemModel * m_model
bool m_horizontalHeaderVisible
QSize decorationSize(const QVariant &cellDecoration) const
void ensureScalingFactorForHeight(qreal maxRowHeight)
void setInitialFontScalingFactor(qreal fontScalingFactor)
qreal hHeaderHeight() const
QVector< QString > m_widestTextPerColumn
bool m_verticalHeaderVisible
qreal scalingFactor() const
void ensureScalingFactorForWidth(qreal scalingFactor)
qreal scaledCellPadding() const
void updateColumnWidths()
QFont verticalHeaderScaledFont() const
QFont m_verticalHeaderFont
QFont m_horizontalHeaderFont
QVector< qreal > m_columnWidths