#include "FormSmartChargingSetup.h"
#include "ui_FormSmartChargingSetup.h"

#include "LanguageManager.h"

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

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

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

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