Hi, there is a QMap<QString,QGraphicsItem *> type, then insert values with:
type.insert("U1",nullptr), type.insert("U2",nullptr), ………… type.insert("U9",nullptr), type.insert("U10",nullptr), I want get the values follow the order of U1, U2 ... U10, but the default order is U1, U10 ,……U9 I know this is a common string sorting problem, but I do not know how to solve it well. Any suggestions are very grateful ! Thanks.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest