Hi,
mmm, I think that you don't have understood me.
In my QStringList there are i.e. 4 QStrings: "Area", "Center X", "Center Y", "Radius".
I insert this QStringList as Horitzontal Header of a QTableWidget with the method "setHorizontalHeaderLabels" that takes a QStringList. I would to have the 4 items translated into the QStringList without having to do a bucle. The solution is easy:
for (int i=0; i<qlist.count(); i++)
{
qtranslatedlist.insert(i,tr(qlist[i])); //Or something like this
}
for (int i=0; i<qlist.count(); i++)
{
qtranslatedlist.insert(i,tr(qlist[i])); //Or something like this
}
To copy to clipboard, switch view to plain text mode
So, I would know if there is a method to translate all the QStrings with only one function.
Thanks,
Bookmarks