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
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
I have no idea what you mean by this. The base class for QDateEdit, QDateTimeEdit has a clear() method, as well as setDate(), setTime() and setDateTime() methods (slots). QDate has a static currentDate() method to retrieve today's date.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.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks