#include "FormOCPPSystemSetting.h"
#include "ui_FormOCPPSystemSetting.h"

#include "LanguageManager.h"

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

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

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

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