View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#106
Originally Posted by rinigus View Post
@MartinK, try again with the new .pro file. I also changed the path for the library in this file, hopefully it would fit better now.
Got it working now (just the app for now, have not yet looked at installing the QML plugin and using it separately) - thanks a lot! And it all really looks gorgeous!

Originally Posted by rinigus View Post
I do wonder whether I am supposed to start a new thread under development since we probably are out of the brainstorm phase by now. Or anyone interested can find the information here as well?

One more question on mouse area: do we make

* a "universal" one which would expose via signals on whether it was clicked, double clicked, press-and-hold at some coordinate.

or

* provide it as a template that anyone can fit into the project and process the signals as they wish.
I think can we can easily achieve both - a "signal" based area available under the right license (likely BSD/MIT in this case) can easily be used as a black box via it's API or included as a customized part of application code if needed.

Originally Posted by rinigus View Post
For example, at present, double click is routed to centering on current position in Poor Maps and increasing zoom level in modRana. I am personally fine with the both ways, its probably up to the map app authors to state the preference.
Yeah - and it's not just differences, but I can imagine cases where you might want to block some of the signals outright (eq. in navigation mode, etc.). It's easy to do if it's your application code sitting between the area and the widgets, forwarding the signals or not, based on current application state.

But I guess for simpler applications (let's say a location view in a Twitter client) an all in one pre-configured element might also be welcome. It would be basically a Mapbox map view with the area on top, with signals connected to respective map view APIs in a generic way, so that pinch zoom, panning, & flicking work out of the box without the need for application side configuration. This could likely be left for later on though.

Originally Posted by rinigus View Post
If we go for the universal mouse area interaction, do we call it MapboxMapMouseArea?
Would it be actually Mapbox specific ? If not, it might be just called MapMouseArea/MapTouchArea/MapGestureArea/MapManipulationArea/etc. And maybe people might even use it for stuff not directly related to map manipulation.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 4 Users Say Thank You to MartinK For This Useful Post: