code: def insertChild(self, index, item):
          
          super(XGanttWidgetItem, self).insertChild(index, item)
          item.sync()
docs: Inserts a new item in the given index.
          
          :param      index | <int>
                      item  | <XGanttWidgetItem>