QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
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 <QDialog>
21
22#include "ui_qgsorganizetablecolumnsdialog.h"
23
25#include "qgis_gui.h"
26#include "qgis_sip.h"
27
28class QgsVectorLayer;
29
35class GUI_EXPORT QgsOrganizeTableColumnsDialog : public QDialog, private Ui::QgsOrganizeTableColumnsDialog
36{
37 Q_OBJECT
38
39 public:
40
48 QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, const QgsAttributeTableConfig &config, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );
49
51
58 QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );
60
64 QgsAttributeTableConfig config() const;
65
66 public slots:
67
71 void showAll();
72
76 void hideAll();
77
82 void toggleSelection();
83
84 private:
86
87};
88
89#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