PDA

View Full Version : Displaying integer values into textbox



deck99
10th March 2011, 12:46
Hi....
How to display integer values into textbox?

how to do this?

nightghost
10th March 2011, 13:07
textbox?

To convert a Iteger to a QString you can use for example:



QString int_string = QString::number(123);
// or
QString int_string = QString("%1").arg(123);