summaryrefslogtreecommitdiffstats
path: root/src/mechanics/mechanicsview.h
blob: f787b1c214c7dc47bf4a112c9e0968685134ef6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/***************************************************************************
 *   Copyright (C) 2005 by David Saxton                                    *
 *   david@bluehaze.org                                                    *
 *                                                                         *
 *   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