16 #ifndef QGSATTRIBUTETABLECONFIG_H 17 #define QGSATTRIBUTETABLECONFIG_H 25 #include "qgis_core.h" 83 QVector<QgsAttributeTableConfig::ColumnConfig> columns()
const;
95 int mapVisibleColumnToIndex(
int visibleColumn )
const;
101 void setColumns(
const QVector<QgsAttributeTableConfig::ColumnConfig> &columns );
114 bool actionWidgetVisible()
const;
119 void setActionWidgetVisible(
bool visible );
134 void writeXml( QDomNode &node )
const;
139 void readXml(
const QDomNode &node );
144 QString sortExpression()
const;
149 void setSortExpression(
const QString &sortExpression );
156 int columnWidth(
int column )
const;
164 void setColumnWidth(
int column,
int width );
171 bool columnHidden(
int column )
const;
179 void setColumnHidden(
int column,
bool hidden );
185 Qt::SortOrder sortOrder()
const;
191 void setSortOrder( Qt::SortOrder sortOrder );
205 QVector<ColumnConfig> mColumns;
207 QString mSortExpression;
208 Qt::SortOrder mSortOrder = Qt::AscendingOrder;
213 #endif // QGSATTRIBUTETABLECONFIG_H bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
Container of fields for a vector layer.
ActionWidgetStyle
The style of the action widget in the attribute table.
Q_DECLARE_METATYPE(QgsMeshTimeSettings)
QString name
The name of the attribute if this column represents a field.
Type
The type of an attribute table column.
This column represents a field.
Defines the configuration of a column in the attribute table.
This is a container for configuration of the attribute table.