QGIS API Documentation  3.2.0-Bonn (bc43194)
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 
47  QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );
48 
50 
54  QgsAttributeTableConfig config() const;
55 
56  public slots:
57 
61  void showAll();
62 
66  void hideAll();
67 
68  private:
70 
71 };
72 
73 #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.