ornamentedobj.h
changeset 476 a551ed6005cc
parent 447 72afe12da1c8
child 613 8fb5b3956b3e
     1.1 --- a/ornamentedobj.h	Wed Apr 25 16:02:54 2007 +0000
     1.2 +++ b/ornamentedobj.h	Wed Apr 25 16:02:54 2007 +0000
     1.3 @@ -4,6 +4,19 @@
     1.4  #include "frameobj.h"
     1.5  #include "linkablemapobj.h"
     1.6  
     1.7 +/*! \brief Adds various ornaments to the class LinkableMapObj
     1.8 +
     1.9 +The ornaments are:
    1.10 +	- frame
    1.11 +	- note
    1.12 +	- references
    1.13 +		- URL
    1.14 +		-vymLink
    1.15 +	- flags
    1.16 +		- standard flags
    1.17 +		- system flags
    1.18 + */
    1.19 +
    1.20  class OrnamentedObj:public LinkableMapObj {
    1.21  public:	
    1.22      OrnamentedObj ();
    1.23 @@ -13,14 +26,19 @@
    1.24      virtual void init ();
    1.25      virtual void copy (OrnamentedObj*);
    1.26  
    1.27 -    virtual QString getHeading();			// returns the heading	
    1.28 +    virtual QString getHeading();			//!< returns the heading	
    1.29  	virtual void setLinkColor();			// sets color according to colorhint, overloaded
    1.30  	virtual void setColor(QColor);			// set the color of text and link
    1.31  	QColor getColor ();						// get color of heading
    1.32  
    1.33 -	virtual FrameType getFrameType ();
    1.34 -	virtual void setFrameType (const FrameType &);
    1.35 +	virtual FrameObj::FrameType getFrameType ();
    1.36 +	virtual QString getFrameTypeName ();
    1.37 +	virtual void setFrameType (const FrameObj::FrameType &);
    1.38  	virtual void setFrameType (const QString &);
    1.39 +	virtual void setFramePadding (const int &);
    1.40 +	virtual int  getFramePadding ();
    1.41 +	virtual void setFrameBorderWidth(const int &);
    1.42 +	virtual int  getFrameBorderWidth ();
    1.43  	virtual void setFramePenColor (QColor);
    1.44  	virtual QColor getFramePenColor ();
    1.45  	virtual void setFrameBrushColor (QColor);