The IconTextSwitch type provides a Sailfish-styled toggle button with a textual label and an icon. IconTextSwitches are commonly used in settings pages. See inherited TextSwitch component for a more comprehensive API.
import QtQuick 2.2
import Sailfish.Silica 1.0
description: "Allow applications to use GPS for mobile networks to pin point your location"
onCheckedChanged: locationSettings.locationEnabled = checked