mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-24 22:45:55 -04:00
36 lines
971 B
C++
36 lines
971 B
C++
/*---------------------------------------------------------*\
|
|
| DMXSettingsEntry.h |
|
|
| |
|
|
| User interface for OpenRGB DMX settings entry |
|
|
| |
|
|
| This file is part of the OpenRGB project |
|
|
| SPDX-License-Identifier: GPL-2.0-or-later |
|
|
\*---------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include "BaseManualDeviceEntry.h"
|
|
|
|
namespace Ui
|
|
{
|
|
class DMXSettingsEntry;
|
|
}
|
|
|
|
class DMXSettingsEntry : public BaseManualDeviceEntry
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DMXSettingsEntry(QWidget *parent = nullptr);
|
|
~DMXSettingsEntry();
|
|
void loadFromSettings(const json& data);
|
|
json saveSettings() override;
|
|
bool isDataValid() override;
|
|
|
|
private:
|
|
Ui::DMXSettingsEntry *ui;
|
|
|
|
private slots:
|
|
void changeEvent(QEvent *event) override;
|
|
};
|