Unsolved QTdesigner - lineEdit - set only float number acceptable
-
Hi all I'm creating an interface in Qt Designer for pyqt5 and I would like set a LineEdit input as only float numbers inputs. I would ask if it is possible.
Thank you in advance
Best regards -
Hi,
While it's possible by adding a validator in your code, why not directly use a QDoubleSpinBox ?
-
thank you, your solution is the best. I'm using Qdoublespingbox now