Added system item support, support for RGBControlers with multiple item backends, and item settings widgets
This commit is contained in:
24
src/ui/itemsettingswidgets/relayitemsettingswidget.h
Normal file
24
src/ui/itemsettingswidgets/relayitemsettingswidget.h
Normal file
@ -0,0 +1,24 @@
|
||||
#ifndef RELAYITEMSETTINGSWIDGET_H
|
||||
#define RELAYITEMSETTINGSWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <memory>
|
||||
#include "../../items/relay.h"
|
||||
|
||||
namespace Ui {
|
||||
class RelayItemSettingsWidget;
|
||||
}
|
||||
|
||||
class RelayItemSettingsWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit RelayItemSettingsWidget(std::weak_ptr<Relay> relay, QWidget *parent = nullptr);
|
||||
~RelayItemSettingsWidget();
|
||||
|
||||
private:
|
||||
Ui::RelayItemSettingsWidget *ui;
|
||||
};
|
||||
|
||||
#endif // RELAYITEMSETTINGSWIDGET_H
|
Reference in New Issue
Block a user