Public Member Functions | |
def | __init__ (self, menu) |
def | add_item (self, new_item) |
def | add_prefix (self, item) |
def | add_suffix (self, item) |
def | contains_item (self, name) |
def | contains_menu (self, name) |
def | count_items (self) |
def | get_item (self, name) |
def | get_items (self) |
def | get_menu (self, name) |
def | remove_item (self, name) |
def | set_item_checked (self, name, flag) |
def | set_item_disabled (self, name, flag) |
Public Attributes | |
menu | |
Private Member Functions | |
def | _get_item_label (self, item) |
def | _insert_item (self, before, item) |
Private Attributes | |
_ordered_items | |
_prefixes_separator | |
_suffixes_separator | |
Menu manager containing alphabetically ordered items and other items before and after.
Definition at line 35 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.__init__ | ( | self, | |
menu | |||
) |
Definition at line 38 of file menu_manager.py.
|
private |
Definition at line 139 of file menu_manager.py.
|
private |
Definition at line 127 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.add_item | ( | self, | |
new_item | |||
) |
Definition at line 63 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.add_prefix | ( | self, | |
item | |||
) |
Definition at line 55 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.add_suffix | ( | self, | |
item | |||
) |
Definition at line 74 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.contains_item | ( | self, | |
name | |||
) |
Definition at line 82 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.contains_menu | ( | self, | |
name | |||
) |
Definition at line 95 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.count_items | ( | self | ) |
Definition at line 79 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.get_item | ( | self, | |
name | |||
) |
Definition at line 85 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.get_items | ( | self | ) |
Definition at line 104 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.get_menu | ( | self, | |
name | |||
) |
Definition at line 98 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.remove_item | ( | self, | |
name | |||
) |
Definition at line 120 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.set_item_checked | ( | self, | |
name, | |||
flag | |||
) |
Definition at line 110 of file menu_manager.py.
def qt_gui.menu_manager.MenuManager.set_item_disabled | ( | self, | |
name, | |||
flag | |||
) |
Definition at line 115 of file menu_manager.py.
|
private |
Definition at line 44 of file menu_manager.py.
|
private |
Definition at line 43 of file menu_manager.py.
|
private |
Definition at line 45 of file menu_manager.py.
qt_gui.menu_manager.MenuManager.menu |
Definition at line 42 of file menu_manager.py.