11 class FlagRowObj:public QObject,public MapObj {
14 FlagRowObj (Q3Canvas*);
17 virtual void copy (FlagRowObj*);
18 virtual void clone(FlagRowObj*);
19 virtual void move (double,double);
20 virtual void moveBy (double,double);
21 virtual void setVisibility(bool);
22 virtual FlagObj* addFlag (FlagObj *fo); // make deep copy of FlagObj
23 virtual void positionBBox();
24 virtual void calcBBoxSize();
25 virtual QString getFlagName (const QPoint &p); // Find flag by position
26 bool isActive(const QString&);
27 void toggle (const QString&,bool);
28 void activate(const QString&);
29 void deactivate(const QString&);
31 void deactivateGroup(FlagObj *);
32 void setToolBar (QToolBar *);
33 void setEnabled (bool);
34 void setShowFlags (bool);
35 void resetUsedCounter();
36 QString saveToDir (const QString &,const QString &,bool);
37 void setName (const QString&); // prefix for exporting flags to dir
38 void makeToolbar (QMainWindow*, const QString &); // Create Toolbar buttons
39 void updateToolbar(); // Update Toolbar buttons
41 FlagRowObj* parentRow; // look for flags in this row
42 FlagObj* findFlag (const QString&);
43 Q3PtrList <FlagObj> flag;
46 bool showFlags; // FloatObjects want to hide their flags