QGIS API Documentation
3.41.0-Master (d5b93354e9c)
Loading...
Searching...
No Matches
src
gui
raster
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
26
class
QgsRasterAttributeTable
;
27
35
class
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
69
Qgis::RasterAttributeTableFieldUsage
usage()
const
;
70
74
QMetaType::Type type()
const
;
75
76
77
private
:
78
QgsRasterAttributeTable
*mAttributeTable;
79
80
void
updateDialog();
81
};
82
83
#endif
// QGSRASTERATTRIBUTETABLEADDCOLUMNDIALOG_H
Qgis::RasterAttributeTableFieldUsage
RasterAttributeTableFieldUsage
The RasterAttributeTableFieldUsage enum represents the usage of a Raster Attribute Table field.
Definition
qgis.h:1479
QgsRasterAttributeTableAddColumnDialog
The QgsRasterAttributeTableAddColumnDialog class collects options to add a new column to a raster att...
Definition
qgsrasterattributetableaddcolumndialog.h:36
QgsRasterAttributeTable
The QgsRasterAttributeTable class represents a Raster Attribute Table (RAT).
Definition
qgsrasterattributetable.h:44
qgis.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
Generated on Mon Dec 9 2024 05:28:23 for QGIS API Documentation by
1.9.8