subsurface/qt-mobile/qml
Dirk Hohndel 44deaf6c51 QMLProfile: account for device pixel ratio when transforming the profile
This is turning into the never ending story. The documentation is not helpful,
so this is the result of a ton of trial and error - and I worry that the next
device I try this on will once again break things.

I think the scaling may finally be correct. Take the viewport rectangles
of the profile and the painter, create their ratio, multiply in the device
pixel ratio and the scene size with a little margin added around it.

But the other magic (especially the shifting of the profile on the
painter) makes absolutely no sense to me.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-08 20:50:56 -08:00
..
icons Add top-right edit and back buttons for mobile 2016-02-07 13:56:07 -08:00
theme Clean up dead code in units 2015-11-07 09:03:01 -08:00
About.qml QML UI: small modification to About screen 2016-03-05 17:00:14 -08:00
CloudCredentials.qml QML UI: use action button and Android back button to save / go back 2016-02-13 21:10:51 -08:00
dive.jpg Add banner image for the left drawer menu 2015-11-29 17:41:16 +01:00
DiveDetails.qml use the global showPassiveNotification function 2016-03-03 10:44:41 -08:00
DiveDetailsEdit.qml QML UI: resolve confusion about dive list model ordering 2016-03-02 09:02:00 -08:00
DiveDetailsView.qml QML UI: remove incorrect calculation of devicePixelRatio 2016-03-08 20:50:29 -08:00
DiveList.qml QML UI: back key on dive list exits the app 2016-02-14 12:17:24 -08:00
DownloadFromDiveComputer.qml QML UI: remove the redundant context menus that just close the page 2016-02-12 22:26:47 -08:00
GpsList.qml QML UI: remove the redundant context menus that just close the page 2016-02-12 22:26:47 -08:00
Log.qml QML UI: remove the redundant context menus that just close the page 2016-02-12 22:26:47 -08:00
main.qml QML UI: make sure the drawer is closed after going back to dive list 2016-03-03 15:12:09 -08:00
mobile-resources.qrc use the global showPassiveNotification function 2016-03-03 10:44:41 -08:00
Preferences.qml QML UI: use action button for save in GPS preferences 2016-02-13 21:50:31 -08:00
StartPage.qml QML UI: try to avoid binding loop 2016-03-03 10:51:52 -08:00
SubsurfaceButton.qml QML-UI. Improved button style 2016-01-22 06:47:06 -08:00
TextButton.qml organize qml files in subdirectories 2015-11-07 09:00:59 -08:00
ThemeTest.qml QMLProfile: account for device pixel ratio when transforming the profile 2016-03-08 20:50:56 -08:00
TopBar.qml QML UI: simplify and correct top bar layout 2016-02-13 23:44:59 -08:00