Results 1 to 2 of 2

Thread: Sorting on the basis of Date and Size

  1. #1
    Join Date
    May 2007
    Posts
    98
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Sorting on the basis of Date and Size

    Hi
    I m using Qt4.2.2.We have one application that contains One TreeWidget ..It display item form the list..I have sort the items accroding to size,Date.

    My application donot want ot use the TreeView and any model..
    Is there any method to sort by size and date.

    How i can use the subclass of QtreeWidget for operator<(const QTreeWidgetItem&)const.

    or any other method to sorting....our application doesnot contain any TreeView and Model...
    It contains TreeWidget..

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Sorting on the basis of Date and Size

    Please don't start multiple threads on the same subject.

    Take a look at this:
    http://www.qtcentre.org/forum/f-qt-p...get-10180.html

    And this is your previous thread containing the answer
    http://www.qtcentre.org/forum/f-qt-p...date-9744.html

Similar Threads

  1. How to sort the treeWidget item according to size and date
    By santosh.kumar in forum Qt Programming
    Replies: 3
    Last Post: 23rd October 2007, 10:32

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.