QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsRasterAttributeTableAddColumnDialog Class Reference

The QgsRasterAttributeTableAddColumnDialog class collects options to add a new column to a raster attribute table. More...

#include <qgsrasterattributetableaddcolumndialog.h>

Inheritance diagram for QgsRasterAttributeTableAddColumnDialog:
Inheritance graph
[legend]

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.
 

Detailed Description

The QgsRasterAttributeTableAddColumnDialog class collects options to add a new column to a raster attribute table.

Note
Not available in Python bindings
Since
QGIS 3.30

Definition at line 35 of file qgsrasterattributetableaddcolumndialog.h.

Constructor & Destructor Documentation

◆ QgsRasterAttributeTableAddColumnDialog()

QgsRasterAttributeTableAddColumnDialog::QgsRasterAttributeTableAddColumnDialog ( QgsRasterAttributeTable attributeTable,
QWidget *  parent = nullptr 
)

Creates a new QgsRasterAttributeTableAddColumnDialog.

Parameters
attributeTablethe raster attribute table
parentoptional parent

Definition at line 24 of file qgsrasterattributetableaddcolumndialog.cpp.

Member Function Documentation

◆ isColor()

bool QgsRasterAttributeTableAddColumnDialog::isColor ( ) const

Returns true if the add color column option was checked.

Definition at line 61 of file qgsrasterattributetableaddcolumndialog.cpp.

◆ isRamp()

bool QgsRasterAttributeTableAddColumnDialog::isRamp ( ) const

Returns true if the add color ramp column option was checked.

Definition at line 66 of file qgsrasterattributetableaddcolumndialog.cpp.

◆ name()

QString QgsRasterAttributeTableAddColumnDialog::name ( ) const

Returns the new column name.

Definition at line 71 of file qgsrasterattributetableaddcolumndialog.cpp.

◆ position()

int QgsRasterAttributeTableAddColumnDialog::position ( ) const

Returns the position where the new column (before) will be inserted.

Definition at line 49 of file qgsrasterattributetableaddcolumndialog.cpp.

◆ type()

QMetaType::Type QgsRasterAttributeTableAddColumnDialog::type ( ) const

Returns the new column type.

Definition at line 81 of file qgsrasterattributetableaddcolumndialog.cpp.

◆ usage()

Qgis::RasterAttributeTableFieldUsage QgsRasterAttributeTableAddColumnDialog::usage ( ) const

Returns the new column name.

Definition at line 76 of file qgsrasterattributetableaddcolumndialog.cpp.


The documentation for this class was generated from the following files: