Rework how we feed data into history line charts for tables and some other fixes

  • faces: Rework how we feed data into history line charts for tables

The row/column referenced by ComponentCacheProxyModel can change, but the properties are marked as constant. This can lead to the wrong data being fed into the history source, resulting in incorrect charts being displayed.

Rather than trying to come up with some complicated method of fixing this in ComponentCacheProxyModel, change the chart component so we can feed it data from the actual delegate using a binding. This way we know for certain the value put into the history matches the displayed value.

  • table: Qualify access in BaseCellDelegate

  • faces: Set ComponentBehavior: Bound

According to qmlls not having this set is wrong

  • faces/applications: Remove unreachable return

  • table: Fix using text color for line chart when row is selected

selected is a property of the main delegate these days, not of its background.

BUG: 467225

  • faces: Use FillFromStart for line charts in tables

FillFromEnd doesn't really work all that well for the charts here.

Edited by Arjen Hiemstra

Merge request reports

Loading