Add possibilitty to set undo/redo menus a parent in case of QGraphicsWidget-based UI, so that they appear in correct place when exec()-ed or shown