Class: QgsRasterFormatSaveOptionsWidget¶
-
class
qgis.gui.
QgsRasterFormatSaveOptionsWidget
¶ Bases:
PyQt5.QtWidgets.QWidget
A widget to select format-specific raster saving options
Enums
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
optionsChanged(self) [signal]
Attributes
-
Default
= 0¶
-
Full
= 1¶
-
LineEdit
= 3¶
-
ProfileLineEdit
= 4¶
-
Table
= 2¶
-
class
Type
¶ Bases:
int
-
actionEvent
()¶
-
apply
(self)¶
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
createOptions
()¶
-
currentProfileKey
()¶
-
customEvent
()¶
-
deleteCreateOptions
()¶
-
destroy
()¶
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
enterEvent
()¶
-
event
()¶
-
eventFilter
()¶
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
helpOptions
(self)¶ Opens window with options description for given provider and output format
-
hideEvent
()¶
-
initPainter
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
mOptionsAddButton_clicked
()¶
-
mOptionsDeleteButton_clicked
()¶
-
mOptionsLineEdit_editingFinished
()¶
-
mProfileDeleteButton_clicked
()¶
-
mProfileNewButton_clicked
()¶
-
mProfileResetButton_clicked
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
options
(self) → List[str]¶ Returns list of selected options
See also
-
optionsChanged
¶ optionsChanged(self) [signal]
-
optionsTableChanged
()¶
-
optionsTableEnableDeleteButton
()¶
-
paintEvent
()¶
-
profiles
()¶
-
pseudoFormat
()¶
-
receivers
()¶
-
resizeEvent
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setCreateOptions
()¶
-
setFormat
(self, format: str)¶ Set output raster format, it is used to determine list of available options
-
setOptions
(self, options: str)¶ Populate widget with user-defined options. String should contain key=value pairs separated by spaces, e.g. “TILED=YES TFW=YES”
See also
New in version 3.0.
-
setProvider
(self, provider: str)¶ Set provider key, , it is used to determine list of available options
-
setPyramidsFormat
(self, format: QgsRaster.RasterPyramidsFormat)¶ Set pyramids format to use
-
setRasterFileName
(self, file: str)¶ Set output raster file name
-
setRasterLayer
(self, rasterLayer: QgsRasterLayer)¶ Set output raster layer
-
setType
(self, type: QgsRasterFormatSaveOptionsWidget.Type = QgsRasterFormatSaveOptionsWidget.Default)¶ Set widget look and feel
-
settingsKey
()¶
-
showEvent
(self, event: QShowEvent)¶
-
swapOptionsUI
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateControls
()¶
-
updateMicroFocus
()¶
-
updateOptions
()¶
-
updateProfiles
(self)¶ Reloads profiles list from QGIS settings
-
validateOptions
(self, gui: bool = True, reportOk: bool = True) → str¶ Validates options correctness
-
wheelEvent
()¶
-