mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-08 07:57:35 -04:00
* Removing .qm files from Windows build as they are inbuilt as of a7adfe251
* Moving translation change code to the OpenRGBSettingsPage
* Adding a changeEvent() to applicable Widgets to facilitate language updates
* Workaround added to TabLabel to accomodate translation context origin
* Added zh_TW locale to OpenRGB.pro
* Updated all translations to include the latest untranslated strings
32 lines
686 B
C++
32 lines
686 B
C++
#include "OpenRGBPhilipsHueSettingsEntry.h"
|
|
#include "ui_OpenRGBPhilipsHueSettingsEntry.h"
|
|
|
|
using namespace Ui;
|
|
|
|
OpenRGBPhilipsHueSettingsEntry::OpenRGBPhilipsHueSettingsEntry(QWidget *parent) :
|
|
QWidget(parent),
|
|
ui(new Ui::OpenRGBPhilipsHueSettingsEntryUi)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
OpenRGBPhilipsHueSettingsEntry::~OpenRGBPhilipsHueSettingsEntry()
|
|
{
|
|
delete ui;
|
|
}
|
|
|
|
void OpenRGBPhilipsHueSettingsEntry::changeEvent(QEvent *event)
|
|
{
|
|
if(event->type() == QEvent::LanguageChange)
|
|
{
|
|
ui->retranslateUi(this);
|
|
}
|
|
}
|
|
|
|
void Ui::OpenRGBPhilipsHueSettingsEntry::on_UnpairButton_clicked()
|
|
{
|
|
ui->UsernameValue->setText("");
|
|
ui->ClientKeyValue->setText("");
|
|
}
|
|
|