30#include <sptk5/CaseInsensitiveCompare.h>
31#include <sptk5/gui/CControl.h>
78 void add(
const Fl_Group& g);
102 return find(control->
fieldName()) != end();
List of CControl object pointers in Fl_Group.
Definition: CControlList.h:52
CControlList & operator<<(const CControlList &l)
Addition operation.
Definition: CControlList.h:149
void scanControls(const Fl_Group *group)
Scan group to find all CControl objects inside, including children groups.
void remove(const CControlList &l)
Removes a list of CControl pointers from the list.
void reset()
Sends reset() signal to all the widgets in the list.
CControlList & operator=(const CControlList &l)
Assignment operation.
Definition: CControlList.h:118
bool contains(const CControl *control) const
Returns true if the control for the same field name exists.
Definition: CControlList.h:96
void add(const CControlList &l)
Adds a list of CControl pointers into the list.
void add(CControl *control)
Adds a CControl pointer into the list.
CControlList & operator<<(const Fl_Group &g)
Addition operation.
Definition: CControlList.h:140
CControlList & operator=(const Fl_Group &g)
Assignment operation.
Definition: CControlList.h:108
CControlList & operator<<(CControl *c)
Addition operation.
Definition: CControlList.h:131
CControlList()=default
Constructor.
void remove(const CControl *control)
Removes CControl pointer from the list.
Definition: CControlList.h:83
void add(const Fl_Group &g)
Adds a list of CControl pointers from the group into the list.
Base class for most of SPTK widgets.
Definition: CControl.h:222
virtual const String & fieldName() const
Returns control's field name for universal data connection.
Definition: CControl.h:582
std::map< std::string, CControl *, CaseInsensitiveCompare > CStringControlMap
String to Control map. Uses strings and pointers to CControl. Strings are control field names.
Definition: CControlList.h:45