projects
/
jspeed
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright file added.
[jspeed]
/
src
/
rectangle.h
diff --git
a/src/rectangle.h
b/src/rectangle.h
index
b9c1fb6
..
b412dc1
100644
(file)
--- a/
src/rectangle.h
+++ b/
src/rectangle.h
@@
-24,17
+24,19
@@
class QString;
class QGraphicsRectItem;
class QString;
class QGraphicsRectItem;
+class QGraphicsItem;
class Reader;
class GraphicsScene;
class Rectangle : public GraphicsElement
{
public:
class Reader;
class GraphicsScene;
class Rectangle : public GraphicsElement
{
public:
- enum Attribute {XPOS, YPOS, WIDTH, HEIGHT, COLOR, ATTRIBUTE_COUNT};
+ enum Attribute {XPOS, YPOS, ZPOS, VISIBLEWHEN, WIDTH, HEIGHT, COLOR, ATTRIBUTE_COUNT};
Rectangle(Reader* reader);
virtual bool setAttribute(QString const& name, QString const& value);
virtual void addToScene(GraphicsScene* scene);
virtual void update();
Rectangle(Reader* reader);
virtual bool setAttribute(QString const& name, QString const& value);
virtual void addToScene(GraphicsScene* scene);
virtual void update();
+ virtual QGraphicsItem* getElement() const;
private:
QGraphicsRectItem* element_;
private:
QGraphicsRectItem* element_;