From 4d7617cbf20985b7cf2231675d8aadd01f77c3d2 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 2 Jul 2008 07:49:31 +0000 Subject: Added disable/enable methods on widgets and exposed them to lua. --- client/widgets/groupbox.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'client/widgets/groupbox.cc') diff --git a/client/widgets/groupbox.cc b/client/widgets/groupbox.cc index 2edb344..9dc36ec 100644 --- a/client/widgets/groupbox.cc +++ b/client/widgets/groupbox.cc @@ -47,5 +47,12 @@ GroupBox::GroupBox(QDomNode &node, MacroWindow *macrowindow) QVBoxLayout *layout = new QVBoxLayout(); setLayout(layout); } + } else { + QHBoxLayout *layout = new QHBoxLayout(); + setLayout(layout); } + + // setLineWidth(0); + // setMidLineWidth(0); + setContentsMargins(0,10,0,0); } -- cgit v1.2.3