def __init__(self): ReferenceDataDialog.__init__(self) self.table = "categories" self.model = CategoryTreeModel(self.table, self.TreeView) self.TreeView.setModel(self.model) self.model.configureView() self.setup_ui() super()._init_completed()
def __init__(self): ReferenceDataDialog.__init__(self) self.table = "quotes" self.model = QuotesListModel(self.table, self.DataView) self.DataView.setModel(self.model) self.model.configureView() self.setup_ui() super()._init_completed()
def __init__(self): ReferenceDataDialog.__init__(self) self.table = "account_types" self.model = AccountTypeListModel(self.table, self.DataView) self.DataView.setModel(self.model) self.model.configureView() self.setWindowTitle(self.tr("Account Types")) self.Toggle.setVisible(False) super()._init_completed()