QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
The QgsRasterAttributeTableAddColumnDialog class collects options to add a new column to a raster attribute table. More...
#include <qgsrasterattributetableaddcolumndialog.h>
Public Member Functions | |
QgsRasterAttributeTableAddColumnDialog (QgsRasterAttributeTable *attributeTable, QWidget *parent=nullptr) | |
Creates a new QgsRasterAttributeTableAddColumnDialog. | |
bool | isColor () const |
Returns true if the add color column option was checked. | |
bool | isRamp () const |
Returns true if the add color ramp column option was checked. | |
QString | name () const |
Returns the new column name. | |
int | position () const |
Returns the position where the new column (before) will be inserted. | |
QMetaType::Type | type () const |
Returns the new column type. | |
Qgis::RasterAttributeTableFieldUsage | usage () const |
Returns the new column name. | |
The QgsRasterAttributeTableAddColumnDialog class collects options to add a new column to a raster attribute table.
Definition at line 35 of file qgsrasterattributetableaddcolumndialog.h.
QgsRasterAttributeTableAddColumnDialog::QgsRasterAttributeTableAddColumnDialog | ( | QgsRasterAttributeTable * | attributeTable, |
QWidget * | parent = nullptr |
||
) |
Creates a new QgsRasterAttributeTableAddColumnDialog.
attributeTable | the raster attribute table |
parent | optional parent |
Definition at line 24 of file qgsrasterattributetableaddcolumndialog.cpp.
bool QgsRasterAttributeTableAddColumnDialog::isColor | ( | ) | const |
Returns true
if the add color column option was checked.
Definition at line 61 of file qgsrasterattributetableaddcolumndialog.cpp.
bool QgsRasterAttributeTableAddColumnDialog::isRamp | ( | ) | const |
Returns true
if the add color ramp column option was checked.
Definition at line 66 of file qgsrasterattributetableaddcolumndialog.cpp.
QString QgsRasterAttributeTableAddColumnDialog::name | ( | ) | const |
Returns the new column name.
Definition at line 71 of file qgsrasterattributetableaddcolumndialog.cpp.
int QgsRasterAttributeTableAddColumnDialog::position | ( | ) | const |
Returns the position where the new column (before) will be inserted.
Definition at line 49 of file qgsrasterattributetableaddcolumndialog.cpp.
QMetaType::Type QgsRasterAttributeTableAddColumnDialog::type | ( | ) | const |
Returns the new column type.
Definition at line 81 of file qgsrasterattributetableaddcolumndialog.cpp.
Qgis::RasterAttributeTableFieldUsage QgsRasterAttributeTableAddColumnDialog::usage | ( | ) | const |
Returns the new column name.
Definition at line 76 of file qgsrasterattributetableaddcolumndialog.cpp.