Results 1 to 3 of 3

Thread: QwtPlotOpenGLCanvas + Zooming, huge delays when Widget is fullscreen

  1. #1
    Join Date
    Jul 2016
    Posts
    57
    Thanks
    4
    Qt products
    Qt5
    Platforms
    Windows

    Question QwtPlotOpenGLCanvas + Zooming, huge delays when Widget is fullscreen

    Using the QwtPlotOpenGLCanvas now.
    just addition of this line:
    Qt Code:
    1. QwtPlotZoomer * zoomer = new QwtPlotZoomer( plotCanvas, true);
    To copy to clipboard, switch view to plain text mode 

    Already gave me the needed minimum zooming capabilities.

    One note though... unfortunately, lets say when I full-screen the whole app, and mark the zoom rectangle, there is a delay of about ~1s before the zoom occurs. Not sure why there is such huge delay? The plot only contains like 5-6 points...

    Any ideas?

  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: QwtPlotOpenGLCanvas + Zooming, huge delays when Widget is fullscreen

    QOpenGLWidget is not very good in combination with regular widgets - it is even buggy as regular widgets on top are not updated properly. In your case the rubber band is such a regular widget.

    I also remember, that moving a rubber band in a modified version of the bode example was pretty slow, because of the updates on the status bar.

    Uwe

  3. #3
    Join Date
    Jul 2016
    Posts
    57
    Thanks
    4
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QwtPlotOpenGLCanvas + Zooming, huge delays when Widget is fullscreen

    Well, I tried the old QwtPLotGLCanvas, the zooming was faster, but it had different issues:

    * Screen glitches when zooming sometimes
    * The tracker pen fonts messed up

    Picture attached...

    UQqTtdu.png

Similar Threads

  1. Replies: 4
    Last Post: 17th August 2016, 19:41
  2. Tooltip delays
    By drhex in forum Qt Programming
    Replies: 8
    Last Post: 15th November 2011, 23:46
  3. youtube fullscreen effect for a widget
    By cyrfer in forum Qt Programming
    Replies: 2
    Last Post: 5th January 2010, 13:57
  4. making widget back from fullscreen
    By anoar in forum Qt Programming
    Replies: 2
    Last Post: 22nd September 2009, 18:13
  5. Delays in processing events
    By Caius Aérobus in forum Qt Programming
    Replies: 6
    Last Post: 7th April 2006, 13:42

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.