--- a/src/hbwidgets/itemviews/hbgridview.h Fri Jun 11 13:58:22 2010 +0300
+++ b/src/hbwidgets/itemviews/hbgridview.h Wed Jun 23 18:33:25 2010 +0300
@@ -37,6 +37,7 @@
Q_PROPERTY(int rowCount READ rowCount WRITE setRowCount)
Q_PROPERTY(bool iconVisible READ iconVisible WRITE setIconVisible)
Q_PROPERTY(bool textVisible READ textVisible WRITE setTextVisible)
+ Q_PROPERTY(bool swapDimensionsOnOrientationChange READ swapDimensionsOnOrientationChange WRITE setSwapDimensionsOnOrientationChange)
public:
explicit HbGridView(QGraphicsItem *parent = 0);
@@ -55,6 +56,9 @@
bool textVisible() const;
void setTextVisible(bool visible);
+ bool swapDimensionsOnOrientationChange() const;
+ void setSwapDimensionsOnOrientationChange(bool swap);
+
protected:
void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
void orientationAboutToBeChanged();