ZoneSelector QML Type
A drop-down for selecting the active zone in a zoned interface. More...
| Import Statement: | import QtInterfaceFramework.ControlPanelHelper 1.0 |
| Inherits: |
Properties
- currentZoneIndex : alias
- zones : var
Signals
- zoneSelected(int index)
Detailed Description
ZoneSelector is a styled ComboBox that lists the available zones and emits zoneSelected when the user picks a different one. It is used by TopBar to switch between zones of a zoned interface.
Usage
ZoneSelector {
zones: ["FrontLeft", "FrontRight", "Rear"]
onZoneSelected: function(index) {
controlPanel.selectZone(index)
}
}Property Documentation
currentZoneIndex : alias
This property holds the index of the currently selected zone.
zones : var
This property holds the list of zone names displayed in the drop-down.
Signal Documentation
zoneSelected(int index)
This signal is emitted when the user selects a zone. The index parameter is the position in zones.
Note: The corresponding handler is onZoneSelected.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.