Removed some FIXMEs. Added translations
1 #ifndef ORNAMENTEDOBJ_H
2 #define ORNAMENTEDOBJ_H
4 #include "linkablemapobj.h"
6 class OrnamentedObj:public LinkableMapObj {
9 OrnamentedObj (QGraphicsScene*);
10 OrnamentedObj (OrnamentedObj*);
13 virtual void copy (OrnamentedObj*);
15 virtual QString getHeading(); // returns the heading
16 virtual void setLinkColor(); // sets color according to colorhint, overloaded
17 virtual void setColor(QColor); // set the color of text and link
18 QColor getColor (); // get color of heading
19 virtual void positionContents();
20 virtual void move (double,double);
21 virtual void move (QPointF);
22 virtual void moveBy (double,double);
23 virtual void moveBy (QPointF);
24 virtual void move2RelPos (QPointF); // move relativly to parent^
25 virtual void move2RelPos (double,double);
26 virtual void setNote(QString); // set note
27 virtual void setNote(NoteObj); // set note
28 virtual QString getNote(); // returns note (HTML)
29 virtual QString getNoteASCII(); // returns note (ASCII)
30 virtual QString getNoteOpenDoc(); // returns note (OpenDoc)
31 virtual void setURL (QString);
32 virtual QString getURL ();
33 virtual void setVymLink (QString);
34 virtual QString getVymLink ();
36 virtual void toggleStandardFlag(QString, bool);
37 virtual void activateStandardFlag(QString);
38 virtual void deactivateStandardFlag(QString);
39 virtual bool isSetStandardFlag(QString);
40 virtual QString getSystemFlagName (const QPointF &p);
41 virtual bool isActiveFlag(const QString&); // check if flag is set
42 virtual void updateNoteFlag();
43 virtual void updateFlagsToolbar();
44 virtual void setHideInExport(bool); // set export of object (and childs)
45 virtual bool hideInExport();
46 virtual bool isHidden ();
47 virtual QString getOrnAttr(); // get attributes for saveToDir
50 HeadingObj *heading; // Heading
51 NoteObj note; // Notes
52 FlagRowObj *systemFlags; // System Flags
53 FlagRowObj *standardFlags; // Standard Flags
54 QRectF ornamentsBBox; // bbox of flags and heading
55 QString url; // url to external doc
56 QString vymLink; // path to another map
57 bool hideExport; // hide in exports if set
58 bool hidden; // true if temporary hidden