Results 1 to 2 of 2

Thread: Disabling QwtPlotZoomer rubberband stays active

  1. #1
    Join Date
    May 2012
    Posts
    136
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    2
    Thanked 27 Times in 24 Posts

    Default Disabling QwtPlotZoomer rubberband stays active

    When there is a rubberband active for a QwtPlotZoomer and I disable the zoomer then the rubberband stays active.
    Is there anyway to also remove the active rubberband?

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

    Default Re: Disabling QwtPlotZoomer rubberband stays active

    When looking at the code of QwtPicker ( the base class of QwtPlotZoomer ) the rubberband overlay widget is removed, when calling QwtPicker::setEnabled( false ).

    Uwe

Similar Threads

  1. QTcpSocket stays in ConnectingState after reconnection
    By rybka007 in forum Qt Programming
    Replies: 4
    Last Post: 19th September 2013, 08:07
  2. QMdiSubWindow stays always on top
    By SiS-Shadowman in forum Qt Programming
    Replies: 0
    Last Post: 20th July 2010, 17:55
  3. QTemporaryFile stays locked even after calling close()
    By Tiansen in forum Qt Programming
    Replies: 1
    Last Post: 20th May 2010, 13:35
  4. QComboBox that stays expanded
    By jma in forum Qt Programming
    Replies: 2
    Last Post: 21st January 2009, 07:50
  5. QSystemTray stays longer than it should !
    By probine in forum Qt Programming
    Replies: 2
    Last Post: 21st December 2006, 11:37

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.