From e719087dce50d739c723c5ef9af2a9226318aa02 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Thu, 31 Mar 2016 16:58:08 +0200 Subject: Add SwitchDelegate SwitchDelegate is an item delegate that is used in lists, and can be checked and unchecked. It derives from QQuickItemDelegate and hence has background press effects. The order of the indicator and text is reversed (compared to Switch) to reflect what is most commonly seen on mobile. Change-Id: I6f8fca8d1a8c91f2cb9d8bbbb685ad163712dfa1 Reviewed-by: J-P Nurmi --- src/imports/controls/controls.pri | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/imports/controls/controls.pri') diff --git a/src/imports/controls/controls.pri b/src/imports/controls/controls.pri index e71c7106..5c32824b 100644 --- a/src/imports/controls/controls.pri +++ b/src/imports/controls/controls.pri @@ -38,6 +38,8 @@ QML_CONTROLS = \ StackView.qml \ SwipeDelegate.qml \ Switch.qml \ + SwitchIndicator.qml \ + SwitchDelegate.qml \ SwipeView.qml \ TabBar.qml \ TabButton.qml \ -- cgit v1.2.3