#include "InfoHelp.h"
#include "ui_InfoHelp.h"

InfoHelp::InfoHelp(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::InfoHelp)
{
    ui->setupUi(this);
    ui->labelFormula->setPixmap(QPixmap(":/img/formula.png"));
}

InfoHelp::~InfoHelp()
{
    delete ui;
}

void InfoHelp::changeEvent(QEvent *e)
{
    QWidget::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        ui->retranslateUi(this);
        break;
    default:
        break;
    }
}
