25#ifndef YSelectionWidget_h
26#define YSelectionWidget_h
58 const std::string &
label,
72 virtual const char *
widgetClass()
const {
return "YSelectionWidget"; }
77 std::string
label()
const;
85 virtual void setLabel(
const std::string & newLabel );
103 void addItem(
const std::string & itemLabel,
bool selected =
false );
110 const std::string & iconName,
111 bool selected =
false );
YItemCollection::const_iterator YItemConstIterator
Const iterator over YItemCollection.
Definition YItem.h:45
YItemCollection::iterator YItemIterator
Mutable iterator over YItemCollection.
Definition YItem.h:42
std::vector< YItem * > YItemCollection
Collection of pointers to YItem.
Definition YItem.h:39