hai
once again i am back with the previous question with clear details wat i need exactly..
as i am not getting any response i am putting the question once again clearly
Hi, I have a little problem with a QListView:
I have a column that's a number and I want to sort the QListView by this
column. The problem is that the sorting of list is alfanumeric
because the column is a string and I want to sort 'numericaly' without
padding '0' before each number.
My Sorting The sort I want
1 1
10 2
11 3
12 4
13 5
14 6
2 7
3 8
4 9
5 10
6 11
... ...
I have no option of overriding compare because my parent class has been derived from QDialog and the dervived from QListview not from QListviewItem.
if i am using compare i am getting the build error as compare is not a member of QListview.
help is in urgent.
thanks for the help
bye
vinni
Bookmarks