Class: QgsColorBrewerColorRampDialog

class qgis.gui.QgsColorBrewerColorRampDialog(ramp: QgsColorBrewerColorRamp, parent: QWidget = None)

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsColorBrewerColorRampDialog.

Parameters

A dialog which allows users to modify the properties of a QgsColorBrewerColorRamp.

actionEvent()
buttonBox(self) → QDialogButtonBox

Returns a reference to the dialog’s button box.

New in version 3.10.

Return type

QDialogButtonBox

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

setRamp()

Return type

QgsColorBrewerColorRamp

receivers()
resizeEvent()
sender()
senderSignalIndex()
setRamp(self, ramp: QgsColorBrewerColorRamp)

Sets the color ramp to show in the dialog.

Parameters

ramp (QgsColorBrewerColorRamp) – color ramp

See also

ramp()

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()