diff options
author | deva <deva> | 2008-09-10 08:52:38 +0000 |
---|---|---|
committer | deva <deva> | 2008-09-10 08:52:38 +0000 |
commit | b1175cefcd9d9e67ee0f9e1b0b91bb8360b510b7 (patch) | |
tree | 8d673e7b0c04ac79f17e6b68d8660d22d76c4195 /client/widgets/frame.cc | |
parent | 700fb8b935d6495f458e00d044aa69d893d9a695 (diff) |
Added enable/disable methods on frame and groupbox.
Diffstat (limited to 'client/widgets/frame.cc')
-rw-r--r-- | client/widgets/frame.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/widgets/frame.cc b/client/widgets/frame.cc index 872c3fc..79e060b 100644 --- a/client/widgets/frame.cc +++ b/client/widgets/frame.cc @@ -39,3 +39,12 @@ Frame::Frame(QDomNode &node, MacroWindow *macrowindow) layout()->setContentsMargins(0,0,0,0); } +void Frame::enable() +{ + setEnabled(true); +} + +void Frame::disable() +{ + setEnabled(false); +} |