Houdini 18.5 Python scripting hou hou.qt

hou.qt.ColorPalette class

A widget for color selection from a customizable color palette.

On this page

The widget is a customizable color palette from which a color can be selected.

This class inherits from Qt’s QtWidgets.QDialog class.

Signals

colorClicked(index, QtGui.QColor)

When user clicks a color, this signal is emitted with the position in the list of colors (index) and the selected color (QtGui.QColor).

colorEdited(index, QColor)

When user finishes editing a color, this signal is emitted with the position in the list of colors (index) and the new color value (QtGui.QColor).

paletteChanged()

Emitted when setColorList() is called on the widget.

Methods

hou.qt