File indexing completed on 2024-12-08 11:07:07

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 CIRCUITVIEW_H
0012 #define CIRCUITVIEW_H
0013 
0014 #include <icnview.h>
0015 
0016 class CircuitDocument;
0017 
0018 /**
0019 @author David Saxton
0020 */
0021 class CircuitView : public ICNView
0022 {
0023     Q_OBJECT
0024 public:
0025     CircuitView(CircuitDocument *circuitDocument, ViewContainer *viewContainer, uint viewAreaId);
0026     ~CircuitView() override;
0027 
0028 public slots:
0029     virtual void slotUpdateRunningStatus(bool isRunning);
0030 
0031 protected:
0032     void dragEnterEvent(QDragEnterEvent *e) override;
0033     CircuitDocument *p_circuitDocument;
0034 };
0035 
0036 #endif