UI Features - UI Elements

SegmentedControl

Information:

SegmentedControl is used to make a "multiple choice" selection with options containing selectable label button. Inside a SegmentedControl are Option {} that contain text labels and values. The main signals used for this element is onSelectedIndexChanged {} inside of the main braces or onSelectedChanged{} inside of each Option.

Typical "SegmentedControl":

SegmentedControl {
            id: mySegmentedControlid
            onSelectedIndexChanged: {
            }
            Option {
                text: "Option 1"
                value: 1
                onSelectedChanged: {
                }
            }
            Option {
                text: "Option 2"
                value: 2
            }
            Option {
                text: "Option 3"
                value: 3
            }
        }

Examples/Tutorials Using This Feature:

SegmentedControl to Control a DropDown