Results 1 to 2 of 2

Thread: Is that normal about QListView ?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2013
    Posts
    321
    Thanks
    9
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Is that normal about QListView ?

    Hi,
    I have a QListView using icon mode and QFileSystemModel.
    That sort correctly by name of files but when I edit one item that doesn't update the sort, the item is at the same place.
    I have tried to add a key that call model()->sort( 0 ); but that doesn't sort anything.
    How make that sort the item at the end of the edit ?
    Thanks for the help
    Last edited by Alundra; 23rd January 2015 at 20:22.

Similar Threads

  1. QMainWindow setting normal size
    By mqt in forum Qt Programming
    Replies: 1
    Last Post: 12th July 2013, 11:23
  2. How to block the normal buttons of a QWidget
    By Momergil in forum Qt Programming
    Replies: 3
    Last Post: 4th January 2012, 12:32
  3. Replies: 1
    Last Post: 28th May 2010, 23:01
  4. Replies: 1
    Last Post: 28th April 2009, 14:13
  5. Difference between normal socket and QTcpSocket
    By ShaChris23 in forum Newbie
    Replies: 1
    Last Post: 16th June 2007, 04:38

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.