#ifndef __PIPELINEEDITOR__QNODESEDITORCANVAS__H__ #define __PIPELINEEDITOR__QNODESEDITORCANVAS__H__ #include namespace PipelineEditor { // Some other forward declarations class QNEBlock; class QNEConnection; class QNodesEditor; /** */ class QNodesEditorCanvas : public QGraphicsView { Q_OBJECT; public: QNodesEditorCanvas( QWidget* parent = 0 ); virtual ~QNodesEditorCanvas( ); QNodesEditor* editor( ); const QNodesEditor* editor( ) const; protected: /* TODO void keyPressEvent( QKeyEvent* event ); void timerEvent( QTimerEvent* event ); */ void wheelEvent( QWheelEvent* event ); void dragEnterEvent( QDragEnterEvent* event ); void dragLeaveEvent( QDragLeaveEvent* event ); void dragMoveEvent( QDragMoveEvent* event ); void dropEvent( QDropEvent* event ); void _scaleView( qreal scaleFactor ); protected: QNodesEditor* m_Editor; }; } // ecapseman #endif // __PIPELINEEDITOR__QNODESEDITORCANVAS__H__ // eof - $RCSfile$