[Qt-interest] Using QGraphicsWidget's QActions

Mihail Naydenov mlists at ymail.com
Thu Apr 22 15:48:02 CEST 2010


Hi, I guess Its a newbie one, but I cant figure out how to use QGraphicsWidget's QActions in the most basic way...

The docs say 
"The default use of the QAction list (as returned by actions()) is to create a context QMenu"

What does it mean?
I kind of expected a Context Menu will popup with all actions() listed. Or implies its common to (manually) create such menu.

Also it seams no events like Action added are received. Does QGraphicsWidget receives *any* events from its actions.


In general, how I am supposed to use a widget's actions and how are they different then regular "free standing" or child actions?

Thanks
MihailNaydenov



      



More information about the Qt-interest-old mailing list