diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2010-11-26 02:57:58 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-11-26 02:57:58 (GMT) |
commit | e07f3aebda9892dcb7c21b7b867dac27e51fd039 (patch) | |
tree | f2d77c02953cccdabdb93bf3644f86753b361a50 /src/gui/graphicsview/qgridlayoutengine_p.h | |
parent | 869285037c28afef45b368d30917617dabe61559 (diff) | |
parent | 4602d75963a415d3ebe20a807aed7284b714790e (diff) | |
download | Qt-e07f3aebda9892dcb7c21b7b867dac27e51fd039.zip Qt-e07f3aebda9892dcb7c21b7b867dac27e51fd039.tar.gz Qt-e07f3aebda9892dcb7c21b7b867dac27e51fd039.tar.bz2 |
Merge remote branch 'qt/master'
Conflicts:
tools/qdoc3/test/qdeclarative.qdocconf
tools/qdoc3/test/qt-build-docs_ja_JP.qdocconf
tools/qdoc3/test/qt.qdocconf
tools/qdoc3/test/qt_ja_JP.qdocconf
Diffstat (limited to 'src/gui/graphicsview/qgridlayoutengine_p.h')
-rw-r--r-- | src/gui/graphicsview/qgridlayoutengine_p.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgridlayoutengine_p.h b/src/gui/graphicsview/qgridlayoutengine_p.h index 7c77b2a..1016bc8 100644 --- a/src/gui/graphicsview/qgridlayoutengine_p.h +++ b/src/gui/graphicsview/qgridlayoutengine_p.h @@ -224,13 +224,16 @@ public: typedef QMap<QPair<int, int>, QGridLayoutMultiCellData> MultiCellMap; +class QGridLayoutRowInfo; + class QGridLayoutRowData { public: void reset(int count); - void distributeMultiCells(); + void distributeMultiCells(const QGridLayoutRowInfo &rowInfo); void calculateGeometries(int start, int end, qreal targetSize, qreal *positions, qreal *sizes, - qreal *descents, const QGridLayoutBox &totalBox); + qreal *descents, const QGridLayoutBox &totalBox, + const QGridLayoutRowInfo &rowInfo); QGridLayoutBox totalBox(int start, int end) const; void stealBox(int start, int end, int which, qreal *positions, qreal *sizes); |