Class: QgsRasterFormatSaveOptionsWidget¶
A widget to select format-specific raster saving options
Class Hierarchy¶
Base classes¶
Methods
Opens window with options description for given provider and output format |
|
Returns list of selected options |
|
Set output raster format, it is used to determine list of available options |
|
Populate widget with user-defined options. |
|
Set provider key, , it is used to determine list of available options |
|
Set pyramids format to use |
|
Set output raster file name |
|
Set output raster layer |
|
Set widget look and feel |
|
Reloads profiles list from QGIS settings |
|
Validates options correctness |
Signals
Emitted when the options configured in the widget are changed. |
Attributes
- class qgis.gui.QgsRasterFormatSaveOptionsWidget[source]¶
Bases:
QWidget
- Default = 0¶
- Full = 1¶
- LineEdit = 3¶
- ProfileLineEdit = 4¶
- Table = 2¶
- class Type¶
Bases:
int
- helpOptions(self)[source]¶
Opens window with options description for given provider and output format
- setFormat(self, format: str | None)[source]¶
Set output raster format, it is used to determine list of available options
- Parameters:
format (Optional[str])
- setOptions(self, options: str | None)[source]¶
Populate widget with user-defined options. String should contain key=value pairs separated by spaces, e.g. “TILED=YES TFW=YES”
See also
- Parameters:
options (Optional[str])
- setProvider(self, provider: str | None)[source]¶
Set provider key, , it is used to determine list of available options
- Parameters:
provider (Optional[str])
- setPyramidsFormat(self, format: Qgis.RasterPyramidFormat)[source]¶
Set pyramids format to use
- Parameters:
format (Qgis.RasterPyramidFormat)
- setRasterFileName(self, file: str | None)[source]¶
Set output raster file name
- Parameters:
file (Optional[str])
- setRasterLayer(self, rasterLayer: QgsRasterLayer | None)[source]¶
Set output raster layer
- Parameters:
rasterLayer (Optional[QgsRasterLayer])
- setType(self, type: QgsRasterFormatSaveOptionsWidget.Type = QgsRasterFormatSaveOptionsWidget.Default)[source]¶
Set widget look and feel
- Parameters:
type (QgsRasterFormatSaveOptionsWidget.Type = QgsRasterFormatSaveOptionsWidget.Default)