I want to use QString to produce something like following:
I should note that i want to be able to change it to the following if needed:
or this one:
in which spaces are dynamic, so I used this code:
QMessageBox::information(this,
"Testing...",tr
("This%1is%1number%199.").
arg(test
));
QString test=" ";
QMessageBox::information(this,"Testing...",tr("This%1is%1number%199.").arg(test));
To copy to clipboard, switch view to plain text mode
the problem is that, because %1 is followed by another number, it does not work as expected, please someone shows me a way to solve this,
any help is appreciated.
Bookmarks