This class inherits from Qt’s QtWidgets.QMenuBar
class.
Methods ¶
__init__(parent=None)
Create and return a new menubar.
If parent
is None, then the menu bar is parentless and becomes a window.
If parent
is a QWidget
object, then the menu bar becomes a child of the
object.