40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
/*---------------------------------------------------------*\
|
|
| OpenRGBLIFXSettingsPage.h |
|
|
| |
|
|
| User interface for OpenRGB LIFX settings page |
|
|
| |
|
|
| This file is part of the OpenRGB project |
|
|
| SPDX-License-Identifier: GPL-2.0-only |
|
|
\*---------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
#include "OpenRGBLIFXSettingsEntry.h"
|
|
|
|
namespace Ui
|
|
{
|
|
class OpenRGBLIFXSettingsPage;
|
|
}
|
|
|
|
class OpenRGBLIFXSettingsPage : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit OpenRGBLIFXSettingsPage(QWidget *parent = nullptr);
|
|
~OpenRGBLIFXSettingsPage();
|
|
|
|
private slots:
|
|
void changeEvent(QEvent *event);
|
|
void on_AddLIFXDeviceButton_clicked();
|
|
|
|
void on_RemoveLIFXDeviceButton_clicked();
|
|
|
|
void on_SaveLIFXConfigurationButton_clicked();
|
|
|
|
private:
|
|
Ui::OpenRGBLIFXSettingsPage *ui;
|
|
std::vector<OpenRGBLIFXSettingsEntry*> entries;
|
|
|
|
};
|