My Another question was this.....
I have used QIntValidator to validate lineedits,
QIntValidator *min_vldtr;
To copy to clipboard, switch view to plain text mode
the above code is a part of class declaration....
m_reg.lelatmin->setValidator(min_vldtr);
min_vldtr=new QIntValidator(MIN_SEC,MAX_SEC,this);
m_reg.lelatmin->setValidator(min_vldtr);
To copy to clipboard, switch view to plain text mode
this is a class that inherits QObject and m_reg is the object for the class generated by the UIC....the above code is a part of the class constructor.
this code works fine with Qt4.2.2 but the same code when i compiled with Qt4.2.2 the Validator performs in a weird manner. The Lineedit accepts only number as inputs but the range is not getting set properly.
Can anyone suggest a solution for this problem
Bookmarks