PDA

View Full Version : QpopupManu



mickey
30th April 2006, 11:07
Hi, it happen this strange thing; see the strange symbols on the left of pictures. What are they?


myPopupmenu->insertItem(QPixmap::fromMimeSource("zoom_in.png"),"Zoom in",2);
myPopupmenu->insertItem(QPixmap::fromMimeSource("zoom_out.png"),
"Zoom out", this, SLOT(wireframe()), 3);
myPopupmenu->insertItem(QPixmap::fromMimeSource("wireFrame.png"),
"WireFrame", this, SLOT(wireframe()), 4);

jacek
30th April 2006, 13:11
myPopupmenu->insertItem(QPixmap::fromMimeSource("wireFrame.png"),
"WireFrame", this, SLOT(wireframe()), 4);
Check in the docs what is the fifth parameter for this version of insertItem() method (certainly it's not a menu identifier).