1 2 3 4 5 6 7 8 9 10 11
import QtQuick 2.0 import Qt.labs.controls 1.0 Switch { text: "Switch" Rectangle { anchors.fill: label color: "transparent" border.color: "red" } }