Is there any way to write the date to the widget without double clicking on it? I tried to clear the widget when clicked, but QDateEdit has no such slot.

Thanks in advance for your attention