aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/ios/todolist/AppSettings.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/ios/todolist/AppSettings.qml')
-rw-r--r--examples/quickcontrols2/ios/todolist/AppSettings.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/quickcontrols2/ios/todolist/AppSettings.qml b/examples/quickcontrols2/ios/todolist/AppSettings.qml
new file mode 100644
index 0000000000..c732b9fbc8
--- /dev/null
+++ b/examples/quickcontrols2/ios/todolist/AppSettings.qml
@@ -0,0 +1,14 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+pragma Singleton
+
+import Qt.labs.settings
+
+Settings {
+ // The properties here are given default values to account for the first run of the application.
+ // After the application has run once, future values will come from the stored settings.
+ property bool showDoneTasks: true
+ property int maxTasks: 30
+ property int fontSize: 18
+}