Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/AddonsView.qml
Show All 31 Lines | 28 | { | |||
---|---|---|---|---|---|
32 | delegate: RowLayout { | 32 | delegate: RowLayout { | ||
33 | Layout.fillWidth: true | 33 | Layout.fillWidth: true | ||
34 | 34 | | |||
35 | CheckBox { | 35 | CheckBox { | ||
36 | enabled: !addonsView.isInstalling | 36 | enabled: !addonsView.isInstalling | ||
37 | checked: model.checked | 37 | checked: model.checked | ||
38 | onClicked: addonsModel.changeState(packageName, checked) | 38 | onClicked: addonsModel.changeState(packageName, checked) | ||
39 | } | 39 | } | ||
40 | QIconItem { | 40 | Kirigami.Icon { | ||
41 | icon: "applications-other" | 41 | source: "applications-other" | ||
42 | smooth: true | 42 | smooth: true | ||
43 | Layout.minimumWidth: content.implicitHeight | 43 | Layout.minimumWidth: content.implicitHeight | ||
44 | Layout.minimumHeight: content.implicitHeight | 44 | Layout.minimumHeight: content.implicitHeight | ||
45 | opacity: addonsView.isInstalling ? 0.3 : 1 | 45 | opacity: addonsView.isInstalling ? 0.3 : 1 | ||
46 | } | 46 | } | ||
47 | 47 | | |||
48 | ColumnLayout { | 48 | ColumnLayout { | ||
49 | id: content | 49 | id: content | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |