diff options
author | Andy Nichols <andy.nichols@qt.io> | 2023-06-08 16:25:47 +0200 |
---|---|---|
committer | Andy Nichols <nezticle@gmail.com> | 2023-06-12 16:05:36 +0200 |
commit | f7cc7656e2bd01851c5fb04747b0c8439ffa9dbe (patch) | |
tree | 3999f4a6efc61e1841e21941fd6bf8a51025d121 /examples/quick3d/particles3d/AppSettings.qml | |
parent | 16c734c0a26b5fed0542f3ef2fee07be74a45da8 (diff) |
Fix qmllint errors in particles3d example
Pick-to: 6.6
Change-Id: I10126755f2a42fb365219f09b9c54e45ed8e4316
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'examples/quick3d/particles3d/AppSettings.qml')
-rw-r--r-- | examples/quick3d/particles3d/AppSettings.qml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/quick3d/particles3d/AppSettings.qml b/examples/quick3d/particles3d/AppSettings.qml new file mode 100644 index 00000000..ffe7ef4e --- /dev/null +++ b/examples/quick3d/particles3d/AppSettings.qml @@ -0,0 +1,29 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +pragma Singleton + +import QtQuick +import QtQuick3D + +QtObject { + id: settings + objectName: "test" + // Antialiasing mode & quality used in all examples. + property int antialiasingMode: SceneEnvironment.NoAA + property int antialiasingQuality: SceneEnvironment.High + // Toggle default visibility of these views + property bool showSettingsView: true + property bool showLoggingView: false + // Fonts in pointSizes + // These are used mostly on examples in 3D side + property real fontSizeLarge: 16 + // These are used mostly on settings + property real fontSizeSmall: 10 + property real iconSize: 24 + function testFunction() { + console.log("testFunction called") + } + +} + |