return( false );\r
}\r
\r
-// -------------------------------------------------------------------------\r
-cpPipelineEditor::TypePort::\r
-TypePort( QGraphicsItem* parent, QGraphicsScene* scene )\r
- : Superclass( parent, scene )\r
-{\r
-}\r
-\r
-// -------------------------------------------------------------------------\r
-cpPipelineEditor::TypePort::\r
-~TypePort( )\r
-{\r
-}\r
-\r
-// -------------------------------------------------------------------------\r
-void cpPipelineEditor::TypePort::\r
-_updateLabels( )\r
-{\r
- QFont font( this->scene( )->font( ) );\r
- font.setItalic( true );\r
- this->m_Label->setFont( font );\r
- this->m_ExtendedLabel->setFont( font );\r
- this->setPath( QPainterPath( ) );\r
-}\r
-\r
-// -------------------------------------------------------------------------\r
-bool cpPipelineEditor::TypePort::\r
-isConnected( Port* other )\r
-{\r
- return( false );\r
-}\r
-\r
// -------------------------------------------------------------------------\r
cpPipelineEditor::InputPort::\r
InputPort( QGraphicsItem* parent, QGraphicsScene* scene )\r
QMenu menu;\r
QAction* showAction = menu.addAction( "Show" );\r
QAction* hideAction = menu.addAction( "Hide" );\r
+ QAction* propertiesAction = menu.addAction( "Properties" );\r
QAction* selectedAction = menu.exec( evt->screenPos( ) );\r
\r
if( selectedAction == showAction )\r
}\r
else if( selectedAction == hideAction )\r
{\r
+ this->m_Block->editor( )->hideOutputData(\r
+ this->m_Block->namePort( ).toStdString( ),\r
+ this->name( ).toStdString( )\r
+ );\r
+ }\r
+ else if( selectedAction == propertiesAction )\r
+ {\r
+ this->m_Block->editor( )->visualPropertiesOutputData(\r
+ this->m_Block->namePort( ).toStdString( ),\r
+ this->name( ).toStdString( )\r
+ );\r
+\r
} // fi\r
}\r
\r