Hi sabbu,
You can try it :
Qt Code:
bool convertOK; unsigned long int n = ui->lineEdit()->text().toULong(&convertOK); if(!convertOK) return -1;To copy to clipboard, switch view to plain text mode
![]()
Hi sabbu,
You can try it :
Qt Code:
bool convertOK; unsigned long int n = ui->lineEdit()->text().toULong(&convertOK); if(!convertOK) return -1;To copy to clipboard, switch view to plain text mode
![]()
Bookmarks