def __init__(self): People.__init__(self) BaseWidget.__init__(self, "People window") # Definition of the forms fields self._peopleList = ControlList( "People", plusFunction=self.__addPersonBtnAction, minusFunction=self.__rmPersonBtnAction ) self._peopleList.horizontalHeaders = ["First name", "Middle name", "Last name"]
def __init__(self): People.__init__(self) BaseWidget.__init__(self,'People window') #Definition of the forms fields self._peopleList = ControlList('People', plusFunction = self.__addPersonBtnAction, minusFunction = self.__rmPersonBtnAction) self._peopleList.horizontalHeaders = ['First name', 'Middle name', 'Last name']
def __init__(self): People.__init__(self) BaseWidget.__init__(self,'People window') AddMenuFuntionality.__init__(self) self._panel = ControlDockWidget() #Definition of the forms fields self._peopleList = ControlList('People', plusFunction = self.__addPersonBtnAction, minusFunction = self.__rmPersonBtnAction) self._peopleList.horizontalHeaders = ['First name', 'Middle name', 'Last name']
def __init__(self): People.__init__(self) BaseWidget.__init__(self, 'People window') AddMenuFuntionality.__init__(self) self._panel = ControlDockWidget() #Definition of the forms fields self._peopleList = ControlList( 'People', add_function=self.__addPersonBtnAction, remove_function=self.__rmPersonBtnAction) self._peopleList.horizontalHeaders = [ 'First name', 'Middle name', 'Last name' ]