You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
991 B
C++

/*---------------------------------------------------------*\
| QMKORGBSettingsEntry.h |
| |
| User interface entry for OpenRGB QMK configuration |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#pragma once
#include "BaseManualDeviceEntry.h"
namespace Ui
{
class QMKORGBSettingsEntry;
}
class QMKORGBSettingsEntry : public BaseManualDeviceEntry
{
Q_OBJECT
private slots:
void changeEvent(QEvent *event) override;
public:
explicit QMKORGBSettingsEntry(QWidget *parent = nullptr);
~QMKORGBSettingsEntry();
void loadFromSettings(const json& data);
json saveSettings() override;
bool isDataValid() override;
private:
Ui::QMKORGBSettingsEntry *ui;
};