[Qt-interest] QSpinBox with large values

Brad Howes howes at ll.mit.edu
Mon Feb 2 17:25:01 CET 2009


On Feb 2, 2009, at 9:39 AM, Милош Тошић wrote:

> Could anyone explain me why the setRange / setMinimum / setMaximum  
> methods of QSpinBox are taking ints for arguments?
> My problem is that I would like to have 64bit values editable with  
> spin box but for this to work those methods would have to take  
> QVariant as an argument.

I doubt that your users would find QSpinBox arrows very useful when  
faced with such a large domain of values. Even using QSpinBox with a  
wide open min/max is not that useful.

Brad

-- 
Brad Howes
Group 42
MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420








More information about the Qt-interest-old mailing list