Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QDoubleValidator* valid = new QDoubleValidator(this);
- valid->setNotation(QDoubleValidator::StandardNotation);
- ui.lineEdit->setValidator(valid);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement