Retranslate all variables inside tables

--HG--
branch : feature
This commit is contained in:
Valentina Zhuravska 2016-01-11 15:11:33 +02:00
parent 3caee4a8df
commit 96add2113c

View File

@ -428,16 +428,22 @@ void DialogIncrements::EnableDetails(bool enabled)
*/
void DialogIncrements::FullUpdateFromFile()
{
FillIncrements();
ui->tableWidgetLines->clearContents();
FillLengthsLines();
ui->tableWidgetSplines->clearContents();
FillLengthsCurves();
ui->tableWidgetArcs->clearContents();
ui->tableWidgetAnglesArcs->clearContents();
ui->tableWidgetAnglesCurves->clearContents();
ui->tableWidgetLinesAngles->clearContents();
ui->tableWidgetRadiusesArcs->clearContents();
FillIncrements();
FillLengthsLines();
FillLengthLinesAngles();
FillLengthsCurves();
FillLengthArcs();
FillRadiusesArcs();
FillAnglesArcs();
FillAnglesCurves();
}
//---------------------------------------------------------------------------------------------------------------------
@ -726,6 +732,7 @@ void DialogIncrements::changeEvent(QEvent *event)
{
// retranslate designer form (single inheritance approach)
ui->retranslateUi(this);
FullUpdateFromFile();
}
// remember to call base class implementation
QWidget::changeEvent(event);