Logo FluentUI

RatingControl QML Type

A star-based rating input control. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Detailed Description

RatingControl allows users to input a rating by selecting stars. It supports fractional values and can be set to read-only mode for display purposes.

Property Documentation

maximum : int

The maximum number of stars displayed. Defaults to 5.

readOnly : bool

Whether the rating control is read-only. When set to true, the user cannot modify the rating value. Defaults to false.

value : real

The current rating value. Fractional values (e.g. 3.5) are supported and displayed as partially filled stars.