ornamentedobj.h
changeset 442 dfbc371b7280
parent 417 1cc7bbf75f0b
child 447 72afe12da1c8
     1.1 --- a/ornamentedobj.h	Sat Mar 31 09:28:27 2007 +0000
     1.2 +++ b/ornamentedobj.h	Sat Mar 31 09:28:27 2007 +0000
     1.3 @@ -1,6 +1,7 @@
     1.4  #ifndef ORNAMENTEDOBJ_H
     1.5  #define ORNAMENTEDOBJ_H
     1.6  
     1.7 +#include "frameobj.h"
     1.8  #include "linkablemapobj.h"
     1.9  
    1.10  class OrnamentedObj:public LinkableMapObj {
    1.11 @@ -16,6 +17,15 @@
    1.12  	virtual void setLinkColor();			// sets color according to colorhint, overloaded
    1.13  	virtual void setColor(QColor);			// set the color of text and link
    1.14  	QColor getColor ();						// get color of heading
    1.15 +
    1.16 +	virtual FrameType getFrameType ();
    1.17 +	virtual void setFrameType (const FrameType &);
    1.18 +	virtual void setFrameType (const QString &);
    1.19 +	virtual void setFramePenColor (QColor);
    1.20 +	virtual QColor getFramePenColor ();
    1.21 +	virtual void setFrameBrushColor (QColor);
    1.22 +	virtual QColor getFrameBrushColor ();
    1.23 +
    1.24      virtual void positionContents();
    1.25      virtual void move   (double,double);
    1.26      virtual void move   (QPointF);
    1.27 @@ -53,6 +63,7 @@
    1.28  	bool isNoteInEditor;			// true if TextEditor has this note
    1.29  	FlagRowObj *systemFlags;		// System Flags
    1.30  	FlagRowObj *standardFlags;		// Standard Flags
    1.31 +	FrameObj *frame;				// frame around object
    1.32  	QRectF ornamentsBBox;			// bbox of flags and heading
    1.33  	QString url;					// url to external doc
    1.34  	QString vymLink;				// path to another map