void MY_WIDGET::setText(QString text){ if(text == text_sult) return; text_sult = text; sult_label->setText(tr(text_sult).toStdString().c_str());}
C++ (Qt) void retranslateUi(QDialog *Dialog) { Dialog->setWindowTitle(QApplication::translate("Dialog", "Dialog", 0, QApplication::UnicodeUTF8)); } // retranslateUi