Input Controls
Qt Quick Controls 2 offers a variety of input controls for both numeric and textual input.
A combined button and popup list taking minimal space | |
A circular dial that is rotated to set a value | |
A slider control used to select a range of values | |
Selects a value by sliding a handle along a track | |
A multi line text input control | |
A single line text input control | |
A spinnable wheel of items that can be selected |
Each type of input control has its own specific target use case. The following sections offer guidelines for choosing the appropriate type of input control, depending on the use case.
ComboBox Control
ComboBox is used to select a value from a drop-down list.
Dial Control
Dial is a circular dial that is rotated to set a value.
TextArea Control
TextArea is a multi-line text editor.
TextField Control
TextField is a single line text editor.
Slider Control
Slider is used to select a value by sliding a handle along a track.
RangeSlider Control
RangeSlider is used to select a range specified by two values, by sliding each handle along a track.
Tumbler Control
Tumbler is a spinnable wheel of items that can be selected.