24 #ifndef _TBX_GADGETCOPYVALUE_H
25 #define _TBX_GADGETCOPYVALUE_H
27 #include "writablefield.h"
28 #include "displayfield.h"
30 #include "numberrange.h"
31 #include "optionbutton.h"
32 #include "radiobutton.h"
34 #include "stringset.h"
53 case WritableField::TOOLBOX_CLASS:
61 case DisplayField::TOOLBOX_CLASS:
65 case Button::TOOLBOX_CLASS:
76 case NumberRange::TOOLBOX_CLASS:
80 case OptionButton::TOOLBOX_CLASS:
83 case RadioButton::TOOLBOX_CLASS:
87 case Slider::TOOLBOX_CLASS:
91 case StringSet::TOOLBOX_CLASS:
void value(int value)
Set the value of the slider.
Definition: slider.h:128
void selected(const std::string &value)
Set the string to be selected.
Definition: stringset.h:143
StringSet wrapper class for an underlying toolbox StringSet gadget.
Definition: stringset.h:54
This is the base class for all Gadgets.
Definition: gadget.h:48
NumberRange wrapper for an underlying toolbox NumberRange gadget.
Definition: numberrange.h:42
void text(const std::string &value)
Set the the text to display.
Definition: writablefield.h:130
void value(int value)
Set the value of the number range.
Definition: numberrange.h:122
void gadget_copy_value(Gadget &from_gadget, Gadget &to_gadget)
Copy the main value property from one gadget to another.
Definition: gadgetcopyvalue.h:49
int toolbox_class() const
Get the toolbox class for a gadget.
Definition: gadget.cc:64
void text(const std::string &value)
Set the the text to display.
Definition: displayfield.h:118
WritableField wrapper class for an underlying toolbox WritableField gadget.
Definition: writablefield.h:48
DisplayField wrapper for an underlying toolbox DisplayField gadget.
Definition: displayfield.h:38
A Slider is a gadget that shows bar in a well which may be draggable by the user. ...
Definition: slider.h:48