Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-10935

Symbian: QSpinbox is displaying value, if the input value is lower then the minimum range.

    XMLWordPrintable

Details

    Description

      Hi,
      QSpinBox is displaying the value, if the input value is lower then the minimum range.

      sample code is given here.

      #include <QtGui>
      #include <QApplication>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QSpinBox *integerSpinBox = new QSpinBox;
      	integerSpinBox->setRange(3, 8);
      	integerSpinBox->setSingleStep(1);
      	integerSpinBox->setFixedHeight(30);
      	integerSpinBox->setFixedWidth(100);
      	integerSpinBox->setValue(5);
          
      	integerSpinBox->showMaximized();
          return a.exec();
      }
      

      Steps to generate the defect.

      Place the code and run, i have set the minimum range of spinbox as 3 and maximum as 8. If i press the number from keyboard less then 3 it takes and displays over the spin-box but if i give the value greater then the maximum value it doesn't display over spin-box.

      Expected result:
      QSpinbox should not display the value lower then the minimum range of value, as it behaves good for the values greater then the maximum range.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            ramesh ramesh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes