1.1 --- a/flagrowobj.cpp Tue Mar 14 14:27:04 2006 +0000
1.2 +++ b/flagrowobj.cpp Tue Apr 11 14:36:20 2006 +0000
1.3 @@ -25,6 +25,7 @@
1.4 {
1.5 flag.setAutoDelete (true);
1.6 parentRow=NULL;
1.7 + showFlags=true;
1.8 }
1.9
1.10 void FlagRowObj::copy (FlagRowObj* other)
1.11 @@ -172,7 +173,10 @@
1.12 {
1.13 fo=addFlag (fo);
1.14 fo->activate();
1.15 - fo->setVisibility (visible);
1.16 + if (showFlags)
1.17 + fo->setVisibility (visible);
1.18 + else
1.19 + fo->setVisibility (false);
1.20 calcBBoxSize();
1.21 } else
1.22 qWarning ("FlagRowObj ("+name+")::activate ("+foname+") failed - could not find it in parentRow");
1.23 @@ -234,6 +238,11 @@
1.24 }
1.25 }
1.26
1.27 +void FlagRowObj::setShowFlags (bool b)
1.28 +{
1.29 + showFlags=b;
1.30 +}
1.31 +
1.32 void FlagRowObj::resetUsedCounter()
1.33 {
1.34 FlagObj *fo;