Hello,
I have a QDateEdit and set some date on it .But when i mouse press on the widget the date automatically changes i dont want this behaviour to happen and this happens only when i have the following option on date edit,i want to change the date only when user click on the popup menu or when he edits in line edit part.I have attached a video for much better understanding.Any help on the issue is highly appreciated.

Qt Code:
  1. QDateEdit *startDateEdit = new QDateEdit;
  2. QDateEdit *endDateEdit = new QDateEdit;
  3.  
  4. startDateEdit->setCalendarPopup(true);
  5. startDateEdit->setDate(QDate::currentDate());
  6.  
  7. endDateEdit->setCalendarPopup(true);
  8. endDateEdit->setDate(QDate::currentDate());
To copy to clipboard, switch view to plain text mode