18 #ifndef QGSCOMPOSERTABLECOLUMN_H 19 #define QGSCOMPOSERTABLECOLUMN_H 54 virtual bool readXML(
const QDomElement& columnElem );
61 double width()
const {
return mWidth; }
68 void setWidth(
const double width ) { mWidth = width; }
93 Qt::AlignmentFlag
hAlignment()
const {
return mHAlignment; }
102 void setHAlignment( Qt::AlignmentFlag alignment ) { mHAlignment = alignment; }
120 void setVAlignment( Qt::AlignmentFlag alignment ) { mVAlignment = alignment; }
158 void setSortOrder( Qt::SortOrder sortOrder ) { mSortOrder = sortOrder; }
197 Qt::AlignmentFlag mHAlignment;
198 Qt::AlignmentFlag mVAlignment;
202 Qt::SortOrder mSortOrder;
207 #endif // QGSCOMPOSERTABLECOLUMN_H void setAttribute(const QString &attribute)
Sets the attribute name or expression used for the column's values.
Qt::AlignmentFlag hAlignment() const
Returns the horizontal alignment for a column, which controls the alignment used for drawing column v...
Qt::AlignmentFlag vAlignment() const
Returns the vertical alignment for a column, which controls the alignment used for drawing column val...
void setHAlignment(Qt::AlignmentFlag alignment)
Sets the horizontal alignment for a column, which controls the alignment used for drawing column valu...
void setHeading(const QString &heading)
Sets the heading for a column, which is the value displayed in the columns header cell...
int sortByRank() const
Returns the sort rank for the column.
Stores properties of a column in a QgsComposerTable.
double width() const
Returns the width for a column.
QString heading() const
Returns the heading for a column, which is the value displayed in the columns header cell...
void setSortOrder(Qt::SortOrder sortOrder)
Sets the sort order for the column.
void setVAlignment(Qt::AlignmentFlag alignment)
Sets the vertical alignment for a column, which controls the alignment used for drawing column values...
QString attribute() const
Returns the attribute name or expression used for the column's values.
void setWidth(const double width)
Sets the width for a column.
Qt::SortOrder sortOrder() const
Returns the sort order for the column.
void setSortByRank(int sortByRank)
Sets the sort rank for the column.