Results 1 to 4 of 4

Thread: remove of all QwtPlotCurves

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: remove of all QwtPlotCurves

    Qt Code:
    1. void MainWindow::enableZoomMode(bool on)
    2. {
    3. ...
    4. if ( on ) {
    5. dataZoomer[0]->setEnabled(on)
    6. dataZoomer[0]->setZoomBase();
    7. }
    8. else {
    9. dataZoomer[0]->zoom(0); // zoom out
    10. dataZoomer[0]->setEnabled(on);
    11. }
    12. ...
    13. }
    To copy to clipboard, switch view to plain text mode 

    Uwe

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

    gyre (21st December 2007)

Similar Threads

  1. Replies: 6
    Last Post: 13th February 2014, 12:46
  2. Remove QSizeGrip/Size Grip from a QWidget or QDialog?
    By Cheetah in forum Qt Programming
    Replies: 1
    Last Post: 5th November 2007, 16:35
  3. Remove a QLayout from QGridLayout
    By grosem in forum Qt Programming
    Replies: 18
    Last Post: 2nd January 2007, 11:19
  4. QRegExp Help; remove all html tag
    By patrik08 in forum Qt Programming
    Replies: 7
    Last Post: 27th July 2006, 13:40
  5. QSettings again ... how to remove array elements
    By Mike in forum Qt Programming
    Replies: 4
    Last Post: 11th January 2006, 08:58

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.