Most suitable widget for real numbers

RoadrunnerWMC roadrunnerwmc at gmail.com
Mon Apr 26 23:29:07 BST 2021


You might also want QDoubleSpinBox, which is essentially a QSpinBox for
real numbers.

On Mon, Apr 26, 2021 at 3:37 PM Rich Shepard <rshepard at appl-ecosys.com>
wrote:

> On Mon, 26 Apr 2021, Stephen Waterbury wrote:
>
> > QDoubleValidator might be what you want, with QLineEdit.
>
> Steve,
>
> Thanks. I'll read the docs for it.
>
> Regards,
>
> Rich
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210426/1e0b0d9f/attachment.htm>


More information about the PyQt mailing list