Results 1 to 5 of 5

Thread: QPainter - drawing new graphics without removing old stuff

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QPainter - drawing new graphics without removing old stuff

    something like -
    Qt Code:
    1. QTimer::singleShot(500,this, onTimer());
    2.  
    3. void Dlg::OnTimer()
    4. {
    5. m_index_of_point++;
    6. drawPoint(m_pointList[m_index_of_point],x,y); // move the index to next point and draw it at x,y positiom.
    7. }
    To copy to clipboard, switch view to plain text mode 

    Hope u get the idea

  2. The following user says thank you to aamer4yu for this useful post:

    rickysts (14th April 2008)

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.