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 );
109 void addItem(
const std::string & itemLabel,
110 const std::string & iconName,
111 bool selected =
false );
252 std::string
iconFullPath(
const std::string & iconName )
const;
392 #endif // YSelectionWidget_h YItemCollection::iterator YItemIterator
Mutable iterator over YItemCollection.
Definition: YItem.h:42
std::vector< YItem * > YItemCollection
Collection of pointers to YItem.
Definition: YItem.h:39
YItemCollection::const_iterator YItemConstIterator
Const iterator over YItemCollection.
Definition: YItem.h:45