summaryrefslogtreecommitdiff
path: root/client/widgetbuilder.cc
diff options
context:
space:
mode:
authordeva <deva>2008-09-01 15:34:07 +0000
committerdeva <deva>2008-09-01 15:34:07 +0000
commitc2be175d8f3e6cc471d53d3918423b3a3eabbc30 (patch)
tree2623f66bb2c6f663a8a51d404f303594bbbf986b /client/widgetbuilder.cc
parentdad63d9d9e3b6dc0dc0a6371558da2b0a5654fa1 (diff)
Added DBWidget.
Diffstat (limited to 'client/widgetbuilder.cc')
-rw-r--r--client/widgetbuilder.cc5
1 files changed, 5 insertions, 0 deletions
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);