summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgridlayoutengine_p.h
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2010-11-26 02:57:58 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-11-26 02:57:58 (GMT)
commite07f3aebda9892dcb7c21b7b867dac27e51fd039 (patch)
treef2d77c02953cccdabdb93bf3644f86753b361a50 /src/gui/graphicsview/qgridlayoutengine_p.h
parent869285037c28afef45b368d30917617dabe61559 (diff)
parent4602d75963a415d3ebe20a807aed7284b714790e (diff)
downloadQt-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.h7
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);