Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Display 1 as 01, 2 as 02, 3 as 03, 4 as 04, 5 as 05, upto 9 as 09 in QLine Edit
Sidii last edited by
I am using QLineEdit to input number only. Please suggest me how to display single digit number as double digits like 1 as 01, 2 as 02. Is there any inbuilt mechanism to achieve the same? Some inbuilt function? Kindly suggest.
Hamed.Masafi last edited by
Since those are only numbers, why not use QSpinBox ?