summaryrefslogtreecommitdiff
path: root/client/widgets/groupbox.cc
diff options
context:
space:
mode:
authordeva <deva>2008-09-10 08:52:38 +0000
committerdeva <deva>2008-09-10 08:52:38 +0000
commitb1175cefcd9d9e67ee0f9e1b0b91bb8360b510b7 (patch)
tree8d673e7b0c04ac79f17e6b68d8660d22d76c4195 /client/widgets/groupbox.cc
parent700fb8b935d6495f458e00d044aa69d893d9a695 (diff)
Added enable/disable methods on frame and groupbox.
Diffstat (limited to 'client/widgets/groupbox.cc')
-rw-r--r--client/widgets/groupbox.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/client/widgets/groupbox.cc b/client/widgets/groupbox.cc
index 2bf696f..c3947a7 100644
--- a/client/widgets/groupbox.cc
+++ b/client/widgets/groupbox.cc
@@ -44,3 +44,13 @@ GroupBox::GroupBox(QDomNode &node, MacroWindow *macrowindow)
setTitle(elem.attribute("caption"));
}
}
+
+void GroupBox::enable()
+{
+ setEnabled(true);
+}
+
+void GroupBox::disable()
+{
+ setEnabled(false);
+}