def __init__(self, model, view): Controller.__init__(self, model, view, handlers='class') view.connect_signals(self) self.note = NoteCtrl(model.data.empty_note, view.note, self) self.main = MainCtrl(model.data, view.main, self.note) self.main.parent = self return
def __init__(self, model, view): Controller.__init__(self, model, view, handlers='class') view.connect_signals(self) self.note = NoteCtrl(model.data.empty_note, view.note, self) self.main = MainCtrl(model.data, view.main, self.note) self.main.parent = self return
def __init__(self, model, view): Controller.__init__(self, model, view) self.source = AmountCtrl(model.source, view.source) self.target = AmountCtrl(model.target, view.target) return
def __init__(self, model, view): Controller.__init__(self, model, view) self.source = AmountCtrl(model.source, view.source) self.target = AmountCtrl(model.target, view.target) return
def __init__(self, model, view): Controller.__init__(self, model, view) self.adding_model = None self.editing_model = None self.editing_iter = None self.currency = None return
def __init__(self, m, v): Controller.__init__(self, m, v) # creates sub controllers self.bars = BarsCtrl(m, v.bars, self) self.part1 = Part1Ctrl(m.part1, v.part1) self.part2 = Part2Ctrl(m.part2, v.part2) self.part3 = Part3Ctrl(m.part3, v.part3) return
def __init__(self, model, view): Controller.__init__(self, model, view) self.converter = ConverterCtrl(model.converter, view.converter) self.currencies = None return
def __init__(self, model, view, note_ctrl): Controller.__init__(self, model, view) self.note = note_ctrl return
def __init__(self, model, view): Controller.__init__(self, model, view) self.note = NoteCtrl(model.data.empty_note, view.note, self) self.main = MainCtrl(model.data, view.main, self.note) self.main.parent = self return
def __init__(self, model, view, window_ctrl): Controller.__init__(self, model, view) self.window_ctrl = window_ctrl self.stop_model_update = False return
def __init__(self, model, view, window_ctrl): Controller.__init__(self, model, view, handlers='class') view.connect_signals(self) self.window_ctrl = window_ctrl self.stop_model_update = False return
def __init__(self, m, v, appl_ctrl): Controller.__init__(self, m, v) return
def __init__(self, model, view): Controller.__init__(self, model, view) self.__changing = False return
def __init__(self, model, view): """Contructor. model will be accessible via the member 'self.model'. View registration is also performed.""" Controller.__init__(self, model, view) return
def __init__(self, model, view, note_ctrl): Controller.__init__(self, model, view, handlers='class') view.connect_signals(self) self.note = note_ctrl return
def __init__(self, model, view, note_ctrl): Controller.__init__(self, model, view, handlers='class') view.connect_signals(self) self.note = note_ctrl return
def __init__(self, model, view, window_ctrl): Controller.__init__(self, model, view, handlers='class') view.connect_signals(self) self.window_ctrl = window_ctrl self.stop_model_update = False return
def __init__(self, model, view): Controller.__init__(self, model, view) self.__changing = False return