In Qt3 you could access the list box of a combo box and easily sort its items by calling the sort method of the list box.
In Qt4 you can get the abstract item model of a combo box, but the implementation of the sort method of QAbstractItemModel does nothing.
Is there a similarly simple way as in Qt3 to sort the items of a QComboBox in Qt4 after the combo box has been initialized by inserting items in any order?
(I have seen thread http://www.qtcentre.org/forum/showth...=sorting+combo, but it doesn't fully answer my question.)
Many thanks in advance,
Klaus.
Bookmarks