QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
The QgsLoadRasterAttributeTableDialog dialog let the user select a VAT.DBF file and associate the resulting raster attribute table with a raster band. More...
#include <qgsloadrasterattributetabledialog.h>
Public Slots | |
void | accept () override |
Public Member Functions | |
QgsLoadRasterAttributeTableDialog (QgsRasterLayer *rasterLayer, QWidget *parent=nullptr) | |
Creates a new QgsCreateRasterAttributeTableDialog. More... | |
QString | filePath () const |
Returns the file path to VAT.DBF. More... | |
bool | openWhenDone () const |
Returns true if the option to open the newly created attribute table is checked. More... | |
int | rasterBand () |
Returns the raster band associated to the raster attribute table. More... | |
void | setMessageBar (QgsMessageBar *bar) |
Sets the message bar associated with the widget. More... | |
void | setOpenWhenDoneVisible (bool visible) |
Sets the visibility of the "Open newly created raster attribute table" option to visible, the option is visible by default. More... | |
The QgsLoadRasterAttributeTableDialog dialog let the user select a VAT.DBF file and associate the resulting raster attribute table with a raster band.
Definition at line 39 of file qgsloadrasterattributetabledialog.h.
QgsLoadRasterAttributeTableDialog::QgsLoadRasterAttributeTableDialog | ( | QgsRasterLayer * | rasterLayer, |
QWidget * | parent = nullptr |
||
) |
Creates a new QgsCreateRasterAttributeTableDialog.
rasterLayer | the raster layer, must be suitable for creating a new raster attribute table |
parent | optional parent |
Definition at line 23 of file qgsloadrasterattributetabledialog.cpp.
|
overrideslot |
Definition at line 76 of file qgsloadrasterattributetabledialog.cpp.
QString QgsLoadRasterAttributeTableDialog::filePath | ( | ) | const |
Returns the file path to VAT.DBF.
Definition at line 47 of file qgsloadrasterattributetabledialog.cpp.
bool QgsLoadRasterAttributeTableDialog::openWhenDone | ( | ) | const |
Returns true
if the option to open the newly created attribute table is checked.
Definition at line 62 of file qgsloadrasterattributetabledialog.cpp.
int QgsLoadRasterAttributeTableDialog::rasterBand | ( | ) |
Returns the raster band associated to the raster attribute table.
Definition at line 52 of file qgsloadrasterattributetabledialog.cpp.
void QgsLoadRasterAttributeTableDialog::setMessageBar | ( | QgsMessageBar * | bar | ) |
Sets the message bar associated with the widget.
This allows the widget to push feedback messages to the appropriate message bar.
Definition at line 57 of file qgsloadrasterattributetabledialog.cpp.
void QgsLoadRasterAttributeTableDialog::setOpenWhenDoneVisible | ( | bool | visible | ) |
Sets the visibility of the "Open newly created raster attribute table" option to visible, the option is visible by default.
Definition at line 67 of file qgsloadrasterattributetabledialog.cpp.