|
| QgsAttributeTableConfig ()=default |
| Constructor for QgsAttributeTableConfig. More...
|
|
ActionWidgetStyle | actionWidgetStyle () const |
| Gets the style of the action widget. More...
|
|
bool | actionWidgetVisible () const |
| Returns true if the action widget is visible. More...
|
|
bool | columnHidden (int column) const |
| Returns true if the specified column is hidden. More...
|
|
QVector< QgsAttributeTableConfig::ColumnConfig > | columns () const |
| Gets the list with all columns and their configuration. More...
|
|
int | columnWidth (int column) const |
| Returns the width of a column, or -1 if column should use default width. More...
|
|
bool | hasSameColumns (const QgsAttributeTableConfig &other) const |
| Compare this configuration's columns name, type, and order to other. More...
|
|
bool | isEmpty () const |
| Returns true if the configuration is empty, ie it contains no columns. More...
|
|
int | mapVisibleColumnToIndex (int visibleColumn) const |
| Maps a visible column index to its original column index. More...
|
|
bool | operator!= (const QgsAttributeTableConfig &other) const |
| Compare this configuration to other. More...
|
|
void | readXml (const QDomNode &node) |
| Deserialize to XML on layer load. More...
|
|
void | setActionWidgetStyle (ActionWidgetStyle actionWidgetStyle) |
| Set the style of the action widget. More...
|
|
void | setActionWidgetVisible (bool visible) |
| Set if the action widget is visible. More...
|
|
void | setColumnHidden (int column, bool hidden) |
| Sets whether the specified column should be hidden. More...
|
|
void | setColumns (const QVector< QgsAttributeTableConfig::ColumnConfig > &columns) |
| Set the list of columns visible in the attribute table. More...
|
|
void | setColumnWidth (int column, int width) |
| Sets the width of a column. More...
|
|
void | setSortExpression (const QString &sortExpression) |
| Set the sort expression used for sorting. More...
|
|
void | setSortOrder (Qt::SortOrder sortOrder) |
| Set the sort order. More...
|
|
int | size () const |
| Returns the number of columns in the configuration. More...
|
|
QString | sortExpression () const |
| Gets the expression used for sorting. More...
|
|
Qt::SortOrder | sortOrder () const |
| Gets the sort order. More...
|
|
void | update (const QgsFields &fields) |
| Update the configuration with the given fields. More...
|
|
void | writeXml (QDomNode &node) const |
| Serialize to XML on layer save. More...
|
|