summaryrefslogtreecommitdiff
path: root/client/widgets/label.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/label.cc')
-rw-r--r--client/widgets/label.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/client/widgets/label.cc b/client/widgets/label.cc
index 3f69861..fc81099 100644
--- a/client/widgets/label.cc
+++ b/client/widgets/label.cc
@@ -77,3 +77,18 @@ void Label::setVisibility(bool visible)
{
setVisible(visible);
}
+
+void Label::enable()
+{
+ setEnabled(true);
+}
+
+void Label::disable()
+{
+ setEnabled(false);
+}
+
+bool Label::isDisabled()
+{
+ return isEnabled() == false;
+}