zorro68
11th February 2007, 16:39
Why this code not work:
QDoubleValidator *qv= new QDoubleValidator(parent);
qv->setDecimals(2);
editor->setValidator(qv);
The number takes all decimals, not only 2
QDoubleValidator *qv= new QDoubleValidator(parent);
qv->setDecimals(2);
editor->setValidator(qv);
The number takes all decimals, not only 2