[Qt-interest] Widget for floating point number input?
Malyushytsky, Alex
alex at wai.com
Sat Feb 27 00:55:36 CET 2010
QLineEdit is not restrictive.
You don't have to use mask.
You can use validator.
Regards,
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Rui Maciel
Sent: Friday, February 26, 2010 3:36 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Widget for floating point number input?
What widget do you use to input floating point numbers? I'm having trouble discovering a
widget that handles floating point input well. QSpinBox only deals with ints, QDoubleSpinBox
is terribly limited (doesn't accept values greater than 10^10-1) and QLineEdit and it's mask
is terribly restrictive.
So, what widget do you use?
Thanks in advance,
Rui Maciel
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."
"Please consider our environment before printing this email."
More information about the Qt-interest-old
mailing list