Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

SwitchStyle

Provides custom styling for Switch. More...

Import Statement: import QtQuick.Controls.Styles 1.4
Since: Qt 5.2

Properties

Detailed Description

Example:

Switch {
    style: SwitchStyle {
        groove: Rectangle {
                implicitWidth: 100
                implicitHeight: 20
                radius: 9
                border.color: control.activeFocus ? "darkblue" : "gray"
                border.width: 1
        }
    }
 }

Property Documentation

groove : Component

This property holds the background groove of the switch.


handle : Component

This defines the switch handle.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded