OpenRGB/qt/OpenRGBLIFXSettingsPage/OpenRGBLIFXSettingsEntry.cpp

33 lines
989 B
C++

/*---------------------------------------------------------*\
| OpenRGBLIFXSettingsEntry.cpp |
| |
| User interface for OpenRGB LIFX settings entry |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "OpenRGBLIFXSettingsEntry.h"
#include "ui_OpenRGBLIFXSettingsEntry.h"
using namespace Ui;
OpenRGBLIFXSettingsEntry::OpenRGBLIFXSettingsEntry(QWidget *parent) :
QWidget(parent),
ui(new Ui::OpenRGBLIFXSettingsEntryUi)
{
ui->setupUi(this);
}
OpenRGBLIFXSettingsEntry::~OpenRGBLIFXSettingsEntry()
{
delete ui;
}
void OpenRGBLIFXSettingsEntry::changeEvent(QEvent *event)
{
if(event->type() == QEvent::LanguageChange)
{
ui->retranslateUi(this);
}
}