18 #ifndef QGSCOMPOSERTABLECOLUMN_H
19 #define QGSCOMPOSERTABLECOLUMN_H
53 virtual bool readXML(
const QDomElement& columnElem );
60 double width()
const {
return mWidth; }
67 void setWidth(
const double width ) { mWidth = width; }
91 Qt::AlignmentFlag
hAlignment()
const {
return mHAlignment; }
99 void setHAlignment( Qt::AlignmentFlag alignment ) { mHAlignment = alignment; }
137 void setSortOrder( Qt::SortOrder sortOrder ) { mSortOrder = sortOrder; }
176 Qt::AlignmentFlag mHAlignment;
180 Qt::SortOrder mSortOrder;
185 #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.
double width() const
Returns the width for a 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.
void setWidth(const double width)
Sets the width for a column.
void setSortByRank(int sortByRank)
Sets the sort rank for the column.