Results 1 to 3 of 3

Thread: Delete a Plot from Qwt Plot Matrix

  1. #1
    Join Date
    Apr 2013
    Posts
    9
    Qt products
    Qt4 Qt5

    Default Delete a Plot from Qwt Plot Matrix

    Hii

    I want to add and delete plot in a plot matrix dynamically. I have grid layout; one column and multiple rows in matrix. I have created the plot matrix. But I couldn't delete. I have checked the Qwt examples. How we will delete a row full?

    Thanks and regards

    Sree

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Delete a Plot from Qwt Plot Matrix

    QLayout::indexOf() in conjunction with QGridLayout::takeAt() or QwtDynGridLayout::takeAt() depending on exactly which "grid layout" you have. Once you have it you can delete it. Chances are if you just delete the widget it will be removed from the grid automatically anyway.

  3. #3
    Join Date
    Apr 2013
    Posts
    9
    Qt products
    Qt4 Qt5

    Default Re: Delete a Plot from Qwt Plot Matrix

    Thanks.. I'll try

    Sree

Similar Threads

  1. about plot matrix
    By Nicho in forum Qwt
    Replies: 3
    Last Post: 30th June 2013, 14:20
  2. Replies: 3
    Last Post: 12th April 2013, 06:18
  3. Replies: 1
    Last Post: 17th April 2012, 10:10
  4. Replies: 0
    Last Post: 16th December 2011, 18:10
  5. Replies: 7
    Last Post: 22nd September 2008, 22:05

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.