VAPOR3
3.9.4
apps
vaporgui
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
15
class
VCheckBox
:
public
VHBoxWidget
{
16
Q_OBJECT
17
18
public
:
19
VCheckBox
(
bool
value =
false
);
20
21
void
SetValue
(
bool
value);
22
23
bool
GetValue
()
const
;
24
25
private
:
26
QCheckBox *_checkBox;
27
28
public
slots:
29
void
emitCheckBoxChanged
(
bool
checked);
30
31
signals:
32
void
ValueChanged
(
bool
checked);
33
};
VHBoxWidget.h
VCheckBox
Definition:
VCheckBox.h:15
VCheckBox::VCheckBox
VCheckBox(bool value=false)
VCheckBox::emitCheckBoxChanged
void emitCheckBoxChanged(bool checked)
VCheckBox::GetValue
bool GetValue() const
VCheckBox::SetValue
void SetValue(bool value)
VCheckBox::ValueChanged
void ValueChanged(bool checked)
VHBoxWidget
Definition:
VHBoxWidget.h:16
Generated by
1.9.6