Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/DiscoverDrawer.qml
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Line(s) | 99 | ColumnLayout { | |||
---|---|---|---|---|---|
116 | ActionListItem { | 116 | ActionListItem { | ||
117 | action: installedAction | 117 | action: installedAction | ||
118 | } | 118 | } | ||
119 | ActionListItem { | 119 | ActionListItem { | ||
120 | action: sourcesAction | 120 | action: sourcesAction | ||
121 | } | 121 | } | ||
122 | 122 | | |||
123 | ActionListItem { | 123 | ActionListItem { | ||
124 | action: Kirigami.Action { | 124 | action: aboutAction | ||
125 | text: i18n("Help") | | |||
126 | icon.name: "help-feedback" | | |||
127 | onTriggered: helpMenu.open() | | |||
128 | } | | |||
129 | | ||||
130 | readonly property var p0: Menu { | | |||
131 | id: helpMenu | | |||
132 | title: i18n("Help") | | |||
133 | | ||||
134 | MenuItem { action: ActionBridge { action: app.action("help_about_app") } } | | |||
135 | MenuItem { action: ActionBridge { action: app.action("help_report_bug") } } | | |||
136 | } | | |||
137 | } | 125 | } | ||
138 | 126 | | |||
139 | ActionListItem { | 127 | ActionListItem { | ||
140 | objectName: "updateButton" | 128 | objectName: "updateButton" | ||
141 | action: updateAction | 129 | action: updateAction | ||
142 | 130 | | |||
143 | backgroundColor: ResourcesModel.updatesCount>0 ? "orange" : Kirigami.Theme.viewBackgroundColor | 131 | backgroundColor: ResourcesModel.updatesCount>0 ? "orange" : Kirigami.Theme.viewBackgroundColor | ||
144 | } | 132 | } | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |