16 #ifndef QGSATTRIBUTETABLECONFIG_H 17 #define QGSATTRIBUTETABLECONFIG_H 88 int mapVisibleColumnToIndex(
int visibleColumn )
const;
107 bool actionWidgetVisible()
const;
112 void setActionWidgetVisible(
bool visible );
127 void writeXml(
QDomNode& node )
const;
132 void readXml(
const QDomNode& node );
137 QString sortExpression()
const;
142 void setSortExpression(
const QString& sortExpression );
148 int columnWidth(
int column )
const;
155 void setColumnWidth(
int column,
int width );
161 bool columnHidden(
int column )
const;
168 void setColumnHidden(
int column,
bool hidden );
174 Qt::SortOrder sortOrder()
const;
180 void setSortOrder(
const Qt::SortOrder& sortOrder );
191 Qt::SortOrder mSortOrder;
196 #endif // QGSATTRIBUTETABLECONFIG_H
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
Q_DECLARE_METATYPE(QgsMimeDataUtils::UriList)
Container of fields for a vector layer.
Type type
The type of this column.
ActionWidgetStyle
The style of the action widget in the attribute table.
bool hidden
Flag that controls if the column is hidden.
QString name
The name of the attribute if this column represents a field.
int width
Width of column, or -1 for default width.
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.
ColumnConfig()
Constructor for ColumnConfig.