Retranslate all variables inside tables
--HG-- branch : feature
This commit is contained in:
parent
3caee4a8df
commit
96add2113c
|
@ -428,16 +428,22 @@ void DialogIncrements::EnableDetails(bool enabled)
|
||||||
*/
|
*/
|
||||||
void DialogIncrements::FullUpdateFromFile()
|
void DialogIncrements::FullUpdateFromFile()
|
||||||
{
|
{
|
||||||
FillIncrements();
|
|
||||||
|
|
||||||
ui->tableWidgetLines->clearContents();
|
ui->tableWidgetLines->clearContents();
|
||||||
FillLengthsLines();
|
|
||||||
|
|
||||||
ui->tableWidgetSplines->clearContents();
|
ui->tableWidgetSplines->clearContents();
|
||||||
FillLengthsCurves();
|
|
||||||
|
|
||||||
ui->tableWidgetArcs->clearContents();
|
ui->tableWidgetArcs->clearContents();
|
||||||
|
ui->tableWidgetAnglesArcs->clearContents();
|
||||||
|
ui->tableWidgetAnglesCurves->clearContents();
|
||||||
|
ui->tableWidgetLinesAngles->clearContents();
|
||||||
|
ui->tableWidgetRadiusesArcs->clearContents();
|
||||||
|
|
||||||
|
FillIncrements();
|
||||||
|
FillLengthsLines();
|
||||||
|
FillLengthLinesAngles();
|
||||||
|
FillLengthsCurves();
|
||||||
FillLengthArcs();
|
FillLengthArcs();
|
||||||
|
FillRadiusesArcs();
|
||||||
|
FillAnglesArcs();
|
||||||
|
FillAnglesCurves();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -726,6 +732,7 @@ void DialogIncrements::changeEvent(QEvent *event)
|
||||||
{
|
{
|
||||||
// retranslate designer form (single inheritance approach)
|
// retranslate designer form (single inheritance approach)
|
||||||
ui->retranslateUi(this);
|
ui->retranslateUi(this);
|
||||||
|
FullUpdateFromFile();
|
||||||
}
|
}
|
||||||
// remember to call base class implementation
|
// remember to call base class implementation
|
||||||
QWidget::changeEvent(event);
|
QWidget::changeEvent(event);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user