subsurface/mobile-widgets/qml
Lubomir I. Ivanov 5270688483 mapwidget.qml: add new logic for zooming and editing support
The editing support is added via dragging. It is handled via the
MouseArea's drag.target of the MapQuickItem. The drag target changes
with the model selectedUuid.

"mapAnimationZoomIn" now also does an initial zoom-out before moving
to a new location.

centerOnCoordinate() now pefroms calculations to determine how much
the animation needs to zoom out. What it does is it reduces the Map
zoomLevel util both the current and the new target coordinates are visible.
It then restores the zoomLevel and performs animation based on newZoomOut.

animateMapZoomIn() is now obsolete.

The patch also includes the following smaller changes:
- remove the setSelectedUuid() call in deselectMapLocation()
This is now handled in C++
- sets "defaultZoomIn" to 12.0
- use ">=" when determining if a mapItem text should be visible

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-07-28 07:31:11 -07:00
..
icons mapwidget.qml: add zoom-in and zoom-out buttons 2017-07-28 07:31:11 -07:00
About.qml Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00
CloudCredentials.qml QML UI: remove obsolete debugging code 2017-07-26 06:31:14 -07:00
dive.jpg Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
DiveDetails.qml QML UI: don't access dive without modelData 2017-06-21 17:20:07 -07:00
DiveDetailsEdit.qml QML UI: replace all checkboxes with our own 2017-07-26 01:39:26 +09:00
DiveDetailsView.qml QML UI: use primaryColor instead of darkerPrimaryColor 2017-07-26 14:13:22 +09:00
DiveList.qml QML UI: use a lighter text color for the selected dive 2017-07-26 14:13:22 +09:00
DownloadedDiveDelegate.qml QML UI: replace all checkboxes with our own 2017-07-26 01:39:26 +09:00
DownloadFromDiveComputer.qml QML UI: replace button on DC download page 2017-07-26 01:39:26 +09:00
GpsList.qml QML UI: style the GPS fixes page 2017-07-15 18:21:03 +02:00
HintsTextEdit.qml QML UI: attempt to add dark theme 2017-06-21 17:20:07 -07:00
Log.qml QML UI: drop AppLog title and add margin instead 2017-07-06 09:34:37 -07:00
main.qml Revert "QML UI: color the status bar correctly" 2017-07-28 07:30:44 -07:00
MapWidget.qml mapwidget.qml: add new logic for zooming and editing support 2017-07-28 07:31:11 -07:00
MapWidgetContextMenu.qml mapwidgetcontextmenu: slight increase of element size 2017-07-28 07:31:11 -07:00
mobile-resources.qrc QML UI: add our own styled button 2017-07-26 01:39:26 +09:00
qtquickcontrols2.conf QML UI: Fully port dive edit to Kirigami2 2017-04-01 09:35:51 +02:00
Settings.qml QML UI: replace all switches with our own 2017-07-26 01:39:26 +09:00
SsrfButton.qml QML UI: add missing id line in our button 2017-07-26 14:13:22 +09:00
SsrfCheckBox.qml QML UI: add our own styled checkbox 2017-07-26 01:39:26 +09:00
SsrfSwitch.qml QML UI: add our own styled switch 2017-07-26 01:39:26 +09:00
StartPage.qml Mobile: consolidate settings to one page and menu entry 2017-07-23 03:20:58 +09:00
ThemeTest.qml Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00