Please use new-class style for invoking parent function:

    super(TopWidgetItem, self).__init__(parent)