qlist
QList/QHash store abstract elements
I\'d like to store in QHash elements that inherits from one class. So I\'ve got: class ImageInterface {[详细]
2023-04-13 06:53 分类:问答call of overloaded 'qHash(const double&)' is ambiguous
I get this error when I try to convert a QList to a QSet. QList<double> x_pts; x_pts << 4.1;[详细]
2023-04-11 02:44 分类:问答Valgrind memory leak reported in QT list append
I am using a serializer in QT C++. It looks ok but valgrind (memcheck tool) is reporting a memory leak on this function.[详细]
2023-04-09 15:19 分类:问答Qt QMap.insert() failing
I have a levelObjects object that\'s a QList of QVariants of QMaps: QList< QVariant > levelObjects;[详细]
2023-04-01 02:25 分类:问答Error by creating a list of QGraphicsItems
I have a QGraphicsScene on which I would like to draw some special curves. For that I made a class in which I define these special curves as a new QGraphicsItem:[详细]
2023-03-24 06:38 分类:问答Qt - QList const correctness
A QList<T *> can\'t easily be const-correct. Consider the function void f(QList<T *> list)[详细]
2023-03-15 22:58 分类:问答Make different lists from list
I use Qt and C++, I have a list(QList<int>) list<<1<<3<<4<<5<<9<<22<<32<<45[详细]
2023-03-08 06:49 分类:问答QList children - struct or custom classes derived from QObject?
I\'m currently working on Qt application on Symbian platform. Applicat开发者_如何学Goion has an sqlite database and initial data is populated from txt files.[详细]
2023-03-02 00:33 分类:问答Objects added to QList lose all of their member data
I\'m making a QList of a custom class called ControlIcon. I create the ControlIcons, and load them up with member variables, and then add them to the list开发者_如何学运维. Here\'s the append code:[详细]
2023-02-09 20:22 分类:问答how to send QList<Object *> objects to another class?
i\'m trying to send a QList as a parameter to another class but for some reason i lose all it\'s content ...[详细]
2023-01-05 22:51 分类:问答