Logo FluentUI

ColorPicker QML Type

A full-featured color picker with canvas and eyedropper. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Signals

Detailed Description

ColorPicker provides an interactive color selection interface with a color canvas, hue/saturation sliders, and an eyedropper tool. It supports opacity and fine-grained editing of RGBA components. All UI text labels are customizable for localization.

Property Documentation

blueText : string

The label text for the blue component field.

cancelText : string

The text for the cancel button.

colorHandleRadius : int

The radius of the color selection handle on the canvas. Defaults to 8.

current : color

The currently selected color.

editText : string

The text for the color hex edit field label.

greenText : string

The label text for the green component field.

okText : string

The text for the OK button.

opacityText : string

The label text for the opacity field.

redText : string

The label text for the red component field.

titleText : string

The title text shown in the color picker header.

Signal Documentation

void accepted()

Emitted when the user confirms the selected color.

Note: The corresponding handler is onAccepted.