Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
hello i want make a line edit only accept numbers , so i used :
ui->barcode->setValidator(new QIntValidator(0, 999999999999, this));
but i keep getting convery from int64 to int 32 so how i can use int64 ? or use unsinged int
You can't use int64 or unsigned int with QIntValidator. You'll need to create your own validator for that by subclassing QValidator and implementing fixup() and validate().
fixup()
validate()