Results 1 to 3 of 3

Thread: removing model Items

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Posts
    99
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8

    Question removing model Items

    Hi people...
    I gotta a little mistake somwhere when removing a model items...but wasnt able to figure out where...Im trying to remove selected rows from my model when they are selected...
    But cant manage to do so ...Maybe Im just doing simple mistake or something but have spent so much time on this that I dont know any more ...
    Im attaching some codes...Model and Widget...problem is with the removeRows and removing of selected rows...When I sleect them and push the button to remove not all of them get removed...PLS help
    Attached Files Attached Files

Similar Threads

  1. How to update scene after removing items
    By nileshsince1980 in forum Qt Programming
    Replies: 4
    Last Post: 20th September 2007, 09:56
  2. Moving items within a model
    By iswm in forum Qt Programming
    Replies: 1
    Last Post: 11th April 2007, 08:29
  3. Removing items from QPtrList efficiency issues
    By kalos80 in forum Qt Programming
    Replies: 1
    Last Post: 5th April 2007, 12:04
  4. Removing items properly from qtreewidget item
    By Djony in forum Qt Programming
    Replies: 6
    Last Post: 21st November 2006, 12:20
  5. Limitation when adding more than 256 items to a model
    By darkadept in forum Qt Programming
    Replies: 5
    Last Post: 25th May 2006, 15:26

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.