QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
The QgsCreateRasterAttributeTableDialog dialog collects the information required to create a new raster attribute table and performs the creation when the dialog is accepted. More...
#include <qgscreaterasterattributetabledialog.h>
Public Slots | |
void | accept () override |
Public Member Functions | |
QgsCreateRasterAttributeTableDialog (QgsRasterLayer *rasterLayer, QWidget *parent=nullptr) | |
Creates a new QgsCreateRasterAttributeTableDialog. | |
QString | filePath () const |
Returns the file path in case of VAT.DBF save option. | |
bool | openWhenDone () const |
Returns true if the option to open the newly created attribute table is checked. | |
bool | saveToFile () const |
Returns true if the option to save to a file is selected. | |
void | setMessageBar (QgsMessageBar *bar) |
Sets the message bar associated with the widget. | |
void | setOpenWhenDoneVisible (bool visible) |
Sets the visibility of the "Open newly created raster attribute table" option to visible, the option is visible by default. | |
The QgsCreateRasterAttributeTableDialog dialog collects the information required to create a new raster attribute table and performs the creation when the dialog is accepted.
Definition at line 37 of file qgscreaterasterattributetabledialog.h.
QgsCreateRasterAttributeTableDialog::QgsCreateRasterAttributeTableDialog | ( | 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 qgscreaterasterattributetabledialog.cpp.
|
overrideslot |
Definition at line 125 of file qgscreaterasterattributetabledialog.cpp.
QString QgsCreateRasterAttributeTableDialog::filePath | ( | ) | const |
Returns the file path in case of VAT.DBF save option.
Definition at line 95 of file qgscreaterasterattributetabledialog.cpp.
bool QgsCreateRasterAttributeTableDialog::openWhenDone | ( | ) | const |
Returns true
if the option to open the newly created attribute table is checked.
Definition at line 105 of file qgscreaterasterattributetabledialog.cpp.
bool QgsCreateRasterAttributeTableDialog::saveToFile | ( | ) | const |
Returns true
if the option to save to a file is selected.
Definition at line 100 of file qgscreaterasterattributetabledialog.cpp.
void QgsCreateRasterAttributeTableDialog::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 110 of file qgscreaterasterattributetabledialog.cpp.
void QgsCreateRasterAttributeTableDialog::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 115 of file qgscreaterasterattributetabledialog.cpp.