Plasma mobile HID question: popup on long press

Dirk Hohndel dirk at hohndel.org
Fri Jan 8 21:04:53 UTC 2016


On Fri, Jan 08, 2016 at 09:35:05PM +0100, Thomas Pfeiffer wrote:
> On Freitag, 8. Januar 2016 12:25:19 CET Dirk Hohndel wrote:
> > Ha. I love being the guinea pig (Versuchskaninchen is even cuter).
> 
> Gooooood *rubbing hands*...

Hmmmmmm

> > We have a list with a LOT of elements. Think dozens added a day, for some
> > people who've used the app for a long time this can go into the thousands.
> > Many users don't interact with this list directly, they'll just ask the
> > app to process the list and apply the data from it to their list of dives.
> > 
> > (background: the list I'm talking about is a list of GPS locations - you
> > run the app in the background and based on some criteria it adds GPS
> > locations. think you are on a dive boat and let the app running; now after
> > you downloaded your dives into your dive list, Subsurface can match those
> > two lists and figure out the location where you went diving; easy)
> > 
> > But many of our users ask us for the ability to
> > a) see where these GPS fixes are on a map and
> > b) selectively delete some of these GPS fixes
> > 
> > It seemed rather intuitive to me to allow people to tap the gps fix in the
> > list and open a QLocation based map that shows a satellite image with a
> > place marker.
> > And to long press the entry and get a question "do you want to delete this
> > GPS fix?" with Yes/No answer.
> 
> To me, this sounds like a case for the "slide to reveal actions" pattern (see 
> [1]). Would that work in your case?

Totally. I didn't know that was an available option with QML / Plasma
mobile. Certainly much more elegant than a popup window (so 80s).

Any pointers, suggestions how to implement this?

/D


More information about the Plasma-devel mailing list