From 8dadd3a9f18b6d4e8884862658fe8a1d042f631c Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 2 Oct 2007 10:09:37 +0000 Subject: misc minor changes for testing --- client/widgets/frame.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'client/widgets/frame.cc') diff --git a/client/widgets/frame.cc b/client/widgets/frame.cc index 508541d..bc72a2a 100644 --- a/client/widgets/frame.cc +++ b/client/widgets/frame.cc @@ -29,16 +29,18 @@ #include Frame::Frame(QDomNode node) - : QGroupBox(), Widget(node) + : QFrame(), Widget(node) { QDomElement elem = node.toElement(); + /* if(elem.hasAttribute("caption")) { setTitle(elem.attribute("caption")); } else { setTitle(elem.attribute("")); } - + */ + /* if(elem.hasAttribute("border")) { if(elem.attribute("border") == "true") { setFlat(false); @@ -48,7 +50,7 @@ Frame::Frame(QDomNode node) } else { setFlat(true); } - + */ if(elem.hasAttribute("layout")) { if(elem.attribute("layout") == "hbox") { QHBoxLayout *layout = new QHBoxLayout(); -- cgit v1.2.3