]> Creatis software - cpPlugins.git/blobdiff - libs/cpPipelineEditor/Block.cxx
...
[cpPlugins.git] / libs / cpPipelineEditor / Block.cxx
index 315b197117ef55fa2de6dff5cb1c606d5fd37368..d04d5fee82c8b7afc07e9cdc408ec19123352e60 100644 (file)
@@ -9,14 +9,16 @@ Block( QGraphicsItem* parent, QGraphicsScene* scene )
   this->m_SelectedColor = Qt::darkYellow;
   this->m_NotSelectedColor = Qt::darkGreen;
 
-  QPainterPath p;
-  p.addRoundedRect( -50, -50, 50, 50, 5, 5 );
-
-  this->setPath( p );
-  this->setPen( QPen( this->m_NotSelectedColor ) );
-  this->setBrush( this->m_NotSelectedColor );
-  this->setFlag( QGraphicsItem::ItemIsMovable );
-  this->setFlag( QGraphicsItem::ItemIsSelectable );
+  /* TODO
+     QPainterPath p;
+     p.addRect( -50, -50, 50, 50 );
+
+     this->setPath( p );
+     this->setPen( QPen( this->m_NotSelectedColor ) );
+     this->setBrush( this->m_NotSelectedColor );
+     this->setFlag( QGraphicsItem::ItemIsMovable );
+     this->setFlag( QGraphicsItem::ItemIsSelectable );
+  */
 }
 
 // -------------------------------------------------------------------------