PeriDyno 1.2.1
Loading...
Searching...
No Matches
WStateFieldWidget.h
Go to the documentation of this file.
1#pragma once
2#include <Wt/WCheckBox.h>
3#include <Wt/WContainerWidget.h>
4#include <Field.h>
5#include <Wt/WHBoxLayout.h>
6#include <OBase.h>
7
8class WStateFieldWidget : public Wt::WContainerWidget
9{
10public:
13
14 void setValue(dyno::FBase*);
15
16 void updateField();
17
18 Wt::Signal<bool>& changeValue()
19 {
20 return changeValue_;
21 }
22
23private:
25 Wt::WHBoxLayout* layout;
26 Wt::WCheckBox* checkbox;
27 Wt::Signal<bool> changeValue_;
28};
Wt::Signal< bool > changeValue_
Wt::Signal< bool > & changeValue()
void setValue(dyno::FBase *)
WStateFieldWidget(dyno::FBase *)
Wt::WCheckBox * checkbox
Wt::WHBoxLayout * layout