QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
qgsrasterattributetabledialog.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsrasterattributetabledialog.h - QgsRasterAttributeTableDialog
3
4 ---------------------
5 begin : 13.10.2022
6 copyright : (C) 2022 by Alessandro Pasotti
7 email : elpaso at itopen dot it
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#ifndef QGSRASTERATTRIBUTETABLEDIALOG_H
17#define QGSRASTERATTRIBUTETABLEDIALOG_H
18
19#include <QDialog>
20#include "qgis_gui.h"
21#include "ui_qgsrasterattributetabledialogbase.h"
22
23#ifndef SIP_RUN
24class QgsRasterLayer;
25#endif
26
32class GUI_EXPORT QgsRasterAttributeTableDialog: public QDialog, private Ui::QRasterAttributeTableDialogBase
33{
34 Q_OBJECT
35
36 public:
37
41 QgsRasterAttributeTableDialog( QgsRasterLayer *rasterLayer, int bandNumber = 0, QWidget *parent SIP_TRANSFERTHIS = nullptr );
42
43 // QDialog interface
44 public slots:
45
46 void reject() override;
47
48};
49
50#endif // QGSRASTERATTRIBUTETABLEDIALOG_H
The QgsRasterAttributeTableDialog class embeds an attribute table widget.
Represents a raster layer.
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:53