MQWidget.ColorPanel class

A color panel class.

Super classes: MQWidget.WidgetBase

Property

get set Type Name Description
x x list{int,int,int} color RGB color

Method

Member Description
ColorPanel Constructor.
addChangedEvent Add an event after finishing to change a value.
addChangingEvent Add an event while changing a value.

ColorPanel([parent])

Constructor.

Parameters:
MQWidget.WidgetBase parent - A parent widget

addChangedEvent(callback)

Add an event after finishing to change a value.

Parameters:
function(sender) callback - callback function

addChangingEvent(callback)

Add an event while changing a value.

Parameters:
function(sender) callback - callback function