11 /*! \brief A collection of flags (FlagObj) in a map.
13 The flags are aligned horizontally in a row on the map.
16 class FlagRowObj:public MapObj {
19 FlagRowObj (QGraphicsScene *);
22 virtual void copy (FlagRowObj*);
23 virtual void move (double,double);
24 virtual void moveBy (double,double);
25 virtual void setVisibility(bool);
26 virtual FlagObj* addFlag (FlagObj *fo); // make deep copy of FlagObj
27 virtual QStringList activeFlagNames();
28 virtual void positionBBox();
29 virtual void calcBBoxSize();
30 virtual QString getFlagName (const QPointF &p); // Find flag by position
31 bool isActive(const QString&);
32 void activate (Flag *flag);
33 void deactivate(const QString&);
34 void setShowFlags (bool);
36 FlagObj* findFlag (const QString&);
37 QList <FlagObj*> flag;
38 bool showFlags; // FloatObjects want to hide their flags