QGIS API Documentation 3.38.0-Grenoble (exported)
|
Dialog for organising (hiding and reordering) columns in the attributes table. More...
#include <qgsorganizetablecolumnsdialog.h>
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. | |
Dialog for organising (hiding and reordering) columns in the attributes table.
Definition at line 35 of file qgsorganizetablecolumnsdialog.h.
QgsOrganizeTableColumnsDialog::QgsOrganizeTableColumnsDialog | ( | const QgsVectorLayer * | vl, |
const QgsAttributeTableConfig & | config, | ||
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | flags = Qt::Window |
||
) |
Constructor.
vl | The concerned vector layer |
parent | parent object |
config | attribute table config to use. |
flags | window flags |
Definition at line 37 of file qgsorganizetablecolumnsdialog.cpp.
QgsAttributeTableConfig QgsOrganizeTableColumnsDialog::config | ( | ) | const |
Gets the updated configuration.
Definition at line 91 of file qgsorganizetablecolumnsdialog.cpp.
|
slot |
hideAll unchecks all the fields to hide them all in the attribute table
Definition at line 119 of file qgsorganizetablecolumnsdialog.cpp.
|
slot |
showAll checks all the fields to show them all in the attribute table
Definition at line 111 of file qgsorganizetablecolumnsdialog.cpp.
|
slot |
Toggle the check state of selected fields to hide or show them in the attribute table.
Definition at line 127 of file qgsorganizetablecolumnsdialog.cpp.