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.
OpenRGB/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafNewDeviceDia...

40 lines
1005 B
C++

/*---------------------------------------------------------*\
| OpenRGBNanoleafNewDeviceDialog.h |
| |
| User interface for OpenRGB Nanoleaf dialog |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <QDialog>
#include "OpenRGBDialog.h"
struct NanoleafDevice
{
std::string ip;
unsigned int port;
};
namespace Ui
{
class OpenRGBNanoleafNewDeviceDialog;
}
class OpenRGBNanoleafNewDeviceDialog : public QDialog
{
Q_OBJECT
public:
explicit OpenRGBNanoleafNewDeviceDialog(QWidget *parent = nullptr);
~OpenRGBNanoleafNewDeviceDialog();
NanoleafDevice show();
private:
Ui::OpenRGBNanoleafNewDeviceDialog *ui;
private slots:
void changeEvent(QEvent *event);
};