Hi,

Yes I am a newbie but while I am working with QSpinBox and specially setRange(int min, int max) everything is OK I also tried compiling it and everything is OK but after a while I could not use setRange I can't see it in the drop down menu (in Qt Creator) and I have this Error message from the compiler:

error: 'class QSpinBox' has no member named 'setRange'????

I get around this error by using setMaximum and setMinimum.

But why does this happning??

Qt Code:
  1. Qt Creator 1.2.1
  2. Based on Qt 4.5.2 (32 bit)
  3.  
  4. Built on Jul 10 2009 at 15:03:29
To copy to clipboard, switch view to plain text mode 

Thanks in advanced
Mohammad AlHobayyeb