예제 #1
0
 def __init__(self, parent):
     OneColumnTree.__init__(self, parent)
     self.search_text = None
     self.results = None
     self.nb = None
     self.error_flag = None
     self.completed = None
     self.data = None
     self.set_title('')
     self.root_items = None
예제 #2
0
 def __init__(self, parent, show_fullpath=False, fullpath_sorting=True,
              show_all_files=True, show_comments=True):
     self.show_fullpath = show_fullpath
     self.fullpath_sorting = fullpath_sorting
     self.show_all_files = show_all_files
     self.show_comments = show_comments
     OneColumnTree.__init__(self, parent)
     self.freeze = False # Freezing widget to avoid any unwanted update
     self.editor_items = {}
     self.editor_tree_cache = {}
     self.editor_ids = {}
     self.current_editor = None
     title = _("Outline")
     self.set_title(title)
     self.setWindowTitle(title)
     self.setUniformRowHeights(True)
예제 #3
0
 def __init__(self,
              parent,
              show_fullpath=False,
              fullpath_sorting=True,
              show_all_files=True,
              show_comments=True):
     self.show_fullpath = show_fullpath
     self.fullpath_sorting = fullpath_sorting
     self.show_all_files = show_all_files
     self.show_comments = show_comments
     OneColumnTree.__init__(self, parent)
     self.freeze = False  # Freezing widget to avoid any unwanted update
     self.editor_items = {}
     self.editor_tree_cache = {}
     self.editor_ids = {}
     self.current_editor = None
     title = _("Outline")
     self.set_title(title)
     self.setWindowTitle(title)
     self.setUniformRowHeights(True)
예제 #4
0
 def clear(self):
     """Reimplemented Qt method"""
     self.set_title('')
     OneColumnTree.clear(self)
예제 #5
0
 def clear(self):
     """Reimplemented Qt method"""
     self.set_title('')
     OneColumnTree.clear(self)