Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
qt_gui.menu_manager.MenuManager Class Reference
Inheritance diagram for qt_gui.menu_manager.MenuManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def add_item
def add_prefix
def add_suffix
def contains_item
def contains_menu
def count_items
def get_item
def get_items
def get_menu
def remove_item
def set_item_checked
def set_item_disabled

Public Attributes

 menu

Private Member Functions

def _get_item_label
def _insert_item

Private Attributes

 _ordered_items
 _prefixes_separator
 _suffixes_separator

Detailed Description

Manager for a menu containing alphabetically ordered items as well as additional items before and afterwards.

Definition at line 35 of file menu_manager.py.


Constructor & Destructor Documentation

def qt_gui.menu_manager.MenuManager.__init__ (   self,
  menu 
)

Definition at line 39 of file menu_manager.py.


Member Function Documentation

def qt_gui.menu_manager.MenuManager._get_item_label (   self,
  item 
) [private]

Definition at line 140 of file menu_manager.py.

def qt_gui.menu_manager.MenuManager._insert_item (   self,
  before,
  item 
) [private]

Definition at line 128 of file menu_manager.py.

def qt_gui.menu_manager.MenuManager.add_item (   self,
  new_item 
)

Definition at line 64 of file menu_manager.py.

def qt_gui.menu_manager.MenuManager.add_prefix (   self,
  item 
)

Definition at line 56 of file menu_manager.py.

def qt_gui.menu_manager.MenuManager.add_suffix (   self,
  item 
)

Definition at line 75 of file menu_manager.py.

Definition at line 83 of file menu_manager.py.

Definition at line 96 of file menu_manager.py.

Definition at line 80 of file menu_manager.py.

def qt_gui.menu_manager.MenuManager.get_item (   self,
  name 
)

Definition at line 86 of file menu_manager.py.

Definition at line 105 of file menu_manager.py.

def qt_gui.menu_manager.MenuManager.get_menu (   self,
  name 
)

Definition at line 99 of file menu_manager.py.

def qt_gui.menu_manager.MenuManager.remove_item (   self,
  name 
)

Definition at line 121 of file menu_manager.py.

def qt_gui.menu_manager.MenuManager.set_item_checked (   self,
  name,
  flag 
)

Definition at line 111 of file menu_manager.py.

def qt_gui.menu_manager.MenuManager.set_item_disabled (   self,
  name,
  flag 
)

Definition at line 116 of file menu_manager.py.


Member Data Documentation

Definition at line 39 of file menu_manager.py.

Definition at line 39 of file menu_manager.py.

Definition at line 39 of file menu_manager.py.

Definition at line 39 of file menu_manager.py.


The documentation for this class was generated from the following file:


qt_gui
Author(s): Dirk Thomas
autogenerated on Thu Jun 6 2019 18:07:34