label->setBuddy( combo );
}
-QString StringListConfigControl::getValue()
+QString StringListConfigControl::getValue() const
{
return combo->itemData( combo->currentIndex() ).toString();
}
label->setBuddy( combo );
}
-QString ModuleConfigControl::getValue()
+QString ModuleConfigControl::getValue() const
{
return combo->itemData( combo->currentIndex() ).toString();
}
}
#undef CHECKBOX_LISTS
-QString ModuleListConfigControl::getValue()
+QString ModuleListConfigControl::getValue() const
{
assert( text );
return text->text();
label->setBuddy( spin );
}
-int IntegerConfigControl::getValue()
+int IntegerConfigControl::getValue() const
{
return spin->value();
}
label->setBuddy( slider );
}
-int IntegerRangeSliderConfigControl::getValue()
+int IntegerRangeSliderConfigControl::getValue() const
{
return slider->value();
}
}
}
-int IntegerListConfigControl::getValue()
+int IntegerListConfigControl::getValue() const
{
return combo->itemData( combo->currentIndex() ).toInt();
}
checkbox->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
}
-int BoolConfigControl::getValue()
+int BoolConfigControl::getValue() const
{
return checkbox->isChecked();
}
label->setBuddy( spin );
}
-float FloatConfigControl::getValue()
+float FloatConfigControl::getValue() const
{
return (float)spin->value();
}