QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | Public Attributes | List of all members
QgsAttributeTableConfig::ColumnConfig Struct Reference

Defines the configuration of a column in the attribute table. More...

#include <qgsattributetableconfig.h>

Public Member Functions

 ColumnConfig ()
 Constructor for ColumnConfig. More...
 
bool operator== (const ColumnConfig &other) const
 

Public Attributes

bool hidden
 Flag that controls if the column is hidden. More...
 
QString name
 The name of the attribute if this column represents a field. More...
 
Type type
 The type of this column. More...
 
int width
 Width of column, or -1 for default width. More...
 

Detailed Description

Defines the configuration of a column in the attribute table.

Definition at line 46 of file qgsattributetableconfig.h.

Constructor & Destructor Documentation

◆ ColumnConfig()

QgsAttributeTableConfig::ColumnConfig::ColumnConfig ( )
inline

Constructor for ColumnConfig.

Definition at line 49 of file qgsattributetableconfig.h.

Member Function Documentation

◆ operator==()

bool QgsAttributeTableConfig::ColumnConfig::operator== ( const ColumnConfig other) const

Definition at line 294 of file qgsattributetableconfig.cpp.

Member Data Documentation

◆ hidden

bool QgsAttributeTableConfig::ColumnConfig::hidden

Flag that controls if the column is hidden.

Definition at line 59 of file qgsattributetableconfig.h.

◆ name

QString QgsAttributeTableConfig::ColumnConfig::name

The name of the attribute if this column represents a field.

Definition at line 58 of file qgsattributetableconfig.h.

◆ type

Type QgsAttributeTableConfig::ColumnConfig::type

The type of this column.

Definition at line 57 of file qgsattributetableconfig.h.

◆ width

int QgsAttributeTableConfig::ColumnConfig::width

Width of column, or -1 for default width.

Definition at line 60 of file qgsattributetableconfig.h.


The documentation for this struct was generated from the following files: