narendra
6th January 2010, 06:36
Hi,
I have a QStringList and i use it to set the contents of QCombobox.
I want the contents in QcomboBox as sorted so i called a sort function on QStringList before setting it to QCombobox.
But the string in the list are sorted based on case also, i dont what this to happen. how to solve this problem.
Ex: Help, Ha, he Zan.
it sorts it like Ha, Help, Zan, he but i want it as Ha, he, Help, Zan.
I want to know how to do using built in function if possible ?
Please do replay is there a way or not.
I have a QStringList and i use it to set the contents of QCombobox.
I want the contents in QcomboBox as sorted so i called a sort function on QStringList before setting it to QCombobox.
But the string in the list are sorted based on case also, i dont what this to happen. how to solve this problem.
Ex: Help, Ha, he Zan.
it sorts it like Ha, Help, Zan, he but i want it as Ha, he, Help, Zan.
I want to know how to do using built in function if possible ?
Please do replay is there a way or not.