Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwinrules/package/contents/ui/RuleItemDelegate.qml
Show All 29 Lines | 26 | Kirigami.AbstractListItem { | |||
---|---|---|---|---|---|
30 | 30 | | |||
31 | Kirigami.Theme.colorSet: Kirigami.Theme.View | 31 | Kirigami.Theme.colorSet: Kirigami.Theme.View | ||
32 | 32 | | |||
33 | width: ListView.view.width | 33 | width: ListView.view.width | ||
34 | highlighted: false | 34 | highlighted: false | ||
35 | hoverEnabled: false | 35 | hoverEnabled: false | ||
36 | 36 | | |||
37 | RowLayout { | 37 | RowLayout { | ||
38 | anchors { | | |||
39 | left: parent.left | | |||
40 | right: parent.right | | |||
41 | margins: Kirigami.Units.smallSpacing | | |||
42 | } | | |||
43 | 38 | | |||
44 | Kirigami.Icon { | 39 | Kirigami.Icon { | ||
45 | id: itemIcon | 40 | id: itemIcon | ||
46 | source: model.icon | 41 | source: model.icon | ||
47 | Layout.preferredHeight: Kirigami.Units.iconSizes.smallMedium | 42 | Layout.preferredHeight: Kirigami.Units.iconSizes.smallMedium | ||
48 | Layout.preferredWidth: Kirigami.Units.iconSizes.smallMedium | 43 | Layout.preferredWidth: Kirigami.Units.iconSizes.smallMedium | ||
49 | Layout.rightMargin: Kirigami.Units.smallSpacing | 44 | Layout.rightMargin: Kirigami.Units.smallSpacing | ||
50 | Layout.alignment: Qt.AlignVCenter | 45 | Layout.alignment: Qt.AlignVCenter | ||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |