a better way using Qt using ASCII caracters.
QString getLabelFromInt(int number)
{
return QString::number(number,36);
}
using base 36 to convert a number to string, include the number 0-9 and a-z caracters
y try to find a more compact, but i think is not possible![]()




Reply With Quote
Bookmarks