Method summary
- __init__(self, desc, owner, popup = False, window = None)
- checked(self, name, check = None)
- enabled(self, name, enable = None)
- get_action(self, name)
- get_body(self, indent)
- label(self, name, label = None)
- parse(self, menu, indent)
Methods
- __init__(self, desc, owner, popup = False, window = None)
Initializes the object.
- checked(self, name, check = None)
Checks (or unchecks) a menu item specified by name.
- enabled(self, name, enable = None)
Enables (or disables) a menu item specified by name.
- get_action(self, name)
Returns the QAction associated with a specified name.
- get_body(self, indent)
Returns the body of an inline method.
- label(self, name, label = None)
Gets or sets the label for a menu item.
- parse(self, menu, indent)
Recursively parses menu items from the description.