2022-05-13 13:12:05 +00:00
|
|
|
// Copyright (C) 2017 The Qt Company Ltd.
|
2024-02-22 14:51:16 +00:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
2017-09-25 09:38:08 +00:00
|
|
|
|
2020-03-26 16:01:51 +00:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Controls
|
2017-09-25 09:38:08 +00:00
|
|
|
|
|
|
|
QtObject {
|
|
|
|
property var supportedStates: [
|
|
|
|
[],
|
|
|
|
["disabled"],
|
|
|
|
]
|
|
|
|
|
2017-09-28 09:37:11 +00:00
|
|
|
property Component component: Column {
|
|
|
|
spacing: 10
|
|
|
|
|
|
|
|
TextField {
|
|
|
|
text: "TextField with text"
|
|
|
|
enabled: !is("disabled")
|
|
|
|
}
|
|
|
|
|
|
|
|
TextField {
|
|
|
|
placeholderText: "TextField with placeholderText"
|
|
|
|
enabled: !is("disabled")
|
|
|
|
}
|
2017-09-25 09:38:08 +00:00
|
|
|
}
|
|
|
|
}
|