frameobj.h
changeset 449 5378ed53ec92
parent 421 5522d1da7e37
child 470 80ae7b79828c
     1.1 --- a/frameobj.h	Tue Jan 23 11:50:53 2007 +0000
     1.2 +++ b/frameobj.h	Tue Apr 10 13:22:55 2007 +0000
     1.3 @@ -22,14 +22,21 @@
     1.4      QString getFrameTypeName ();
     1.5      void setFrameType (const FrameType &);
     1.6      void setFrameType (const QString &);
     1.7 +	void setPenColor (QColor);
     1.8 +	QColor getPenColor ();
     1.9 +	void setBrushColor (QColor);
    1.10 +	QColor getBrushColor ();
    1.11 +	void repaint();
    1.12      void setVisibility(bool);
    1.13  	QString saveToDir ();
    1.14  
    1.15 -protected:
    1.16 +private:
    1.17      FrameType type;
    1.18      QGraphicsRectItem * rectFrame;
    1.19      QGraphicsEllipseItem * ellipseFrame;
    1.20      int border;									// distance text - frame
    1.21 +	QColor penColor;
    1.22 +	QColor brushColor;
    1.23  };
    1.24  #endif
    1.25