diff -r 658ad3bc0c8a -r dfbc371b7280 ornamentedobj.h --- a/ornamentedobj.h Sat Mar 31 09:28:27 2007 +0000 +++ b/ornamentedobj.h Sat Mar 31 09:28:27 2007 +0000 @@ -1,6 +1,7 @@ #ifndef ORNAMENTEDOBJ_H #define ORNAMENTEDOBJ_H +#include "frameobj.h" #include "linkablemapobj.h" class OrnamentedObj:public LinkableMapObj { @@ -16,6 +17,15 @@ virtual void setLinkColor(); // sets color according to colorhint, overloaded virtual void setColor(QColor); // set the color of text and link QColor getColor (); // get color of heading + + virtual FrameType getFrameType (); + virtual void setFrameType (const FrameType &); + virtual void setFrameType (const QString &); + virtual void setFramePenColor (QColor); + virtual QColor getFramePenColor (); + virtual void setFrameBrushColor (QColor); + virtual QColor getFrameBrushColor (); + virtual void positionContents(); virtual void move (double,double); virtual void move (QPointF); @@ -53,6 +63,7 @@ bool isNoteInEditor; // true if TextEditor has this note FlagRowObj *systemFlags; // System Flags FlagRowObj *standardFlags; // Standard Flags + FrameObj *frame; // frame around object QRectF ornamentsBBox; // bbox of flags and heading QString url; // url to external doc QString vymLink; // path to another map