diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> | 2021-11-02 19:59:44 +0200 |
---|---|---|
committer | Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> | 2021-12-14 15:41:54 +0200 |
commit | b3e6e77de4461cbfe5f29eeda9cc00bed61ce39c (patch) | |
tree | 1f180316d5166dcd7872e225e1de6ed0515c9fe2 /src/settingsui/ViewSettings.qml | |
parent | 14e9c829bb71d99e3bffa4f38f4f807e5a3496bc (diff) |
Refactor SettingsUI source code and add QML module support
Split application and plugins structure to use QML modules
feature
Move settingsui binary and plugins it uses under examples
as those are not really documented nor production quality.
Task-number: QTBUG-97737
Pick-to: 6.2 6.3
Change-Id: I4b030a5a42b29554a45c23eab4170be980cd5dc5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/settingsui/ViewSettings.qml')
-rw-r--r-- | src/settingsui/ViewSettings.qml | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/settingsui/ViewSettings.qml b/src/settingsui/ViewSettings.qml deleted file mode 100644 index 4f326cf..0000000 --- a/src/settingsui/ViewSettings.qml +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2019 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of Qt for Device Creation. -** -** $QT_BEGIN_LICENSE:GPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 or (at your option) any later version -** approved by the KDE Free Qt Foundation. The licenses are as published by -** the Free Software Foundation and appearing in the file LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -import QtQuick - -Item { - id: viewSettings - - property real pageMargin: 0.03 * Math.min(window.width, window.height) - property real spacing: pageMargin * 0.5 - property string appFont: "TitilliumWeb" - property string backgroundColor: "#09102b" - property string borderColor: "#9d9faa" - property string buttonGreenColor: "#41cd52" - property string buttonGrayColor: "#9d9faa" - property string buttonActiveColor: "#216729" - property string scrollBarColor: "#41cd52" -} |