The QMenu class, part of the Qt framwork, provides a menu widget for use in menu bars, context menus, and other popup menus.