From 48f92d13fa3a42007a068baf1d63f418b22a2b3e Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 14 Jul 2008 09:32:45 +0000 Subject: 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. --- editor/toolbox.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'editor/toolbox.h') diff --git a/editor/toolbox.h b/editor/toolbox.h index a74293a..66e77d1 100644 --- a/editor/toolbox.h +++ b/editor/toolbox.h @@ -29,11 +29,18 @@ #include #include +#include "macrowindow.h" class Toolbox : public QDialog { Q_OBJECT public: - Toolbox(QDomNode &node); + Toolbox(QDomNode &node, MacroWindow *macrowindow); + +public slots: + void toXml(); + +private: + MacroWindow *macrowindow; }; #endif/*__PRACRO_TOOLBOX_H__*/ -- cgit v1.2.3