Hi!!
I have problems in understanding how should i implement the dynamic language in my case:
I have a class "GlobalClass" contains an array of strings in this manner:
const char * const ids[] = {
QT_TR_NOOP("METER"),
QT_TR_NOOP("P.Q."),
QT_TR_NOOP("Monitoring"),
...
const char * const ids[] = {
QT_TR_NOOP("METER"),
QT_TR_NOOP("P.Q."),
QT_TR_NOOP("Monitoring"),
...
To copy to clipboard, switch view to plain text mode
I have some different widgets (icons) that contain a QString, which I initialize in this manner:
icons[index].Text = tr(GlobalClassObject->ids[index2]);
icons[index].Text = tr(GlobalClassObject->ids[index2]);
To copy to clipboard, switch view to plain text mode
Till now everything is good, and i can see the text on the screen.
But! if i want to dynamic change it, how do i do it??
Please respond! thanks in advance..
Liran
Bookmarks