Fix MapItemView not setting context data upon item deletion


The current implementation does not properly re-set context data upon
model item deletion/change.

This patch uses a QQmlDelegateModel that does all the management internally.

To accommodate for items disappearing/reappearing all at once, potentially
introducing flickering, a fixed opacity transition 300msec long  has been
introduced as exit transition.

In later Qt releases, new API can be added to let the user change it,
as well as also adding an enter transition and possibly more.

Task-number: QTBUG-62086
Task-number: QTBUG-65833
Change-Id: I59a8147a12f035d5c7f86c2546e9144b2e1a7b3c
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commit572957bb1326190672ea138ccf475c0cf1893192
parent9277ad55ad1a76492a3985460569d0a6fd15b08a
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeTue, 17 Apr 2018 13:36:34 +0000