diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-12 08:42:27 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-12 09:11:07 (GMT) |
commit | 14601e46729084f7f822bc7ef402553fba512452 (patch) | |
tree | 878319c4cb386ca37891885f786e68b34dab6aab /src/gui/graphicsview/qgraphicsanchorlayout_p.h | |
parent | d67b7829e7d5d8fbd57b701f4268dc1c6d77f1b0 (diff) | |
download | Qt-14601e46729084f7f822bc7ef402553fba512452.zip Qt-14601e46729084f7f822bc7ef402553fba512452.tar.gz Qt-14601e46729084f7f822bc7ef402553fba512452.tar.bz2 |
Fix implementation of setAnchorSizeHintsFromItems to be simplification
ready.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsanchorlayout_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsanchorlayout_p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout_p.h b/src/gui/graphicsview/qgraphicsanchorlayout_p.h index 131d7c3..b637f08 100644 --- a/src/gui/graphicsview/qgraphicsanchorlayout_p.h +++ b/src/gui/graphicsview/qgraphicsanchorlayout_p.h @@ -147,6 +147,8 @@ struct AnchorData : public QSimplexVariable { virtual void updateChildrenSizes() { }; + virtual void refreshSizeHints() { }; + inline QString toString() const; QString name; @@ -195,6 +197,7 @@ struct SequentialAnchorData : public AnchorData } virtual void updateChildrenSizes(); + virtual void refreshSizeHints(); void setVertices(const QVector<AnchorVertex*> &vertices) { @@ -218,6 +221,8 @@ struct ParallelAnchorData : public AnchorData } virtual void updateChildrenSizes(); + virtual void refreshSizeHints(); + AnchorData* firstEdge; AnchorData* secondEdge; |