summaryrefslogtreecommitdiff
path: root/editor/macrowindow.h
diff options
context:
space:
mode:
authordeva <deva>2008-07-11 12:54:42 +0000
committerdeva <deva>2008-07-11 12:54:42 +0000
commit5a19d9218a5f3ed7d02b7fabd8f025922e9f7a13 (patch)
tree49ee6645bf55e620db824d0c95508a65d4d596e7 /editor/macrowindow.h
parent12bd3e7ff088b097bf4e280161aee646fbbb50dc (diff)
Now we have a nice little editor.
Diffstat (limited to 'editor/macrowindow.h')
-rw-r--r--editor/macrowindow.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/editor/macrowindow.h b/editor/macrowindow.h
index 5ff375f..e6c2876 100644
--- a/editor/macrowindow.h
+++ b/editor/macrowindow.h
@@ -27,27 +27,14 @@
#ifndef __PRACRO_MACROWINDOW_H__
#define __PRACRO_MACROWINDOW_H__
-#include <QFrame>
-#include <QDragEnterEvent>
-#include <QDropEvent>
+#include "widget.h"
+#include <QDomNode>
-class MacroWindow : public QFrame
+class MacroWindow : public Widget
{
Q_OBJECT
public:
- MacroWindow(Qt::Orientation orientation);
-
-protected:
- void dragEnterEvent(QDragEnterEvent *event);
- void dragLeaveEvent(QDragLeaveEvent *event);
- void dragMoveEvent(QDragMoveEvent *event);
- void dropEvent(QDropEvent *event);
- void mousePressEvent(QMouseEvent *event);
-
-private:
- Qt::Orientation orientation;
- QWidget *dragObject;
- QWidget *findWidget(QPoint pos);
+ MacroWindow(QDomNode &node);
};
#endif/*__PRACRO_MACROWINDOW_H__*/