Solved How to set min and max date to QDateTimeEdit programly
-
Hi, I am trying to set but failed hope your ideas will help to resolve the problem, thank.
QDateTimeEdit *line = new QDateTimeEdit();
line->setDisplayFormat("yyyy-MM-dd HH:mm");
// lin
line->minimumDate( QDate::currentDate()); -
-
@VRonin thanks it helped