Hi, now I've tried this:
Qt Code:
  1. //constructor of myidget:
  2. myPopupmenu->insertItem("WireFrame", this, SLOT(setWireframe(true)), 4);
To copy to clipboard, switch view to plain text mode 
The Errors are these:
Qt Code:
  1. QObject::connect: No such slot MyWidget::setWireframe(true)
  2. QObject::connect: (sender name: 'unnamed')
  3. 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?