diff options
Diffstat (limited to 'client/widgets/radiobuttons.cc')
-rw-r--r-- | client/widgets/radiobuttons.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/client/widgets/radiobuttons.cc b/client/widgets/radiobuttons.cc index ae40677..5846ff7 100644 --- a/client/widgets/radiobuttons.cc +++ b/client/widgets/radiobuttons.cc @@ -140,3 +140,18 @@ void RadioButtons::childChanged() { emit wasChanged(); } + +void RadioButtons::enable() +{ + setEnabled(true); +} + +void RadioButtons::disable() +{ + setEnabled(false); +} + +bool RadioButtons::isDisabled() +{ + return isEnabled() == false; +} |