Limits for Edit box
The given data must be in limits of +-30 only.If other than that number that should be invalid.Please help me..vry urgent required
I dt get the anwser .Please help me
Go to the documentation page linked by andreyc, it shows what class to use and how to use it to limit you number input from -30 to + 30. However you can also use a "QSpinBox":http://doc.qt.io/qt-5/qspinbox.html
can i use Text edit box for displaying range value without spin box ..
Do you mean QLineEdit ? Then yes and use the QIntValidator like andreyc suggested. Or you can also hide the two arrows from the QSpinBox