Hello guys

I know how to translate my MainWindow:
myTranslator.load(":/languages/whateverLanguage.qm");
And then a changeEvent happens, where I filter it by QEvent::LanguageChange:
if(event->type() == QEvent::LanguageChange)
{
//here I set my special dynamic strings, for something not directly related with the .ui file
ui->retranslateUi(this);
}
QWidget::changeEvent(e);
The problem is that I use a different dialog in this application. And QDialog class has no retranslateUi function.

So, what should I do?
Retranslate them manually? With something like this for every label:
ui->thisLabel->setText(tr("Hello this is really not good looking"));
Or is there another way to automatically do this, like in MainWindow?

Thanks in advance