#include "FormACThresholdSetting.h"
#include "ui_FormACThresholdSetting.h"

#include "LanguageManager.h"

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

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

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

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