QDateEdit clear() clears only the currentSection
Workarounds like the following clear the dateEdit field, but then a date like 09/24/2014 cannot be entered.Code:
dateEdit->clear(); // this clears the Day dateEdit->clear(); // this does not clear the Month because the blank Day is invalid
Only the calendar popup works to set the date in the dateEdit field.
I've reviewed many suggestions, here and elsewhere and none work.Code:
dateEdit->setSpecialValueText( " " );
The next course of action is to derive QLineEdit, unless somebody else has a better idea.
QT 5.1.1 Win 7 x64