18 #ifndef QGSCOMPOSERTABLECOLUMN_H
19 #define QGSCOMPOSERTABLECOLUMN_H
42 virtual bool writeXML( QDomElement& columnElem, QDomDocument & doc )
const;
49 virtual bool readXML(
const QDomElement& columnElem );
57 QString
heading()
const {
return mHeading; }
65 void setHeading( QString heading ) { mHeading = heading; }
73 Qt::AlignmentFlag
hAlignment()
const {
return mHAlignment; }
81 void setHAlignment( Qt::AlignmentFlag alignment ) { mHAlignment = alignment; }
119 void setSortOrder( Qt::SortOrder sortOrder ) { mSortOrder = sortOrder; }
166 #endif // QGSCOMPOSERTABLECOLUMN_H
void setAttribute(QString attribute)
Sets the attribute name or expression used for the column's values.
int sortByRank() const
Returns the sort rank for the column.
Qt::SortOrder sortOrder() const
Returns the sort order for the column.
void setHeading(QString heading)
Sets the heading for a column, which is the value displayed in the columns header cell...
void setHAlignment(Qt::AlignmentFlag alignment)
Sets the horizontal alignment for a column, which controls the alignment used for drawing column valu...
Stores properties of a column in a QgsComposerTable.
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.
Qt::AlignmentFlag hAlignment() const
Returns the horizontal alignment for a column, which controls the alignment used for drawing column v...
QString attribute() const
Returns the attribute name or expression used for the column's values.
Qt::AlignmentFlag mHAlignment
void setSortByRank(int sortByRank)
Sets the sort rank for the column.