got the start dateand end date from QWidget