Results 1 to 9 of 9

Thread: Method selectAll() from QListView does not work properly

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Default Re: Method selectAll() from QListView does not work properly

    I dont know how to use it; especially what to give as a second argument, QModelIndex. I'm pretty sure it cant be be a single item from the model, but dont have any ideas. Can you explain me it a bit more accurately or simply write a small piece of code which will remove single column?

    thanks in advance

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: Method selectAll() from QListView does not work properly

    I see right know that QFileSystemModel does not reimp removecolumns, so you can't use it. Then you have to use the selection options.

  3. The following user says thank you to Lykurg for this useful post:

    Treadstone (19th August 2010)

  4. #3
    Join Date
    Aug 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Default Re: Method selectAll() from QListView does not work properly

    Thanks, used selectedRows() and it's working fine

    Regards

Similar Threads

  1. selectAll in QLineEdit does not work
    By Ishmael in forum Newbie
    Replies: 4
    Last Post: 25th May 2015, 05:26
  2. QGraphicsView::scale does not work properly.
    By metdos in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2010, 08:58
  3. QT's style sheet does not work properly on Mac OS X
    By sanjayshelke in forum Qt Programming
    Replies: 1
    Last Post: 10th December 2009, 10:50
  4. QLineF::intersect does not work properly (solved)
    By jano_alex_es in forum Newbie
    Replies: 1
    Last Post: 23rd June 2009, 09:06
  5. Why can't I make dynamic_cast work properly?
    By pir in forum General Programming
    Replies: 13
    Last Post: 18th July 2006, 16:17

Tags for this Thread

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.