>But when the window minimum QTimer stops and paintEvent() could not be
called.
Whether your window is in minimized state?. When window is in minimized
state it is not visible in screen. Then why you need a paint? Basically
most of the windowing system optimizes by not sending paintevent when
window is in minimized state.


On 14 March 2013 08:36, 程梁 <[email protected]> wrote:

> Hi, there! In my application I need to update UI every 2s. I use QTimer to
> implement this feature. But when the window minimum QTimer stops and
> paintEvent() could not be called. How could I solve this problem? Or could
> you tell me something else to get this feature?
>
> Thank you!
>
> Cheng Liang
> Nanjing, China
> http://www.devbean.net
>
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest
>
>


-- 
*Arunprasad Rajkumar*
http://in.linkedin.com/in/ararunprasad
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to