QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
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
6  email : [email protected]
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 <QDialog>
21 
22 #include "ui_qgsorganizetablecolumnsdialog.h"
23 
25 #include "qgis_gui.h"
26 #include "qgis_sip.h"
27 
28 class QgsVectorLayer;
29 
36 class GUI_EXPORT QgsOrganizeTableColumnsDialog : public QDialog, private Ui::QgsOrganizeTableColumnsDialog
37 {
38  Q_OBJECT
39 
40  public:
41 
49  QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, const QgsAttributeTableConfig &config, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );
50 
52 
59  QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );
61 
65  QgsAttributeTableConfig config() const;
66 
67  public slots:
68 
72  void showAll();
73 
77  void hideAll();
78 
79  private:
81 
82 };
83 
84 #endif
This is a container for configuration of the attribute table.
Dialog for organising (hiding and reordering) columns in the attributes table.
Represents a vector layer which manages a vector based data sets.
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:53