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 );
114 virtual void addItems(
const YItemCollection & itemCollection );
127 void setItems(
const YItemCollection & itemCollection )
147 YItemConstIterator
itemsEnd()
const;
232 std::string
iconFullPath(
const std::string & iconName )
const;
298 YItemConstIterator end );
305 YItemConstIterator begin,
306 YItemConstIterator end );
318 YItemConstIterator begin,
319 YItemConstIterator end )
const;
326 YItemConstIterator begin,
327 YItemConstIterator end )
const;
341 #endif // YSelectionWidget_h