Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, August 2007
Re: Delay the display of a QDialog


Message 1 in thread

Nicolas Castagne wrote:

> What would you advice to obtain such a behavior ?

Doesn't QProgressDialog provide this directly ? Quoted from the doc:

"A common problem with progress dialogs is that it is difficult to know 
when to use them; operations take different amounts of time on different 
hardware. QProgressDialog offers a solution to this problem: it 
estimates the time the operation will take (based on time for steps), 
and only shows itself if that estimate is beyond minimumDuration() (4 
seconds by default)."

-- 
 [ signature omitted ] 

Message 2 in thread

TY much Mat.
That should make it.

Best-
Matthieu Dazy wrote:

> Nicolas Castagne wrote:
> 
>> What would you advice to obtain such a behavior ?
> 
> Doesn't QProgressDialog provide this directly ? Quoted from the doc:
> 
> "A common problem with progress dialogs is that it is difficult to know
> when to use them; operations take different amounts of time on different
> hardware. QProgressDialog offers a solution to this problem: it
> estimates the time the operation will take (based on time for steps),
> and only shows itself if that estimate is beyond minimumDuration() (4
> seconds by default)."
> 

--
 [ signature omitted ]