Migrate Q3PopupMenu to QMenu and QAction