Changeset View
Changeset View
Standalone View
Standalone View
sidebar/package/contents/ui/CategoriesPage.qml
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Line(s) | 122 | if (applicationWindow().wideScreen) { | |||
---|---|---|---|---|---|
123 | subCategoryColumn.focus = true; | 123 | subCategoryColumn.focus = true; | ||
124 | } else { | 124 | } else { | ||
125 | root.focusNextRequest(); | 125 | root.focusNextRequest(); | ||
126 | } | 126 | } | ||
127 | } | 127 | } | ||
128 | section { | 128 | section { | ||
129 | property: "categoryDisplayRole" | 129 | property: "categoryDisplayRole" | ||
130 | delegate: Kirigami.AbstractListItem { | 130 | delegate: Kirigami.AbstractListItem { | ||
131 | enabled: false | | |||
132 | separatorVisible: false | 131 | separatorVisible: false | ||
132 | supportsMouseEvents:false | ||||
133 | RowLayout { | 133 | RowLayout { | ||
134 | anchors { | 134 | anchors { | ||
mart: hoverEnabled: false should be enough (iirc there are also properties to make it not do… | |||||
mart: should be supportsMouseEvents: false | |||||
135 | left: parent.left | 135 | left: parent.left | ||
136 | right: parent.right | 136 | right: parent.right | ||
137 | leftMargin: Kirigami.Units.smallSpacing | 137 | leftMargin: Kirigami.Units.smallSpacing | ||
138 | } | 138 | } | ||
139 | QtControls2.Label { | 139 | QtControls2.Label { | ||
140 | id: sectionLabel | 140 | id: sectionLabel | ||
141 | text: section | 141 | text: section | ||
142 | Layout.minimumHeight: Math.max(implicitHeight, Kirigami.Units.iconSizes.smallMedium) | 142 | Layout.minimumHeight: Math.max(implicitHeight, Kirigami.Units.iconSizes.smallMedium) | ||
Show All 40 Lines |
hoverEnabled: false should be enough (iirc there are also properties to make it not do mousepressed effects)