Results 1 to 20 of 21

Thread: QTableWidget case sensitive sort

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Location
    Sant'Elpidio a Mare, Italy
    Posts
    194
    Thanks
    54
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Question QTableWidget case sensitive sort

    Hi all,
    I have to sort a QTableWidget, and I achieve this with QTableView::setSortingEnabled(bool); but this sorting seems to be case sensitive, so the table is ordered in this way:
    a....zA.....Z and so on.

    Is there a way to make it NOT case sensitive? Maybe a flag or something like that...
    Last edited by Raccoon29; 3rd April 2008 at 12:29. Reason: wrong namespace
    --
    raccoon29

    "La mia vita finirà quando non vedrò più la gente ridere...non necessariamente alle mie battute "

Similar Threads

  1. Custom sort with QTableWidget
    By nicolas44 in forum Qt Programming
    Replies: 1
    Last Post: 9th August 2007, 00:47
  2. QTableWidget won't sort cellwidgets!!!
    By Arsenic in forum Qt Programming
    Replies: 7
    Last Post: 21st July 2007, 10:41

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.