When using the Color Picking mechanism one should create a callback class inhereting from MColorPickerCallback in order to implement the pure virtual method getcolor(). By having a class (instead of a plain function callback), some custom data could be added to the callback instance.
The widget is the picked widget, the point is the mouse position in global window coordinate and the boolean indicates to compute the color in the view transform or in the rendering color space.
QWidget * getKey
(
)
const
Returns the widget used for the registration.
Returns
the registered widget
const char * className
(
)
static
Returns the name of this class.
Returns
The name of this class.
The documentation for this class was generated from the following files: