[Qt-interest] cross platform way of selecting contacts
Andre Somers
andre at familiesomers.nl
Wed Feb 16 07:51:17 CET 2011
Op 15-2-2011 19:49, kahola g schreef:
> I will have a look at them. I did that with QListView and creating my
> own model out of contacts that I got from mobility APIs. But result
> were not so good, I have to click the checkbox to check it. I was
> doing it for a touch screen
> device. I can do something about that by handling mouse events. I will
> also try qml when I get time. I was using QWidgets because I already
> have some experience there and I though such things will be available
> in widgets.
Your requirements are not completely clear. Do you need a widget to
select a single or to select multiple contacts? For the multiple case, I
guess a checkbox is not such a bad choice. For the single case, I think
you can do without. IMO, your basic approach of making a model to use in
a QListView is sound. You can use that same model in QML if you want,
making the approach quite flexible.
> But I still feel such a common use case should be covered by qt libs
> (may be mobility) when Nokia promotes qt as a easy way to develop for
> symbian. I will do it and so will lot of other people who need such
> things but its duplicate effort and slows down application
> development. I will try to share whatever I solution I go for.
Sharing is always appreciated.
André
More information about the Qt-interest-old
mailing list