Results 1 to 5 of 5

Thread: removing of selected rows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2006
    Posts
    25
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 1 Time in 1 Post

    Default Re: removing of selected rows

    As jpn mentions, you add a row to the table whenever pbRemove_clicked() is called.

    this happend at line 23 in the shown code
    you could avoid this by replacing that line with:

    Qt Code:
    1. Q3CheckTableItem *pb1 = 0;
    To copy to clipboard, switch view to plain text mode 
    Last edited by bhs-ittech; 9th June 2008 at 10:28. Reason: meaning twisting parsing corrected

  2. #2
    Join Date
    Jan 2008
    Posts
    72
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60
    Thanks
    3
    Thanked 4 Times in 4 Posts

    Thumbs up Re: removing of selected rows

    Thanx for reply but tht is not solution ...............I just want to remove selected rows nothing else..........
    for this I use Q3checkTableItem to only tht perticuler row is Checked or not.........but What mistake I m doing tht there remains one row...............
    If you can do something please I really need ur help

Similar Threads

  1. Remove selected rows from a QTableView
    By niko in forum Qt Programming
    Replies: 4
    Last Post: 3rd March 2016, 13:49
  2. iterating selected rows in a qtableview
    By JeanC in forum Qt Programming
    Replies: 2
    Last Post: 19th January 2008, 15:29
  3. Removing rows
    By indifference in forum Qt Programming
    Replies: 1
    Last Post: 30th August 2007, 17:54
  4. Showing selected rows in a separate table
    By dnnc in forum Qt Programming
    Replies: 3
    Last Post: 21st June 2007, 17:35
  5. Get list of selected rows from QTableView
    By jnk5y in forum Qt Programming
    Replies: 8
    Last Post: 17th February 2006, 17:59

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.