Hi.... How to display integer values into textbox? how to do this?
textbox? To convert a Iteger to a QString you can use for example: Qt Code: Switch view QString int_string = QString::number(123);// orQString int_string = QString("%1").arg(123); QString int_string = QString::number(123); // or QString int_string = QString("%1").arg(123); To copy to clipboard, switch view to plain text mode
QString int_string = QString::number(123);// orQString int_string = QString("%1").arg(123);
QString int_string = QString::number(123); // or QString int_string = QString("%1").arg(123);
View Tag Cloud
Forum Rules
Bookmarks