colorbutton — Button, which is used for configuring colors

Button shows selected color as own icon and opens QColorDialog when clicked

enki.widgets.colorbutton.tr(text)

Dummy tr() implementation

class enki.widgets.colorbutton.ColorButton(colorOrParent, *args)

Bases: QToolButton

Button, which is used for configuring colors

colorChanged

colorChanged(color)

Signal emitted, after current color has changed

color()

Currently selected color

setColor(color)

Set color. Update button icon