Returns the x-position for the inputed date.
        
        :return     <int>

def dateXPos(self, date):
        """
        Returns the x-position for the inputed date.
        
        :return     <int>
        """
        gantt = self.ganttWidget()
        distance = gantt.dateStart().daysTo(date)
        return gantt.cellWidth() * distance