From c2be175d8f3e6cc471d53d3918423b3a3eabbc30 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 1 Sep 2008 15:34:07 +0000 Subject: Added DBWidget. --- client/widgetbuilder.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/widgetbuilder.cc') diff --git a/client/widgetbuilder.cc b/client/widgetbuilder.cc index e6dd954..99294f6 100644 --- a/client/widgetbuilder.cc +++ b/client/widgetbuilder.cc @@ -88,6 +88,11 @@ QVector< Widget* > widgetBuilder(QDomNode xml_node, QWidget *parent, MacroWindow widget = combobox; //return; // Don't iterate children + } else if(xml_elem.tagName() == "dbwidget") { + DBWidget *dbwidget = new DBWidget(xml_elem, macrowindow); + widgets.push_back(dbwidget); + widget = dbwidget; + } else if(xml_elem.tagName() == "listbox") { ListBox *listbox = new ListBox(xml_elem, macrowindow); widgets.push_back(listbox); -- cgit v1.2.3