Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Dear All, 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.
Thanks Sid
lineEdit1->setInputMask("\\00");
Hi,
Since those are only numbers, why not use QSpinBox ?