Colorear un objeto utilizando un selector de color

Hola,

no se como hacer para colorear un cuadrado (no se que objeto utilizar) en un formluario, mediante un selector de color QML (formulario QML).

en el codigo del selector aparece esto:
The color picker provides an easy to use control to select colors. You can
use the selected color by using the \l colorValue property.

\qml
ColorPicker {
    id: colorPicker
}
\endqml

*/

Item {
/*!
\qmlproperty bool ColorPicker::showAlpha

    Whether the alpha channel selection should be visible or not. By default this is
    set to false.
*/
property bool alphaVisible: false

/*!
    \qmlproperty int ColorPicker::colorValue

    Returns the color selected in the color picker.
*/
readonly property color colorValue: hsba(hueSlider.item.value, sbPicker.item.saturation,
                                           sbPicker.item.brightness, alphaSlider.item.value)

PD. No se nada de programción y me he iniciado hace pocos meses con Velneo.

gracias

saludos

image