Debian Codegraph @

src/qml/NoopForm.qml

raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2 // Copyright 2021 Juan Palacios <[email protected]>
3
4 import QtQuick 2.15
5 import QtQuick.Controls 2.15
6 import QtQuick.Layouts 1.15
7 import CoreCtrl.UIComponents 1.0
8 import "Style.js" as Style
9
10 NOOP {
11 objectName: "NOOP"
12
13 width: contents.width
14 height: contents.height
15
16 CPane {
17 id: contents
18
19 RowLayout {
20 anchors.fill: parent
21
22 Item {
23 Layout.rightMargin: Style.g_padding
24 implicitWidth: warningIcn.width
25 implicitHeight: warningIcn.height
26
27 Image {
28 id: warningIcn
29 source: "qrc:/images/WarningIcon"
30 fillMode: Image.PreserveAspectFit
31 anchors.fill: parent
32 width: Style.g_icon.size
33 height: Style.g_icon.size
34 sourceSize.width: Style.g_icon.source_size
35 }
36 }
37
38 ColumnLayout {
39 Label {
40 text: qsTr("Warning!")
41 font.pointSize: 12
42 font.bold: true
43 }
44
45 Label { text: qsTr("The component will not be controlled") }
46 }
47 }
48 }
49 }