VAPOR3 3.9.4
VCheckBox.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5#include <QWidget>
6#include <QCheckBox>
7
8#include "VHBoxWidget.h"
9
14
15class VCheckBox : public VHBoxWidget {
16 Q_OBJECT
17
18public:
19 VCheckBox(bool value = false);
20
21 void SetValue(bool value);
22
23 bool GetValue() const;
24
25private:
26 QCheckBox *_checkBox;
27
28public slots:
29 void emitCheckBoxChanged(bool checked);
30
31signals:
32 void ValueChanged(bool checked);
33};
VCheckBox(bool value=false)
void emitCheckBoxChanged(bool checked)
bool GetValue() const
void SetValue(bool value)
void ValueChanged(bool checked)