Hi, now I've tried this:
//constructor of myidget:
myPopupmenu->insertItem("WireFrame", this, SLOT(setWireframe(true)), 4);
//constructor of myidget:
myPopupmenu->insertItem("WireFrame", this, SLOT(setWireframe(true)), 4);
To copy to clipboard, switch view to plain text mode
The Errors are these:
QObject::connect: No such
slot MyWidget
::setWireframe(true) QObject::connect: (sender name
: 'unnamed') QObject::connect: (receiver name
: 'myWidget1')
QObject::connect: No such slot MyWidget::setWireframe(true)
QObject::connect: (sender name: 'unnamed')
QObject::connect: (receiver name: 'myWidget1')
To copy to clipboard, switch view to plain text mode
I don't understand: setWireframe(bool) there is and it's a slot; sender name unamed!?
Any hints?
Bookmarks