diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-07-22 06:56:48 (GMT) |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2009-07-22 06:56:48 (GMT) |
commit | d5f46ae26ee0cd4a3ccdde526f011b3bdd884abc (patch) | |
tree | 2212de57279175c39a1f1648bef57e2531443129 /src/declarative/fx/qfxgridview.cpp | |
parent | 8dc527a3837c937630c8bbbab034b8bc84d496fb (diff) | |
download | Qt-d5f46ae26ee0cd4a3ccdde526f011b3bdd884abc.zip Qt-d5f46ae26ee0cd4a3ccdde526f011b3bdd884abc.tar.gz Qt-d5f46ae26ee0cd4a3ccdde526f011b3bdd884abc.tar.bz2 |
unify z-value handling in graphics and fx items.
Add a ItemNegativeZStacksBehindParent flag to QGraphicsItem
to get the behavior we need in QFxItems. Removed the z property
in QFxItems.
Diffstat (limited to 'src/declarative/fx/qfxgridview.cpp')
-rw-r--r-- | src/declarative/fx/qfxgridview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxgridview.cpp b/src/declarative/fx/qfxgridview.cpp index 3c80e98..9528af7 100644 --- a/src/declarative/fx/qfxgridview.cpp +++ b/src/declarative/fx/qfxgridview.cpp @@ -356,7 +356,7 @@ FxGridItem *QFxGridViewPrivate::createItem(int modelIndex) listItem->index = modelIndex; // complete model->completeItem(); - listItem->item->setZ(modelIndex + 1); + listItem->item->setZValue(modelIndex + 1); listItem->item->setParent(q->viewport()); } requestedIndex = 0; |