diff options
author | senator <senator> | 2007-10-02 10:09:37 +0000 |
---|---|---|
committer | senator <senator> | 2007-10-02 10:09:37 +0000 |
commit | 8dadd3a9f18b6d4e8884862658fe8a1d042f631c (patch) | |
tree | e28c16aafcfdb9c76cdc34aeb5c9b1cbdd5d9bbe /client/widgets/frame.cc | |
parent | 9910c8962ab813ab7d9a04609b689e1d9ae038e0 (diff) |
misc minor changes for testing
Diffstat (limited to 'client/widgets/frame.cc')
-rw-r--r-- | client/widgets/frame.cc | 8 |
1 files changed, 5 insertions, 3 deletions
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 <QHBoxLayout> 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(); |