QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
qgsrasterattributetableaddcolumndialog.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsrasterattributetableaddcolumndialog.h - QgsRasterAttributeTableAddColumnDialog
3
4 ---------------------
5 begin : 10.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 QGSRASTERATTRIBUTETABLEADDCOLUMNDIALOG_H
17#define QGSRASTERATTRIBUTETABLEADDCOLUMNDIALOG_H
18
19#include <QDialog>
20#include "qgis_gui.h"
21#include "qgis.h"
22#include "ui_qgsrasterattributetableaddcolumndialogbase.h"
23
24#define SIP_NO_FILE
25
27
35class GUI_EXPORT QgsRasterAttributeTableAddColumnDialog : public QDialog, private Ui::QgsRasterAttributeTableAddColumnDialogBase
36{
37 Q_OBJECT
38 public:
44 QgsRasterAttributeTableAddColumnDialog( QgsRasterAttributeTable *attributeTable, QWidget *parent SIP_TRANSFERTHIS = nullptr );
45
49 int position() const;
50
54 bool isColor() const;
55
59 bool isRamp() const;
60
64 QString name() const;
65
70
74 QMetaType::Type type() const;
75
76
77 private:
78 QgsRasterAttributeTable *mAttributeTable;
79
80 void updateDialog();
81};
82
83#endif // QGSRASTERATTRIBUTETABLEADDCOLUMNDIALOG_H
RasterAttributeTableFieldUsage
The RasterAttributeTableFieldUsage enum represents the usage of a Raster Attribute Table field.
Definition qgis.h:1479
The QgsRasterAttributeTableAddColumnDialog class collects options to add a new column to a raster att...
The QgsRasterAttributeTable class represents a Raster Attribute Table (RAT).
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53