QGIS API Documentation 3.39.0-Master (bca3cdb6021)
|
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 23 of file qgsrasterattributetableaddcolumndialog.cpp.
bool QgsRasterAttributeTableAddColumnDialog::isColor | ( | ) | const |
Returns true
if the add color column option was checked.
Definition at line 60 of file qgsrasterattributetableaddcolumndialog.cpp.
bool QgsRasterAttributeTableAddColumnDialog::isRamp | ( | ) | const |
Returns true
if the add color ramp column option was checked.
Definition at line 65 of file qgsrasterattributetableaddcolumndialog.cpp.
QString QgsRasterAttributeTableAddColumnDialog::name | ( | ) | const |
Returns the new column name.
Definition at line 70 of file qgsrasterattributetableaddcolumndialog.cpp.
int QgsRasterAttributeTableAddColumnDialog::position | ( | ) | const |
Returns the position where the new column (before) will be inserted.
Definition at line 48 of file qgsrasterattributetableaddcolumndialog.cpp.
QMetaType::Type QgsRasterAttributeTableAddColumnDialog::type | ( | ) | const |
Returns the new column type.
Definition at line 80 of file qgsrasterattributetableaddcolumndialog.cpp.
Qgis::RasterAttributeTableFieldUsage QgsRasterAttributeTableAddColumnDialog::usage | ( | ) | const |
Returns the new column name.
Definition at line 75 of file qgsrasterattributetableaddcolumndialog.cpp.