Example #1
0
    def __init__(self, parent):
        QtGui.QStandardItemModel.__init__(self, parent)
        self.match_text = ''
        self.full_text = ''
        self.case_sensitive = False
        self.icon_from_filename = decorators.memoize(qtutils.icon_from_filename)

        self.update_thread = GatherCompletionsThread(self)
        self.connect(self.update_thread, SIGNAL('items_gathered'),
                     self.apply_matches)
Example #2
0
    def __init__(self, parent):
        QtGui.QStandardItemModel.__init__(self, parent)
        self.match_text = ''
        self.full_text = ''
        self.case_sensitive = False
        self.icon_from_filename = decorators.memoize(qtutils.icon_from_filename)

        self.update_thread = GatherCompletionsThread(self)
        self.connect(self.update_thread,
                     SIGNAL('items_gathered(PyQt_PyObject)'),
                     self.apply_matches, Qt.QueuedConnection)
Example #3
0
 def __init__(self, parent=None):
     standard.TreeWidget.__init__(self, parent=parent)
     self.icon_from_filename = decorators.memoize(
         qtutils.icon_from_filename)
     self.setSelectionMode(self.ExtendedSelection)
     self.setHeaderHidden(True)
Example #4
0
 def __init__(self, parent=None):
     standard.TreeWidget.__init__(self, parent=parent)
     self.icon_from_filename = decorators.memoize(qtutils.icon_from_filename)
     self.setSelectionMode(self.ExtendedSelection)
     self.setHeaderHidden(True)