forked from qt-creator/qt-creator
QmlDesigner: Fix MCUDefaultStyle usage via wizard
Task-number: QDS-10420 Change-Id: Icef96452c1f7c84accc95b67f3e0b2044e8416c4 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Templates 2.15 as T
|
||||
import QtQuick
|
||||
import QtQuick.Templates as T
|
||||
|
||||
T.Button {
|
||||
id: control
|
||||
|
@@ -1,8 +1,8 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Templates 2.15 as T
|
||||
import QtQuick
|
||||
import QtQuick.Templates as T
|
||||
|
||||
T.CheckBox {
|
||||
id: control
|
||||
|
@@ -1,9 +1,9 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
pragma Singleton
|
||||
|
||||
import QtQuick 2.15
|
||||
import QtQuick
|
||||
|
||||
QtObject {
|
||||
readonly property int inset: 5
|
||||
|
@@ -1,8 +1,8 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Templates 2.15 as T
|
||||
import QtQuick
|
||||
import QtQuick.Templates as T
|
||||
|
||||
T.Dial {
|
||||
id: control
|
||||
|
@@ -1,8 +1,8 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Templates 2.15 as T
|
||||
import QtQuick
|
||||
import QtQuick.Templates as T
|
||||
|
||||
T.ProgressBar {
|
||||
id: root
|
||||
|
@@ -1,8 +1,8 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Templates 2.15 as T
|
||||
import QtQuick
|
||||
import QtQuick.Templates as T
|
||||
|
||||
T.RadioButton {
|
||||
id: control
|
||||
|
@@ -1,8 +1,8 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Templates 2.15 as T
|
||||
import QtQuick
|
||||
import QtQuick.Templates as T
|
||||
|
||||
T.Slider {
|
||||
id: control
|
||||
|
@@ -1,8 +1,8 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Templates 2.15 as T
|
||||
import QtQuick
|
||||
import QtQuick.Templates as T
|
||||
|
||||
T.SwipeView {
|
||||
id: control
|
||||
|
@@ -1,8 +1,8 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Templates 2.15 as T
|
||||
import QtQuick
|
||||
import QtQuick.Templates as T
|
||||
|
||||
T.Switch {
|
||||
id: control
|
||||
|
@@ -1,2 +1,12 @@
|
||||
module QtQuick.Controls.MCUDefaultStyle
|
||||
singleton DefaultStyle 1.0 DefaultStyle.qml
|
||||
import QtQuick.Controls.Basic auto
|
||||
depends QtQuick auto
|
||||
singleton DefaultStyle 6.0 DefaultStyle.qml
|
||||
Button 6.0 Button.qml
|
||||
CheckBox 6.0 CheckBox.qml
|
||||
Dial 6.0 Dial.qml
|
||||
ProgressBar 6.0 ProgressBar.qml
|
||||
RadioButton 6.0 RadioButton.qml
|
||||
Slider 6.0 Slider.qml
|
||||
SwipeView 6.0 SwipeView.qml
|
||||
Switch 6.0 Switch.qml
|
||||
|
@@ -183,7 +183,7 @@
|
||||
},
|
||||
{
|
||||
"source": "MCUDefaultStyle",
|
||||
"target": "%{ProjectDirectory}/MCUDefaultStyle"
|
||||
"target": "%{ProjectDirectory}/imports/MCUDefaultStyle"
|
||||
},
|
||||
{
|
||||
"isBinary": true,
|
||||
|
Reference in New Issue
Block a user