QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
qgsorganizetablecolumnsdialog.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsorganizetablecolumnsdialog.h - dialog for attribute table
3 -------------------
4 date : Feb 2016
5 copyright : Stéphane Brunner
7
8 ***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17#ifndef QGSORGANIZEFILTERTABLESDIALOG_H_
18#define QGSORGANIZEFILTERTABLESDIALOG_H_
19
20#include "ui_qgsorganizetablecolumnsdialog.h"
21
22#include "qgis_gui.h"
23#include "qgis_sip.h"
25
26#include <QDialog>
27
28class QgsVectorLayer;
29
35class GUI_EXPORT QgsOrganizeTableColumnsDialog : public QDialog, private Ui::QgsOrganizeTableColumnsDialog
36{
37 Q_OBJECT
38
39 public:
47 QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, const QgsAttributeTableConfig &config, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );
48
50
57 QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );
59
64
65 public slots:
66
70 void showAll();
71
75 void hideAll();
76
81 void toggleSelection();
82
83 private:
85};
86
87#endif
A container for configuration of the attribute table.
void toggleSelection()
Toggle the check state of selected fields to hide or show them in the attribute table.
void showAll()
showAll checks all the fields to show them all in the attribute table
QgsOrganizeTableColumnsDialog(const QgsVectorLayer *vl, const QgsAttributeTableConfig &config, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::Window)
Constructor.
void hideAll()
hideAll unchecks all the fields to hide them all in the attribute table
QgsAttributeTableConfig config() const
Gets the updated configuration.
Represents a vector layer which manages a vector based dataset.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53