1 // -------------------------------------------------------------------------
2 // @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
3 // -------------------------------------------------------------------------
5 #include <cpPipelineEditor/Canvas.h>
7 // -------------------------------------------------------------------------
8 cpPipelineEditor::Canvas::
9 Canvas( QWidget* parent )
10 : Superclass( parent )
12 this->m_Scene = new QGraphicsScene( this );
13 this->setScene( this->m_Scene );
14 this->setRenderHint( QPainter::Antialiasing );
15 this->setAcceptDrops( true );
18 // -------------------------------------------------------------------------
19 cpPipelineEditor::Canvas::