summaryrefslogtreecommitdiffstats
path: root/src/mechanics/mechanicsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mechanics/mechanicsview.h')
-rw-r--r--src/mechanics/mechanicsview.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/mechanics/mechanicsview.h b/src/mechanics/mechanicsview.h
new file mode 100644
index 0000000..f787b1c
--- /dev/null
+++ b/src/mechanics/mechanicsview.h
@@ -0,0 +1,33 @@
+/***************************************************************************
+ * Copyright (C) 2005 by David Saxton *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+
+#ifndef MECHANICSVIEW_H
+#define MECHANICSVIEW_H
+
+#include <itemview.h>
+
+class MechanicsDocument;
+
+/**
+@author David Saxton
+*/
+class MechanicsView : public ItemView
+{
+ Q_OBJECT
+ public:
+ MechanicsView( MechanicsDocument *mechanicsDocument, ViewContainer *viewContainer, uint viewAreaId, const char *name = 0l );
+ ~MechanicsView();
+
+ protected:
+ virtual void dragEnterEvent( QDragEnterEvent * e );
+ MechanicsDocument *m_pMechanicsDocument;
+};
+
+#endif