QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
#include <qgsrasterlayersaveasdialog.h>
Public Types | |
enum | CrsState { OriginalCrs , CurrentCrs , UserCrs } |
enum | Mode { RawDataMode , RenderedImageMode } |
enum | ResolutionState { OriginalResolution , UserResolution } |
Public Slots | |
void | accept () override |
Public Member Functions | |
QgsRasterLayerSaveAsDialog (QgsRasterLayer *rasterLayer, QgsRasterDataProvider *sourceProvider, const QgsRectangle ¤tExtent, const QgsCoordinateReferenceSystem &layerCrs, const QgsCoordinateReferenceSystem ¤tCrs, QWidget *parent SIP_TRANSFERTHIS=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
Constructor for QgsRasterLayerSaveAsDialog. | |
bool | addToCanvas () const |
Returns true if the "add to canvas" checkbox is checked. | |
Qgis::RasterBuildPyramidOption | buildPyramidsFlag () const |
Returns the pyramid building option. | |
QStringList | createOptions () const |
void | hideFormat () |
void | hideOutput () |
int | maximumTileSizeX () const |
int | maximumTileSizeY () const |
Mode | mode () const |
int | nColumns () const |
QgsRasterRangeList | noData () const |
int | nRows () const |
QgsCoordinateReferenceSystem | outputCrs () |
QString | outputFileName () const |
QString | outputFormat () const |
QString | outputLayerName () const |
Name of the output layer within GeoPackage file. | |
QgsRectangle | outputRectangle () const |
QStringList | pyramidsConfigOptions () const |
Qgis::RasterPyramidFormat | pyramidsFormat () const |
Returns the selected pyramid format. | |
QList< int > | pyramidsList () const |
QString | pyramidsResamplingMethod () const |
void | setAddToCanvas (bool checked) |
Sets whether the "add to canvas" checkbox should be checked. | |
bool | tileMode () const |
double | xResolution () const |
double | yResolution () const |
Friends | |
class | TestQgsRasterLayerSaveAsDialog |
Definition at line 33 of file qgsrasterlayersaveasdialog.h.
Enumerator | |
---|---|
OriginalCrs | |
CurrentCrs | |
UserCrs |
Definition at line 42 of file qgsrasterlayersaveasdialog.h.
Enumerator | |
---|---|
RawDataMode | |
RenderedImageMode |
Definition at line 37 of file qgsrasterlayersaveasdialog.h.
Enumerator | |
---|---|
OriginalResolution | |
UserResolution |
Definition at line 48 of file qgsrasterlayersaveasdialog.h.
QgsRasterLayerSaveAsDialog::QgsRasterLayerSaveAsDialog | ( | QgsRasterLayer * | rasterLayer, |
QgsRasterDataProvider * | sourceProvider, | ||
const QgsRectangle & | currentExtent, | ||
const QgsCoordinateReferenceSystem & | layerCrs, | ||
const QgsCoordinateReferenceSystem & | currentCrs, | ||
QWidget *parent | SIP_TRANSFERTHIS = nullptr , |
||
Qt::WindowFlags | f = Qt::WindowFlags() |
||
) |
Constructor for QgsRasterLayerSaveAsDialog.
Definition at line 41 of file qgsrasterlayersaveasdialog.cpp.
|
overrideslot |
Definition at line 962 of file qgsrasterlayersaveasdialog.cpp.
bool QgsRasterLayerSaveAsDialog::addToCanvas | ( | ) | const |
Returns true
if the "add to canvas" checkbox is checked.
Definition at line 397 of file qgsrasterlayersaveasdialog.cpp.
Qgis::RasterBuildPyramidOption QgsRasterLayerSaveAsDialog::buildPyramidsFlag | ( | ) | const |
Returns the pyramid building option.
Definition at line 909 of file qgsrasterlayersaveasdialog.cpp.
QStringList QgsRasterLayerSaveAsDialog::createOptions | ( | ) | const |
Definition at line 449 of file qgsrasterlayersaveasdialog.cpp.
void QgsRasterLayerSaveAsDialog::hideFormat | ( | ) |
Definition at line 487 of file qgsrasterlayersaveasdialog.cpp.
void QgsRasterLayerSaveAsDialog::hideOutput | ( | ) |
Definition at line 493 of file qgsrasterlayersaveasdialog.cpp.
int QgsRasterLayerSaveAsDialog::maximumTileSizeX | ( | ) | const |
Definition at line 382 of file qgsrasterlayersaveasdialog.cpp.
int QgsRasterLayerSaveAsDialog::maximumTileSizeY | ( | ) | const |
Definition at line 387 of file qgsrasterlayersaveasdialog.cpp.
QgsRasterLayerSaveAsDialog::Mode QgsRasterLayerSaveAsDialog::mode | ( | ) | const |
Definition at line 660 of file qgsrasterlayersaveasdialog.cpp.
int QgsRasterLayerSaveAsDialog::nColumns | ( | ) | const |
Definition at line 362 of file qgsrasterlayersaveasdialog.cpp.
QgsRasterRangeList QgsRasterLayerSaveAsDialog::noData | ( | ) | const |
Definition at line 887 of file qgsrasterlayersaveasdialog.cpp.
int QgsRasterLayerSaveAsDialog::nRows | ( | ) | const |
Definition at line 367 of file qgsrasterlayersaveasdialog.cpp.
QgsCoordinateReferenceSystem QgsRasterLayerSaveAsDialog::outputCrs | ( | ) |
Definition at line 655 of file qgsrasterlayersaveasdialog.cpp.
QString QgsRasterLayerSaveAsDialog::outputFileName | ( | ) | const |
Definition at line 407 of file qgsrasterlayersaveasdialog.cpp.
QString QgsRasterLayerSaveAsDialog::outputFormat | ( | ) | const |
Definition at line 444 of file qgsrasterlayersaveasdialog.cpp.
QString QgsRasterLayerSaveAsDialog::outputLayerName | ( | ) | const |
Name of the output layer within GeoPackage file.
Definition at line 431 of file qgsrasterlayersaveasdialog.cpp.
QgsRectangle QgsRasterLayerSaveAsDialog::outputRectangle | ( | ) | const |
Definition at line 482 of file qgsrasterlayersaveasdialog.cpp.
|
inline |
Definition at line 114 of file qgsrasterlayersaveasdialog.h.
|
inline |
Returns the selected pyramid format.
Definition at line 112 of file qgsrasterlayersaveasdialog.h.
QList< int > QgsRasterLayerSaveAsDialog::pyramidsList | ( | ) | const |
Definition at line 904 of file qgsrasterlayersaveasdialog.cpp.
|
inline |
Definition at line 107 of file qgsrasterlayersaveasdialog.h.
void QgsRasterLayerSaveAsDialog::setAddToCanvas | ( | bool | checked | ) |
Sets whether the "add to canvas" checkbox should be checked.
Definition at line 402 of file qgsrasterlayersaveasdialog.cpp.
bool QgsRasterLayerSaveAsDialog::tileMode | ( | ) | const |
Definition at line 392 of file qgsrasterlayersaveasdialog.cpp.
double QgsRasterLayerSaveAsDialog::xResolution | ( | ) | const |
Definition at line 372 of file qgsrasterlayersaveasdialog.cpp.
double QgsRasterLayerSaveAsDialog::yResolution | ( | ) | const |
Definition at line 377 of file qgsrasterlayersaveasdialog.cpp.
|
friend |
Definition at line 176 of file qgsrasterlayersaveasdialog.h.