Retranslate tables of variables
--HG-- branch : feature
This commit is contained in:
parent
b283fb2a76
commit
4bb731a825
|
@ -340,7 +340,6 @@ void ConfigurationPage::changeEvent(QEvent *event)
|
||||||
// retranslate designer form (single inheritance approach)
|
// retranslate designer form (single inheritance approach)
|
||||||
RetranslateUi();
|
RetranslateUi();
|
||||||
}
|
}
|
||||||
|
|
||||||
// remember to call base class implementation
|
// remember to call base class implementation
|
||||||
QWidget::changeEvent(event);
|
QWidget::changeEvent(event);
|
||||||
}
|
}
|
||||||
|
|
|
@ -719,6 +719,18 @@ void DialogIncrements::closeEvent(QCloseEvent *event)
|
||||||
event->accept();
|
event->accept();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
void DialogIncrements::changeEvent(QEvent *event)
|
||||||
|
{
|
||||||
|
if (event->type() == QEvent::LanguageChange)
|
||||||
|
{
|
||||||
|
// retranslate designer form (single inheritance approach)
|
||||||
|
ui->retranslateUi(this);
|
||||||
|
}
|
||||||
|
// remember to call base class implementation
|
||||||
|
QWidget::changeEvent(event);
|
||||||
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void DialogIncrements::ShowIncrementDetails()
|
void DialogIncrements::ShowIncrementDetails()
|
||||||
{
|
{
|
||||||
|
|
|
@ -59,7 +59,7 @@ signals:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void closeEvent ( QCloseEvent * event ) Q_DECL_OVERRIDE;
|
virtual void closeEvent ( QCloseEvent * event ) Q_DECL_OVERRIDE;
|
||||||
|
virtual void changeEvent ( QEvent * event) Q_DECL_OVERRIDE;
|
||||||
private slots:
|
private slots:
|
||||||
void ShowIncrementDetails();
|
void ShowIncrementDetails();
|
||||||
void AddIncrement();
|
void AddIncrement();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user