painter->drawPath(params->outArrow);
}
+ // paint modifier box if needed
+
+ if (refInter->getInputModifier() != NULL) {
+ painter->save();
+ painter->translate(params->arrowWidth+params->arrowLineLength,0);
+ painter->drawRect(0,-5,10,10);
+ painter->restore();
+ }
+
+
// draw names
if(selected) {
painter->setPen(QPen(Qt::red,2));
else if((owner->isBoxItem()) || (owner->isSourceItem())){
painter->drawText(-w,-h/2,w,h,Qt::AlignLeft | Qt::TextWordWrap, refInter->getName());
}
- }
+ }
+
+
painter->restore();
}