diff -r f5243654fe86 -r 9481068d6f6a flagrowobj.cpp --- a/flagrowobj.cpp Tue Mar 14 14:27:04 2006 +0000 +++ b/flagrowobj.cpp Mon Apr 10 11:21:35 2006 +0000 @@ -25,6 +25,7 @@ { flag.setAutoDelete (true); parentRow=NULL; + showFlags=true; } void FlagRowObj::copy (FlagRowObj* other) @@ -172,7 +173,10 @@ { fo=addFlag (fo); fo->activate(); - fo->setVisibility (visible); + if (showFlags) + fo->setVisibility (visible); + else + fo->setVisibility (false); calcBBoxSize(); } else qWarning ("FlagRowObj ("+name+")::activate ("+foname+") failed - could not find it in parentRow"); @@ -234,6 +238,11 @@ } } +void FlagRowObj::setShowFlags (bool b) +{ + showFlags=b; +} + void FlagRowObj::resetUsedCounter() { FlagObj *fo;