56 virtual const char *
widgetClass()
const {
return "YBarGraph"; }
96 void setValue(
int segmentIndex,
int newValue );
107 void setLabel(
int segmentIndex,
const std::string & newLabel );
137 virtual bool setProperty(
const std::string & propertyName,
170 void updateDisplay();
200 const std::string &
label = std::string(),
212 int value()
const {
return _value; }
217 void setValue(
int newValue ) { _value = newValue; }
223 std::string
label()
const {
return _label; }
229 void setLabel(
const std::string & newLabel ) { _label = newLabel; }
320 #endif // YBarGraph_h