diff options
Diffstat (limited to 'examples/graphicsview/padnavigator/flippablepad.h')
-rw-r--r-- | examples/graphicsview/padnavigator/flippablepad.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/graphicsview/padnavigator/flippablepad.h b/examples/graphicsview/padnavigator/flippablepad.h index 9adb18b..7d99536 100644 --- a/examples/graphicsview/padnavigator/flippablepad.h +++ b/examples/graphicsview/padnavigator/flippablepad.h @@ -48,16 +48,17 @@ #include <QLinearGradient> #include <QVector> +//! [0] class FlippablePad : public RoundRectItem { public: FlippablePad(const QSize &size, QGraphicsItem *parent = 0); - RoundRectItem *iconAt(int x, int y) const; + RoundRectItem *iconAt(int column, int row) const; private: - int columns; QVector<QVector<RoundRectItem *> > iconGrid; }; +//! [0] #endif // FLIPPABLEPAD_H |