def __init__(self, mainwindow): #: :class:`.MainWindow` self.mainwindow = mainwindow #: :class:`.Document` self.document = mainwindow.document self._original_names = [] self._filtered_names = [] self._search_query = '' #: *int*. Currently selected index in the filtered/ordered list. self.selected_index = 0 self.view = NoopGUI()
def __init__(self, mainwindow): self.mainwindow = mainwindow self.document = mainwindow.document self.app = mainwindow.document.app self.view = NoopGUI() self._old_date_range = None