Class: QgsColorBrewerColorRampDialog¶
-
class
qgis.gui.
QgsColorBrewerColorRampDialog
(ramp: QgsColorBrewerColorRamp, parent: QWidget = None)¶ Bases:
PyQt5.QtWidgets.QDialog
Constructor for QgsColorBrewerColorRampDialog.
- Parameters
ramp (QgsColorBrewerColorRamp) – initial ramp to show in dialog
parent (QWidget = None) – parent widget
A dialog which allows users to modify the properties of a
QgsColorBrewerColorRamp
.Methods
Returns a color ramp representing the current settings from the dialog.
Sets the color ramp to show in the dialog.
Signals
Emitted when the dialog settings change [signal]
-
actionEvent
()¶
-
changeEvent
()¶
-
changed
¶ Emitted when the dialog settings change [signal]
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
customEvent
()¶
-
destroy
()¶
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
enterEvent
()¶
-
event
()¶
-
eventFilter
()¶
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
hideEvent
()¶
-
initPainter
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
paintEvent
()¶
-
ramp
(self) → QgsColorBrewerColorRamp¶ Returns a color ramp representing the current settings from the dialog.
See also
- Return type
-
receivers
()¶
-
resizeEvent
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setRamp
(self, ramp: QgsColorBrewerColorRamp)¶ Sets the color ramp to show in the dialog.
- Parameters
ramp (QgsColorBrewerColorRamp) – color ramp
See also
-
showEvent
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶