25 #ifndef YSelectionWidget_h 26 #define YSelectionWidget_h 55 const std::string &
label,
57 bool recurisveSelection =
false );
69 virtual const char *
widgetClass()
const {
return "YSelectionWidget"; }
74 std::string
label()
const;
82 virtual void setLabel(
const std::string & newLabel );
100 void addItem(
const std::string & itemLabel,
bool selected =
false );
106 void addItem(
const std::string & itemLabel,
107 const std::string & iconName,
108 bool selected =
false );
232 std::string
iconFullPath(
const std::string & iconName )
const;
341 #endif // YSelectionWidget_h YItemCollection::iterator YItemIterator
Mutable iterator over YItemCollection.
std::vector< YItem * > YItemCollection
Collection of pointers to YItem.
Simple item class for SelectionBox, ComboBox, MultiSelectionBox etc.
YItemCollection::const_iterator YItemConstIterator
Const iterator over YItemCollection.