QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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 
27 class QgsVectorLayer;
28 
35 class GUI_EXPORT QgsOrganizeTableColumnsDialog : public QDialog, private Ui::QgsOrganizeTableColumnsDialog
36 {
37  Q_OBJECT
38 
39  public:
40 
48  QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, QgsAttributeTableConfig config, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );
49 
56  QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );
57 
61  QgsAttributeTableConfig config() const;
62 
63  public slots:
64 
68  void showAll();
69 
73  void hideAll();
74 
75  private:
77 
78 };
79 
80 #endif
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:46
Dialog for organising (hiding and reordering) columns in the attributes table.
This is a container for configuration of the attribute table.
Represents a vector layer which manages a vector based data sets.