How to display progress while fetching contacts?

2011-04-14 Thread David Talmage
I'm looking for a platform-independent way to display the progress of a 
QContactFetchRequest.  Can any of you suggest a solution? I've found a couple 
of partial solutions but nothing completely satisfactory.  

QProgressBar would be perfect if I knew how many contacts to expect.  I don't 
know that.  I only know when the QContactFetchRequest begins, when some 
results arrive, and when it ends.

QMaemo5InformationBox::information() with a timeout value of 
QMaemo5InformationBox::NoTimeout is informative but the user can (or must?) 
dismiss it by tapping on the screen.  I don't want that.  In addition, with a 
name like QMaemo5InformationBox, I don't expect that I will be able to use it 
on Symbian devices or whatever else I port my application to.

I'm going to look into QStatusBar. 

I welcome other ideas from all of you.

Dave
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How to display progress while fetching contacts?

2011-04-14 Thread Joseph Charpak
On Thu, 14 Apr 2011 16:16:01 -0400
David Talmage talm...@acm.org wrote:

 I'm looking for a platform-independent way to display the progress of
 a QContactFetchRequest.  Can any of you suggest a solution? I've
 found a couple of partial solutions but nothing completely
 satisfactory.  
 
 QProgressBar would be perfect if I knew how many contacts to expect.
 I don't know that.  I only know when the QContactFetchRequest begins,
 when some results arrive, and when it ends.
 
 QMaemo5InformationBox::information() with a timeout value of 
 QMaemo5InformationBox::NoTimeout is informative but the user can (or
 must?) dismiss it by tapping on the screen.  I don't want that.  In
 addition, with a name like QMaemo5InformationBox, I don't expect that
 I will be able to use it on Symbian devices or whatever else I port
 my application to.
 
 I'm going to look into QStatusBar. 
 
The technical term you're looking for is a throbber. Do a google
search for qt and throbber. 

This url sounded on topic:
http://stackoverflow.com/questions/3301866/using-pyqt-and-qt4-is-this-the-proper-way-to-get-a-throbber-in-a-qtabwidget-tab
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers