def __init__(self, document): Repeater.__init__(self, document) GUIObject.__init__(self) self.document = document self.app = document.app self._selected_transactions = [] self._explicitly_selected_transactions = [] self._selected_schedules = [] self._selected_budgets = [] self._account2visibleentries = {} self.panes = [] self.hidden_areas = set() self.search_field = SearchField(self) self.daterange_selector = DateRangeSelector(self) self.account_lookup = AccountLookup(self) self.completion_lookup = CompletionLookup(self) self.account_panel = AccountPanel(self) self.transaction_panel = TransactionPanel(self) self.mass_edit_panel = MassEditionPanel(self) self.budget_panel = BudgetPanel(self) self.schedule_panel = SchedulePanel(self) self.custom_daterange_panel = CustomDateRangePanel(self) self.account_reassign_panel = AccountReassignPanel(self) self.export_panel = ExportPanel(self) msgs = MESSAGES_DOCUMENT_CHANGED | {'filter_applied', 'date_range_changed'} self.bind_messages(msgs, self._invalidate_visible_entries)
def __init__(self, app): Repeater.__init__(self, app) GUIObject.__init__(self) self.app = app self._properties = { 'first_weekday': 0, 'ahead_months': 3, 'year_start_month': 1, 'default_currency': self.app._default_currency, } self.accounts = AccountList(self.default_currency) self.excluded_accounts = set() self.groups = GroupList() self.transactions = TransactionList() # I did not manage to create a repeatable test for it, but self.schedules has to be ordered # because the order in which the spawns are created must stay the same self.schedules = [] self.budgets = BudgetList() self.oven = Oven(self.accounts, self.transactions, self.schedules, self.budgets) self._undoer = Undoer(self.accounts, self.groups, self.transactions, self.schedules, self.budgets) self._date_range = YearRange(datetime.date.today()) self._filter_string = '' self._filter_type = None self._document_id = None self._dirty_flag = False self._restore_preferences()
def __init__(self, document): Repeater.__init__(self, document) GUIObject.__init__(self) self.document = document self.app = document.app self._selected_transactions = [] self._explicitly_selected_transactions = [] self._selected_schedules = [] self._selected_budgets = [] self._account2visibleentries = {} self.panes = [] self.hidden_areas = set() self.search_field = SearchField(self) self.daterange_selector = DateRangeSelector(self) self.account_lookup = AccountLookup(self) self.completion_lookup = CompletionLookup(self) self.csv_options = CSVOptions(self) self.import_window = ImportWindow(self) msgs = MESSAGES_DOCUMENT_CHANGED | { 'filter_applied', 'date_range_changed' } self.bind_messages(msgs, self._invalidate_visible_entries)
def __init__(self, parent_view): Listener.__init__(self, parent_view) GUIObject.__init__(self) HideableObject.__init__(self) self.parent_view = parent_view self.mainwindow = parent_view.mainwindow self.document = self.mainwindow.document self.app = self.document.app
def __init__(self): GUIObject.__init__(self) #: Whether symlinks or hardlinks are used when doing :attr:`link_deleted`. #: *bool*. *get/set* self.use_hardlinks = False #: Delete dupes directly and don't send to trash. #: *bool*. *get/set* self.direct = False
def __init__(self, app): GUIObject.__init__(self) self.app = app self.categories = [cat(app.results) for cat in app._prioritization_categories()] self.category_list = CriterionCategoryList(self) self.criteria = [] self.criteria_list = GUISelectableList() self.prioritizations = [] self.prioritization_list = PrioritizationList(self)
def __init__(self, mainwindow): Repeater.__init__(self, mainwindow) GUIObject.__init__(self) HideableObject.__init__(self) self._children = [] self.mainwindow = mainwindow self.document = mainwindow.document self.app = mainwindow.document.app self._status_line = ""
def __init__(self, document, listento=None): if listento is None: listento = document Listener.__init__(self, listento) GUIObject.__init__(self) #: Parent :class:`document <.Document>`. self.document = document #: Parent :class:`app <.Application>`. self.app = document.app
def __init__(self, mainwindow): Repeater.__init__(self, mainwindow) GUIObject.__init__(self) HideableObject.__init__(self) self._children = [] #: :class:`.MainWindow` self.mainwindow = mainwindow #: :class:`.Document` self.document = mainwindow.document #: :class:`.Application` self.app = mainwindow.document.app self._status_line = ""
def __init__(self, document): Repeater.__init__(self, document) GUIObject.__init__(self) self.document = document self.app = document.app self._selected_transactions = [] self._explicitly_selected_transactions = [] self._selected_schedules = [] self._selected_budgets = [] self._account2visibleentries = {} self.panes = [] self.hidden_areas = set() self.search_field = SearchField(self) self.daterange_selector = DateRangeSelector(self) self.account_lookup = AccountLookup(self) self.completion_lookup = CompletionLookup(self) self.csv_options = CSVOptions(self) self.import_window = ImportWindow(self) msgs = MESSAGES_DOCUMENT_CHANGED | {'filter_applied', 'date_range_changed'} self.bind_messages(msgs, self._invalidate_visible_entries)
def __init__(self, app): GUIObject.__init__(self) self.app = app self.text = "Working on: Nothing"
def __init__(self, app): GUIObject.__init__(self, multibind=True) DupeGuruGUIObject.__init__(self, app) self._table = []
def __init__(self, parent_view): GUIObject.__init__(self) self.mainwindow = parent_view.mainwindow self.document = parent_view.document
def __init__(self, document): GUIObject.__init__(self) #: Parent :class:`document <.Document>`. self.document = document #: Parent :class:`app <.Application>`. self.app = document.app
def __init__(self, document): Listener.__init__(self, document) GUIObject.__init__(self) self.document = document self.app = document.app
def __init__(self, app): Listener.__init__(self, app) GUIObjectBase.__init__(self) self.app = app self.connect()
def __init__(self, app): GUIObject.__init__(self) DupeGuruGUIObject.__init__(self, app) self._table = []
def __init__(self, document): GUIObject.__init__(self) self.document = document self.app = document.app