Solved QTranslator: MainWindow title translation disabling
-
Hi!
In MainWindow constructor I'm changing the title by setWindowTitle function.
But title changing on default value after changing language.
How to disable translation of MainWindow title.
Thank you. -
Hi,
Do not use the
tr
method when applying the title on your MainWindow. -
@SGaist I didn't notice that there is a 'translatable' checkbox for windowTitle in the parameter editor.
-
One more Q: how to tr of the text of the dynamically created QLabel? Only manually after retranslateUi?
-
@sitesv said in QTranslator: MainWindow title translation disabling:
Only manually after retranslateUi?
Yes