Results 1 to 7 of 7

Thread: Refreshing a Custom QwtScaleDraw

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Refreshing a Custom QwtScaleDraw

    Qt Code:
    1. TimeScaleDraw* scaleDraw = dynamic_cast<TimeScaleDraw*>( plot->axisScaleDraw( ... ) );
    2. scaleDraw->start();
    3. scaleDraw->invalidateCache();
    4. plot->replot();
    To copy to clipboard, switch view to plain text mode 
    HTH,
    Uwe

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

    grantbj74 (19th March 2012)

Similar Threads

  1. Replies: 1
    Last Post: 13th October 2011, 16:52
  2. Replies: 2
    Last Post: 14th September 2011, 07:53
  3. QwtScaleDraw align label to xaxis
    By kja in forum Qwt
    Replies: 1
    Last Post: 21st November 2010, 19:55
  4. Replies: 1
    Last Post: 14th October 2010, 18:56
  5. Threaded refreshing of a TreeView with custom model
    By CLRS530 in forum Qt Programming
    Replies: 4
    Last Post: 25th August 2009, 08:23

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.