Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
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());
-
http://doc.qt.io/qt-5/qdatetimeedit.html#setDateRange
http://doc.qt.io/qt-5/qdatetimeedit.html#minimumDate-prop
http://doc.qt.io/qt-5/qdatetimeedit.html#maximumDate-prop
-
@VRonin thanks it helped