Skip to content

qml: optimize grid view

  • qml: optimze valid item checking in ExpandGridView
    _containsItem is called a lot, cache the global variable lookup by caching it

  • qml: only allow plain text in GridItem
    improves recyling time in ExpandGridView

  • qml: optimize tooltip visibility checking in GridItem
    bear cost of instantiating an extra element to save unnecessary binding triggers
    previous implementation used existing MouseArea coverring whole GridItem to check for ToolTip visibility for subtitle text, but that cause a lot of unnecessary binding evaluation on every mouse move

Merge request reports