Most suitable widget for real numbers

Stephen Waterbury waterbug at pangalactic.us
Mon Apr 26 18:57:03 BST 2021


On 4/26/21 1:44 PM, Rich Shepard wrote:

> On Mon, 26 Apr 2021, Rich Shepard wrote:
>
>> QTextEdit might work if I set validations to accept only digits with a
>
> Oops! I meant QLineEdit.
>
> Rich

QDoubleValidator might be what you want, with QLineEdit.

Steve



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210426/1854890f/attachment.htm>


More information about the PyQt mailing list