parameters: (self)
return_statement: return
docstring: Initialize the class viewer
docstring_summary: Initialize the class viewer
docstring_tokens: Initialize the class viewer
function: def populate_class_list(self):
          '''
          Initialize the class viewer
          '''
  
          cls_list = self.__ooanalyzer.get_classes()
          for cls in cls_list:
              cls_entry = PyOOAnalyzerStructTreeItem(self.cls_tree, cls)
  
              cls_methods = QTreeWidgetItem(cls_entry)
              cls_methods.setText(0, "Methods")
  
              for m in cls.methods:
                  PyOOAnalyzerMethodTreeItem(cls_methods, m)
  
              cls_members = QTreeWidgetItem(cls_entry)
              cls_members.setText(0, "Members")
  
              for off, mbr in cls.members.items():
                  if mbr.is_parent == False:
                      PyOOAnalyzerMemberTreeItem(cls_members, mbr)
  
              if len(cls.parents) > 0:
                  cls_parents = QTreeWidgetItem(cls_entry)
                  cls_parents.setText(0, "Parents")
                  for o, p in cls.parents.items():
                      # Parents are really special members that are class types
                      PyOOAnalyzerStructTreeItem(cls_parents, p)
  
          return
function_tokens: def populate_class_list ( self ) : cls_list = self . __ooanalyzer . get_classes ( ) for cls in cls_list : cls_entry = PyOOAnalyzerStructTreeItem ( self . cls_tree , cls ) cls_methods = QTreeWidgetItem ( cls_entry ) cls_methods . setText ( 0 , "Methods" ) for m in cls . methods : PyOOAnalyzerMethodTreeItem ( cls_methods , m ) cls_members = QTreeWidgetItem ( cls_entry ) cls_members . setText ( 0 , "Members" ) for off , mbr in cls . members . items ( ) : if mbr . is_parent == False : PyOOAnalyzerMemberTreeItem ( cls_members , mbr ) if len ( cls . parents ) > 0 : cls_parents = QTreeWidgetItem ( cls_entry ) cls_parents . setText ( 0 , "Parents" ) for o , p in cls . parents . items ( ) : # Parents are really special members that are class types PyOOAnalyzerStructTreeItem ( cls_parents , p ) return