diff options
author | deva <deva> | 2008-07-11 12:54:42 +0000 |
---|---|---|
committer | deva <deva> | 2008-07-11 12:54:42 +0000 |
commit | 5a19d9218a5f3ed7d02b7fabd8f025922e9f7a13 (patch) | |
tree | 49ee6645bf55e620db824d0c95508a65d4d596e7 /editor/tool.h | |
parent | 12bd3e7ff088b097bf4e280161aee646fbbb50dc (diff) |
Now we have a nice little editor.
Diffstat (limited to 'editor/tool.h')
-rw-r--r-- | editor/tool.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/tool.h b/editor/tool.h index a9ef1a6..8561f94 100644 --- a/editor/tool.h +++ b/editor/tool.h @@ -30,16 +30,18 @@ #include <QLabel> #include <QPixmap> #include <QMouseEvent> +#include <QDomNode> class Tool : public QLabel { Q_OBJECT public: - Tool(QPixmap &pixmap, QString widget); + Tool(QDomNode &node); protected: void mousePressEvent(QMouseEvent *event); private: + QDomNode node; QPixmap pixmap; QString widget; }; |