QGIS API Documentation  3.8.0-Zanzibar (11aff65)
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...
 

Public Member Functions

 QgsOrganizeTableColumnsDialog (const QgsVectorLayer *vl, QgsAttributeTableConfig config, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::Window)
 Constructor. More...
 
 QgsOrganizeTableColumnsDialog (const QgsVectorLayer *vl, 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.

Since
QGIS 2.16

Definition at line 35 of file qgsorganizetablecolumnsdialog.h.

Constructor & Destructor Documentation

◆ QgsOrganizeTableColumnsDialog() [1/2]

QgsOrganizeTableColumnsDialog::QgsOrganizeTableColumnsDialog ( const QgsVectorLayer vl,
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.

◆ QgsOrganizeTableColumnsDialog() [2/2]

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

Constructor.

Parameters
vlThe concerned vector layer
parentparent object
flagswindow flags

Definition at line 103 of file qgsorganizetablecolumnsdialog.cpp.

Member Function Documentation

◆ config()

QgsAttributeTableConfig QgsOrganizeTableColumnsDialog::config ( ) const

Gets the updated configuration.

Definition at line 108 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 136 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 128 of file qgsorganizetablecolumnsdialog.cpp.


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