mirror of
https://github.com/Fishwaldo/qt-openzwave.git
synced 2025-03-15 19:41:24 +00:00
32 lines
533 B
C++
32 lines
533 B
C++
#ifndef BITSETWIDGET_H
|
|
#define BITSETWIDGET_H
|
|
|
|
#include <QFrame>
|
|
#include <qt-openzwave/qtozwvalueidmodel.h>
|
|
|
|
namespace Ui {
|
|
class BitSetWidget;
|
|
}
|
|
|
|
class BitSetWidget : public QFrame
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit BitSetWidget(QWidget *parent = nullptr);
|
|
~BitSetWidget();
|
|
void setValue(QTOZW_ValueIDBitSet);
|
|
QTOZW_ValueIDBitSet getValue();
|
|
|
|
Q_SIGNALS:
|
|
void stateChanged();
|
|
|
|
private Q_SLOTS:
|
|
void cbChanged();
|
|
|
|
private:
|
|
Ui::BitSetWidget *ui;
|
|
QTOZW_ValueIDBitSet m_value;
|
|
};
|
|
|
|
#endif // BITSETWIDGET_H
|