QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsOrganizeTableColumnsDialog Class Reference

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

#include <qgsorganizetablecolumnsdialog.h>

Inheritance diagram for QgsOrganizeTableColumnsDialog:

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
void toggleSelection ()
 Toggle the check state of selected fields to hide or show them in the attribute table.

Public Member Functions

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

Detailed Description

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

Definition at line 35 of file qgsorganizetablecolumnsdialog.h.

Constructor & Destructor Documentation

◆ QgsOrganizeTableColumnsDialog()

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

Constructor.

Parameters
vlThe concerned vector layer
parentparent object
configattribute table config to use.
flagswindow flags

Definition at line 36 of file qgsorganizetablecolumnsdialog.cpp.

Member Function Documentation

◆ config()

QgsAttributeTableConfig QgsOrganizeTableColumnsDialog::config ( ) const

Gets the updated configuration.

Definition at line 90 of file qgsorganizetablecolumnsdialog.cpp.

◆ hideAll

void QgsOrganizeTableColumnsDialog::hideAll ( )
slot

hideAll unchecks all the fields to hide them all in the attribute table

Definition at line 118 of file qgsorganizetablecolumnsdialog.cpp.

◆ showAll

void QgsOrganizeTableColumnsDialog::showAll ( )
slot

showAll checks all the fields to show them all in the attribute table

Definition at line 110 of file qgsorganizetablecolumnsdialog.cpp.

◆ toggleSelection

void QgsOrganizeTableColumnsDialog::toggleSelection ( )
slot

Toggle the check state of selected fields to hide or show them in the attribute table.

Since
QGIS 3.36

Definition at line 126 of file qgsorganizetablecolumnsdialog.cpp.


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