QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
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
 
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 38 of file qgsorganizetablecolumnsdialog.cpp.

Member Function Documentation

◆ config()

QgsAttributeTableConfig QgsOrganizeTableColumnsDialog::config ( ) const

Gets the updated configuration.

Definition at line 92 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 120 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 112 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 128 of file qgsorganizetablecolumnsdialog.cpp.


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