QGIS API Documentation  3.37.0-Master (a5b4d9743e8)
Public Slots | Public Member Functions | List of all members
QgsOrganizeTableColumnsDialog Class Reference

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

#include <qgsorganizetablecolumnsdialog.h>

Inheritance diagram for QgsOrganizeTableColumnsDialog:
Inheritance graph
[legend]

Public Slots

void hideAll ()
 hideAll unchecks all the fields to hide them all in the attribute table More...
 
void showAll ()
 showAll checks all the fields to show them all in the attribute table More...
 
void toggleSelection ()
 Toggle the check state of selected fields to hide or show them in the attribute table. More...
 

Public Member Functions

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

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 45 of file qgsorganizetablecolumnsdialog.cpp.

Member Function Documentation

◆ config()

QgsAttributeTableConfig QgsOrganizeTableColumnsDialog::config ( ) const

Gets the updated configuration.

Definition at line 112 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 140 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 132 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 148 of file qgsorganizetablecolumnsdialog.cpp.


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