How to make lineEdit acceptable only integers?
- 
Welcome, how can I validate QLineEdit objects which could only accept int numbers? Objects are added via Qt designer tool. 
- 
Hi 
 You can use
 http://doc.qt.io/qt-5/qintvalidator.html#details
- 
Hi, 
 depending on your needs an input-mask may help. This can be set inside designer. Look for Input-mask in the Documentation of QLineEdit.
- 
Hi, 
 depending on your needs an input-mask may help. This can be set inside designer. Look for Input-mask in the Documentation of QLineEdit.@Gerd Could you give an simple example how to use this mask? 
