QgsOrganizeTableColumnsDialog class

Dialog for organising (hiding and reordering) columns in the attributes table.

Constructors, destructors, conversion operators

QgsOrganizeTableColumnsDialog(const QgsVectorLayer* vl, QgsAttributeTableConfig config, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Window)
Constructor.
QgsOrganizeTableColumnsDialog(const QgsVectorLayer* vl, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Window)
Constructor.

Public functions

auto config() const -> QgsAttributeTableConfig
Gets the updated configuration.

Public slots

void hideAll()
hideAll unchecks all the fields to hide them all in the attribute table
void showAll()
showAll checks all the fields to show them all in the attribute table

Function documentation

QgsOrganizeTableColumnsDialog::QgsOrganizeTableColumnsDialog(const QgsVectorLayer* vl, QgsAttributeTableConfig config, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Window)

Constructor.

Parameters
vl The concerned vector layer
config attribute table config to use.
parent parent object
flags window flags

QgsOrganizeTableColumnsDialog::QgsOrganizeTableColumnsDialog(const QgsVectorLayer* vl, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Window)

Constructor.

Parameters
vl The concerned vector layer
parent parent object
flags window flags