diff options
author | Caroline Chao <caroline.chao@theqtcompany.com> | 2015-03-09 15:16:28 +0100 |
---|---|---|
committer | Caroline Chao <caroline.chao@theqtcompany.com> | 2015-03-23 07:22:17 +0000 |
commit | 05e073deebfd38103f283f8698d47a6d4a76737e (patch) | |
tree | a1d4219a2e3674f4d3a1f477d5dc0b1c2250868f /src/widgets/widgets/qspinbox.cpp | |
parent | f2ec2fcd553955335b0795d26cb18c9fe2f58008 (diff) |
QDoubleSpinBox: Set back an upper limit width
The limit has been removed in the change
a317ee0a6fa76d1166f6da8593d39eaf7afce83c.
Task-number: QTBUG-44865
Change-Id: I7106f7e7a2653e1ab03d79861ac505d4666598eb
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Diffstat (limited to 'src/widgets/widgets/qspinbox.cpp')
-rw-r--r-- | src/widgets/widgets/qspinbox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/widgets/qspinbox.cpp b/src/widgets/widgets/qspinbox.cpp index 39f0b24307..457e2e1e4c 100644 --- a/src/widgets/widgets/qspinbox.cpp +++ b/src/widgets/widgets/qspinbox.cpp @@ -587,6 +587,9 @@ void QSpinBox::fixup(QString &input) const choice in addition to the range of numeric values. See setSpecialValueText() for how to do this with QDoubleSpinBox. + \note The displayed value of the QDoubleSpinBox is limited to 18 characters + in addition to eventual prefix and suffix content. This limitation is used + to keep the double spin box usable even with extremely large values. \sa QSpinBox, QDateTimeEdit, QSlider, {Spin Boxes Example} */ |