Changeset View
Changeset View
Standalone View
Standalone View
Modules/energy/package/contents/ui/main.qml
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Line(s) | 189 | GridLayout { | |||
---|---|---|---|---|---|
224 | } | 224 | } | ||
225 | 225 | | |||
226 | QQC2.Button { | 226 | QQC2.Button { | ||
227 | icon.name: "view-refresh" | 227 | icon.name: "view-refresh" | ||
228 | hoverEnabled: true | 228 | hoverEnabled: true | ||
229 | QQC2.ToolTip.text: i18n("Refresh") | 229 | QQC2.ToolTip.text: i18n("Refresh") | ||
230 | QQC2.ToolTip.visible: hovered | 230 | QQC2.ToolTip.visible: hovered | ||
231 | QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay | 231 | QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay | ||
232 | Accessible.name: ToolTip.text | 232 | Accessible.name: QQC2.ToolTip.text | ||
233 | onClicked: history.refresh() | 233 | onClicked: history.refresh() | ||
234 | } | 234 | } | ||
235 | } | 235 | } | ||
236 | 236 | | |||
237 | HistoryModel { | 237 | HistoryModel { | ||
238 | id: history | 238 | id: history | ||
239 | duration: timespanComboDurations[timespanCombo.currentIndex] | 239 | duration: timespanComboDurations[timespanCombo.currentIndex] | ||
240 | device: currentUdi | 240 | device: currentUdi | ||
▲ Show 20 Lines • Show All 227 Lines • Show Last 20 Lines |