summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/padnavigator/roundrectitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/padnavigator/roundrectitem.h')
-rw-r--r--examples/graphicsview/padnavigator/roundrectitem.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/graphicsview/padnavigator/roundrectitem.h b/examples/graphicsview/padnavigator/roundrectitem.h
index ae5fb4c..bc58cec 100644
--- a/examples/graphicsview/padnavigator/roundrectitem.h
+++ b/examples/graphicsview/padnavigator/roundrectitem.h
@@ -45,6 +45,7 @@
#include <QGraphicsObject>
#include <QLinearGradient>
+//! [0]
class RoundRectItem : public QGraphicsObject
{
Q_OBJECT
@@ -61,13 +62,15 @@ public:
bool fill() const;
void setFill(bool fill);
+//! [0]
+//! [1]
private:
QPixmap pix;
bool fillRect;
- QColor color;
QRectF bounds;
QLinearGradient gradient;
};
+//! [1]
#endif // ROUNDRECTITEM_H