#include "FormWorkMode.h"
#include "ui_FormWorkMode.h"

#include "LanguageManager.h"

FormWorkMode::FormWorkMode(BaseWidget *parent)
    : BaseWidget(parent)
    , ui(new Ui::FormWorkMode)
{
    ui->setupUi(this);

    connect(LanguageManager::instance(), &LanguageManager::languageChanged, this, [this]() { ui->retranslateUi(this); });
}

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

bool FormWorkMode::returnParent()
{
    return true;
}
