diff options
author | deva <deva> | 2008-07-14 09:32:45 +0000 |
---|---|---|
committer | deva <deva> | 2008-07-14 09:32:45 +0000 |
commit | 48f92d13fa3a42007a068baf1d63f418b22a2b3e (patch) | |
tree | d5a2f314b6da4162e5a45afcf5473529152da288 /editor/editor.cc | |
parent | 0ca2a008e3d6f2578246326ba4180cf21d8064ca (diff) |
Made the setValue actually set the values in the GUI. Fixed resize problem when labels got text filled into them. Added a simple toXml method to dunp xml from the contructed gui to stdout.
Diffstat (limited to 'editor/editor.cc')
-rw-r--r-- | editor/editor.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/editor/editor.cc b/editor/editor.cc index e7d8781..1de16a1 100644 --- a/editor/editor.cc +++ b/editor/editor.cc @@ -67,16 +67,17 @@ int main(int argc, char *argv[]) n = n.nextSibling(); } - Toolbox toolbox(docElem); + MacroWindow macrowindow(node); + Toolbox toolbox(docElem, ¯owindow); + propertieseditor = new PropertiesEditor(); + toolbox.move(OFFSET_X, OFFSET_Y); toolbox.show(); - MacroWindow macrowindow(node); macrowindow.resize(400, 300); macrowindow.move(toolbox.width() + OFFSET_X + SPACING, OFFSET_Y); macrowindow.show(); - propertieseditor = new PropertiesEditor(); propertieseditor->setProperties(¯owindow); propertieseditor->move(macrowindow.width() + toolbox.width() + OFFSET_X + 2 * SPACING, OFFSET_Y); propertieseditor->show(); |