示例#1
0
    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"]
示例#2
0
    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']
示例#3
0
	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']
示例#4
0
    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'
        ]