Changeset View
Changeset View
Standalone View
Standalone View
sidebar/package/contents/ui/IntroIcon.qml
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 63 | ColumnLayout { | |||
---|---|---|---|---|---|
65 | width: parent.width | 65 | width: parent.width | ||
66 | Kirigami.Icon { | 66 | Kirigami.Icon { | ||
67 | id: iconItem | 67 | id: iconItem | ||
68 | Layout.alignment: Qt.AlignHCenter | 68 | Layout.alignment: Qt.AlignHCenter | ||
69 | Layout.minimumWidth: item.iconSize | 69 | Layout.minimumWidth: item.iconSize | ||
70 | Layout.minimumHeight: Layout.minimumWidth | 70 | Layout.minimumHeight: Layout.minimumWidth | ||
71 | height: width | 71 | height: width | ||
72 | } | 72 | } | ||
73 | QQC2.Label { | 73 | Kirigami.Label { | ||
74 | id: label | 74 | id: label | ||
75 | Layout.fillWidth: true | 75 | Layout.fillWidth: true | ||
76 | Layout.maximumWidth: item.width | 76 | Layout.maximumWidth: item.width | ||
77 | Layout.alignment: Qt.AlignHCenter | 77 | Layout.alignment: Qt.AlignHCenter | ||
78 | horizontalAlignment: Text.AlignHCenter | 78 | horizontalAlignment: Text.AlignHCenter | ||
79 | wrapMode: Text.Wrap | 79 | wrapMode: Text.Wrap | ||
80 | } | 80 | } | ||
81 | } | 81 | } | ||
82 | 82 | | |||
83 | Accessible.role: Accessible.Button | 83 | Accessible.role: Accessible.Button | ||
84 | Accessible.name: label.text | 84 | Accessible.name: label.text | ||
85 | Accessible.description: i18n("Most used modeule number %1", index+1) | 85 | Accessible.description: i18n("Most used modeule number %1", index+1) | ||
86 | Accessible.onPressAction: systemsettings.loadMostUsed(index); | 86 | Accessible.onPressAction: systemsettings.loadMostUsed(index); | ||
87 | } | 87 | } | ||
88 | 88 | |