QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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 38 of file qgsorganizetablecolumnsdialog.cpp.
QgsAttributeTableConfig QgsOrganizeTableColumnsDialog::config | ( | ) | const |
Gets the updated configuration.
Definition at line 92 of file qgsorganizetablecolumnsdialog.cpp.
|
slot |
hideAll unchecks all the fields to hide them all in the attribute table
Definition at line 120 of file qgsorganizetablecolumnsdialog.cpp.
|
slot |
showAll checks all the fields to show them all in the attribute table
Definition at line 112 of file qgsorganizetablecolumnsdialog.cpp.
|
slot |
Toggle the check state of selected fields to hide or show them in the attribute table.
Definition at line 128 of file qgsorganizetablecolumnsdialog.cpp.