[Qt-interest] Sorting QTableWidget's column with checked items

Iurii Gordiienko hordi at ukr.net
Thu Apr 16 15:15:02 CEST 2009


>How can I sort column with checked items (these items has no text at all)    I found operator< for QTableWidgetItem - no question about this...    But how can I sort more that one columns?        
--- Original Message ---    
From: "Iurii Gordiienko" <hordi at ukr.net>    
To: qt-interest at trolltech.com    
Date: 16 april, 14:16:34    
Subject: [Qt-interest] Sorting QTableWidget's column with checked items    
    
    Hi How can I sort column with checked items (these items haso no text at all)? I attach example with simple QTableWidget - it's first column has only checked items and I can't understand why item is moved to top after check-uncheck it... How can I reimplement QTableWidget's sorting behavior (I want implement own sort-order - I need sort QTableWidget by several columns)? Qt-4.5.0 Thanks    
    
    
    
--    
    Рецепт успеха в Сети. Новый номер журнала InternetUA.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090416/dd418146/attachment.html 


More information about the Qt-interest-old mailing list