General question about the retranslate function when loading in .ui from Qt Designer
-
Is this supposed to make the text relevant to that widget translatable?
If so, how can I use that function?I've searched online and I can't seem to find that much about it or at least information that is clear and recent.
Thanks!
Hi,
Yes it does.
It's called automatically when you load a new translator.
If you want to implement something similar for a non Designer based widget, see the Prepare for language changes chapter in Qt's documentation.