I'm not sure what you're exactly trying to do, but if it's only a set of menu options to choose from then you don't need to inherit anything. Just create a QMenu (of course you can inherit it as well, that's your choice) and add actions to it using addAction() method (there are few variants of that method, the simplest taking a QAction*).