Welcome to Qt Centre.
Qt Centre is a community site devoted to programming in C++ using the Qt framework. Over 90 percent of questions asked here gets answered. If you are looking for information about Qt related issue — register and post your question.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.
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