forked from dresden-elektronik/deconz-rest-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
de_web_widget.h
43 lines (34 loc) · 902 Bytes
/
de_web_widget.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* Copyright (c) 2016 dresden elektronik ingenieurtechnik gmbh.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
*/
#ifndef DE_WEB_WIDGET_H
#define DE_WEB_WIDGET_H
#include <QDialog>
#include <deconz.h>
namespace Ui {
class DeWebWidget;
}
class DeRestPlugin;
class DeRestWidget : public QDialog
{
Q_OBJECT
public:
explicit DeRestWidget(QWidget *parent, DeRestPlugin *_plugin);
~DeRestWidget();
bool pluginActive() const;
private Q_SLOTS:
void readBindingTableTriggered();
void nodeEvent(const deCONZ::NodeEvent &event);
private:
void showEvent(QShowEvent *);
deCONZ::Address m_selectedNodeAddress;
Ui::DeWebWidget *ui = nullptr;
DeRestPlugin *plugin = nullptr;
};
#endif // DE_WEB_WIDGET_H