QtMvvm  1.1.0
A mvvm oriented library for Qt, to create Projects for Widgets and Quick in parallel
Properties | List of all members
de::skycoder42::QtMvvm::Quick::ColorEdit Class Reference

A edit view to edit colors by using a color picker. More...

+ Inheritance diagram for de::skycoder42::QtMvvm::Quick::ColorEdit:

Properties

bool alpha
 Specifies whether the alpha channel can be edited. More...
 
color color
 The color currently displayed and edited. More...
 

Detailed Description

A edit view to edit colors by using a color picker.

Since
1.1

You can use this edit if you want to let the user select a color. It is made out of three sliders to control hue, saturation and value and a TextField to enter a hex color code, next to a small box that previews the color

Definition at line 17 of file ColorEdit.qml.

Property Documentation

◆ alpha

bool de::skycoder42::QtMvvm::Quick::ColorEdit::alpha

Specifies whether the alpha channel can be edited.

Default: false

If set to true, the user can enter a hex color string with an additional alpha value. The sliders are uneffected from this property

Accessors
MEMBERalpha
NOTIFYalphaChanged()

Definition at line 31 of file ColorEdit.qml.

◆ color

color de::skycoder42::QtMvvm::Quick::ColorEdit::color

The color currently displayed and edited.

Default: undefined

Accessors
MEMBERcolor
NOTIFYcolorChanged()

Definition at line 41 of file ColorEdit.qml.


The documentation for this class was generated from the following file: