00001 /*************************************************************************** 00002 * Copyright (C) 2005 by David Saxton * 00003 * david@bluehaze.org * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 ***************************************************************************/ 00010 00011 #ifndef CIRCUITVIEW_H 00012 #define CIRCUITVIEW_H 00013 00014 #include <icnview.h> 00015 00016 class CircuitDocument; 00017 00021 class CircuitView : public ICNView 00022 { 00023 Q_OBJECT 00024 public: 00025 CircuitView( CircuitDocument *circuitDocument, ViewContainer *viewContainer, uint viewAreaId, const char *name = 0 ); 00026 ~CircuitView(); 00027 00028 public slots: 00029 virtual void slotUpdateRunningStatus( bool isRunning ); 00030 00031 protected: 00032 virtual void dragEnterEvent( QDragEnterEvent * e ); 00033 CircuitDocument *p_circuitDocument; 00034 }; 00035 00036 #endif
1.5.1