[Qt-interest] cross platform way of selecting contacts
Malyushytsky, Alex
alex at wai.com
Tue Feb 15 23:33:02 CET 2011
As for me QListView is not the best choice there.
It does not have to have checkboxes either.
Also unless you have to handle huge dataset you can use QListWidget, QTableWidget, QTreeWidget and so on instead of QListView, QtableView, QTreeView. They are much easier in use.
If I were doing it I would create something similar to Microsoft Outlook Address Book by design.
As for me table for the list of the customers is more appropriate.
>> when Nokia promotes qt as a easy way to develop for symbian.
Also I doubt Nokia still promotes Symbian. I would even say more, but subject is too sensitive, so I will make no more comments.
As for programming, I know nothing about whatever is/was used for development on Symbian before,
but there is no standard control you are talking about in any system I know.
Qt is just a library which provides cross-platform development.
It provides all tools you need for development, but does not remove needs in programmer completely.
If such control were so common, Nokia would develop one.
As for me I find it too difficult to define general requirements for such control the way it is useful for everybody
and too simple to create a custom control which serves my specific needs to bother.
If you find it common enough, you can write your own plug-in and either use it within your company or even request it to be integrated in qt.
Alex
From: kahola g [mailto:kahola.g at gmail.com]
Sent: Tuesday, February 15, 2011 10:49 AM
To: Malyushytsky, Alex
Cc: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] cross platform way of selecting contacts
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.
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.
On Tue, Feb 15, 2011 at 4:33 AM, Malyushytsky, Alex <alex at wai.com<mailto:alex at wai.com>> wrote:
If you don't know exact information you need to handle, task of creating
GUI is not trivial anymore.
If you know what kind of information you need to handle (as I hope you do),
creating your own QContactSelectionDialog is a trivial task.
You might want to check the qtpropertybrowser framework, which I found useful to create a consistent working gui:
http://doc.qt.nokia.com/qq/qq18-propertybrowser.html
http://doc.qt.nokia.com/solutions/4/qtpropertybrowser/qtgroupboxpropertybrowser.html
http://doc.qt.nokia.com/solutions/4/qtpropertybrowser/qttreepropertybrowser.html
Alex
From: qt-interest-bounces+alex=wai.com<http://wai.com>@qt.nokia.com<http://qt.nokia.com> [mailto:qt-interest-bounces+alex<mailto:qt-interest-bounces%2Balex>=wai.com<http://wai.com>@qt.nokia.com<http://qt.nokia.com>] On Behalf Of kahola g
Sent: Saturday, February 12, 2011 10:28 AM
To: qt-interest at qt.nokia.com<mailto:qt-interest at qt.nokia.com>
Subject: [Qt-interest] cross platform way of selecting contacts
Hi
I want to know "is there a widget like QContactSelectionDialog that I can give the user to select a bunch of contacts." I am interested in maemo and symbian.
Or I will have to use platform specific api for that. Or do my own dialog (which sounds too much for such a trivial task).
thanks,
KG
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."
"Please consider our environment before printing this email."
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com<mailto:Qt-interest at qt.nokia.com>
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110215/604dd9ec/attachment.html
More information about the Qt-interest-old
mailing list