Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
source connection ok
[blast.git] / AbstractBoxItem.cpp
index b76bf667b798e2190e7c9af53a0ffd596758fa18..8ef607a6aa1af618a3c4d39bcb21408dec394b10 100644 (file)
@@ -20,7 +20,7 @@ AbstractBoxItem::  AbstractBoxItem(AbstractBlock *_refBlock, Dispatcher *_dispat
   QFontMetrics fmId(params->defaultBlockFont);
   nameWidth = fmId.width(refBlock->getName());
   nameHeight = fmId.height();
-  nameMargin = 10;
+  nameMargin = 5;
   ifaceMargin = 10;
 
   // the six following values will be override in subclass constructors
@@ -86,6 +86,11 @@ bool AbstractBoxItem::isBoxItem() {
 bool AbstractBoxItem::isGroupItem() {
   return false;
 }
+
+bool AbstractBoxItem::isSourceItem() {
+  return false;
+}
+
 void AbstractBoxItem::setRstClkVisible(bool b) { 
   rstClkVisible = b;
   foreach(InterfaceItem* ifaceItem, interfaces) {