Results 1 to 2 of 2

Thread: Calling paintevent inside a timer.

  1. #1
    Join Date
    Oct 2009
    Posts
    105
    Thanked 4 Times in 2 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Calling paintevent inside a timer.

    Hi All
    If Is there any problem,if i call repaint event of a dialog (QDialog::update()) inside a timer?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Calling paintevent inside a timer.

    No, but make sure to use update() not repaint()!

Similar Threads

  1. calling paintEvent() of the super class
    By Cruz in forum Newbie
    Replies: 2
    Last Post: 24th March 2021, 20:29
  2. Calling paintEvent when I want to
    By di_zou in forum Newbie
    Replies: 3
    Last Post: 14th October 2009, 10:29
  3. Calling update() from paintEvent()
    By wonder.mice in forum Qt Programming
    Replies: 8
    Last Post: 11th January 2008, 13:41
  4. Timer for application
    By Zergi in forum Qt Programming
    Replies: 3
    Last Post: 26th December 2007, 22:21
  5. Replies: 5
    Last Post: 20th November 2007, 12:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.