File indexing completed on 2024-04-21 05:43:48

0001 /***************************************************************************
0002  *   Copyright (C) 2005 by David Saxton                                    *
0003  *   david@bluehaze.org                                                    *
0004  *                                                                         *
0005  *   This program is free software; you can redistribute it and/or modify  *
0006  *   it under the terms of the GNU General Public License as published by  *
0007  *   the Free Software Foundation; either version 2 of the License, or     *
0008  *   (at your option) any later version.                                   *
0009  ***************************************************************************/
0010 
0011 #ifndef MECHANICSVIEW_H
0012 #define MECHANICSVIEW_H
0013 
0014 #include <itemview.h>
0015 
0016 class MechanicsDocument;
0017 
0018 /**
0019 @author David Saxton
0020 */
0021 class MechanicsView : public ItemView
0022 {
0023     Q_OBJECT
0024 public:
0025     MechanicsView(MechanicsDocument *mechanicsDocument, ViewContainer *viewContainer, uint viewAreaId);
0026     ~MechanicsView() override;
0027 
0028 protected:
0029     void dragEnterEvent(QDragEnterEvent *e) override;
0030     MechanicsDocument *m_pMechanicsDocument;
0031 };
0032 
0033 #endif