subsurface/mobile-widgets
Lubomir I. Ivanov 18d910f6a7 mapwidgetcontextmenu: add the ListView component
NOTES:
- the ListView object uses lsitItemDelagate to display all elements from
the model listModel
- onCountChanged() is used to adjust the x position based on the
maxItemWidth property which is calculated when the items are populated
with text
- onVisibleChanged() is used to deselect the last selected item by
calling listModel.selectedIdx = -1
- onOpacityChanged() i sued to make sure that the View is hidden if the
opacity becomes 0.0
- inside the View there is a MouseAre which obtains the selected item via
indexAt(x,y)
- there is a Timer with id listViewVisibleTimer, which is called each
time the user selects an item from the list and the timer performs a
"delayed hide"
- a couple of State and a Transition objects are used to preform smooth
fade-in / out animation when the ListView is hidden or becomes visible

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-07-28 07:31:11 -07:00
..
qml mapwidgetcontextmenu: add the ListView component 2017-07-28 07:31:11 -07:00
qmlmanager.cpp Mobile: honour location service time threshold 2017-07-25 22:12:19 +09:00
qmlmanager.h QML UI: add checkbox to show/hide developer menu 2017-07-23 03:20:58 +09:00
qmlmapwidgethelper.cpp mapwidgethelper.cpp: call deselectMapLocation() in QML 2017-07-28 07:31:11 -07:00
qmlmapwidgethelper.h mapwidgethelper: add a slot to handle marker selection from the model 2017-07-28 07:31:11 -07:00
qmlprofile.cpp QML UI: adjust to modified logging API 2017-06-11 13:55:41 -07:00
qmlprofile.h Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00