QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
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 ()=default
 Constructor for ColumnConfig.
 
bool operator== (const QgsAttributeTableConfig::ColumnConfig &other) const
 

Public Attributes

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

Detailed Description

Defines the configuration of a column in the attribute table.

Definition at line 51 of file qgsattributetableconfig.h.

Constructor & Destructor Documentation

◆ ColumnConfig()

QgsAttributeTableConfig::ColumnConfig::ColumnConfig ( )
default

Constructor for ColumnConfig.

Member Function Documentation

◆ operator==()

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

Definition at line 318 of file qgsattributetableconfig.cpp.

Member Data Documentation

◆ hidden

bool QgsAttributeTableConfig::ColumnConfig::hidden = false

Flag that controls if the column is hidden.

Definition at line 66 of file qgsattributetableconfig.h.

◆ name

QString QgsAttributeTableConfig::ColumnConfig::name

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

Definition at line 63 of file qgsattributetableconfig.h.

◆ type

QgsAttributeTableConfig::Type QgsAttributeTableConfig::ColumnConfig::type = Field

The type of this column.

Definition at line 60 of file qgsattributetableconfig.h.

◆ width

int QgsAttributeTableConfig::ColumnConfig::width = -1

Width of column, or -1 for default width.

Definition at line 69 of file qgsattributetableconfig.h.


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