diff options
author | deva <deva> | 2008-08-20 10:28:35 +0000 |
---|---|---|
committer | deva <deva> | 2008-08-20 10:28:35 +0000 |
commit | 3eebecacd576c35605aff01324ec66ad9825b0d7 (patch) | |
tree | a4f58503967707cdc1ecab07a0b15b67d32bdab6 /client/widgets/radiobuttons.cc | |
parent | 45702265ce206381bcb02a53b413ad987897b02b (diff) |
Fixed various small bugs.
Diffstat (limited to 'client/widgets/radiobuttons.cc')
-rw-r--r-- | client/widgets/radiobuttons.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/client/widgets/radiobuttons.cc b/client/widgets/radiobuttons.cc index 0c3892c..f0c9e8c 100644 --- a/client/widgets/radiobuttons.cc +++ b/client/widgets/radiobuttons.cc @@ -55,6 +55,10 @@ RadioButtons::RadioButtons(QDomNode &node, MacroWindow *macrowindow) setMinimumHeight(elem.attribute("height").toInt()); } + if(elem.hasAttribute("help")) { + setToolTip(elem.attribute("help")); + } + QDomNodeList children = node.childNodes(); for (int i=0; i<children.count();i++) { @@ -66,12 +70,7 @@ RadioButtons::RadioButtons(QDomNode &node, MacroWindow *macrowindow) layout()->addWidget(radiobutton); radiobutton_list.push_back(radiobutton); } - - /* // This is done later - if(elem.hasAttribute("value")) { - setValue(elem.attribute("value")); - } - */ + layout()->setContentsMargins(0,0,0,0); } |