|
QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
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. More... | |
| bool | isColor () const |
Returns true if the add color column option was checked. More... | |
| bool | isRamp () const |
Returns true if the add color ramp column option was checked. More... | |
| QString | name () const |
| Returns the new column name. More... | |
| int | position () const |
| Returns the position where the new column (before) will be inserted. More... | |
| QVariant::Type | type () const |
| Returns the new column type. More... | |
| Qgis::RasterAttributeTableFieldUsage | usage () const |
| Returns the new column name. More... | |
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.
| QVariant::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.