I have a set of QLineEdits that are supposed to accept double values within a certain range, (e.g., -15 to 15).
QLineEdits
I have something along these lines when
Here is a workaround: you can simply use QDoubleSpinBox with its buttonSymbols set to NoButtons, which would looks like a QLineEdit but you can set its range with native setMinimum(double min) and setMaximum(double max).
QDoubleSpinBox
buttonSymbols
NoButtons
QLineEdit
setMinimum(double min)
setMaximum(double max)
This method is directly available in Qt Designer.