Disable editing in QDateEdit
-
I use the QDateEdit widget. I would like to choose data from popup calendar only - I am not be able to disable the edit box.
@Milosz Use https://doc.qt.io/qt-5/qabstractspinbox.html#lineEdit to get the line edit widget and call setDisabled(true) on it.
-
Hi
What about its ReadOnly property?
dateEdit->setReadOnly(true);