Results 1 to 2 of 2

Thread: Clear a cache!

  1. #1
    Join Date
    Nov 2009
    Posts
    11
    Qt products
    Qt4
    Platforms
    Windows

    Default Clear a cache!

    Hello!

    I have a QwtPlotSpectrogramm item on my QwtPlot widget. I found out that it caches when I do it visible or invisible. Then some parameters of spectrogramm (more exactly parameters of subclassed QwtRasterData object) could change and I call replot(), but old spectrogram is painted (which is saved in cache).

    Is there a way to clear cache or force qwt to repaint item?

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Clear a cache!

    Quote Originally Posted by Indalo View Post
    Is there a way to clear cache or force qwt to repaint item?
    QwtPlotRasterItem::invalidateCache()

    Uwe

Similar Threads

  1. Replies: 4
    Last Post: 23rd November 2010, 18:15
  2. Replies: 1
    Last Post: 18th December 2009, 12:20
  3. using QWebView cache with QNetworkDiskCache
    By Jann3 in forum Qt Programming
    Replies: 3
    Last Post: 7th October 2009, 14:23
  4. Replies: 3
    Last Post: 12th July 2008, 23:51
  5. deleting plugin cache entries (qsqlmysql.lib )
    By locus in forum Qt Programming
    Replies: 1
    Last Post: 20th June 2007, 17:41

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.