summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/API/JavaScript.h
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2009-08-14 04:15:24 (GMT)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2009-08-14 04:15:24 (GMT)
commit49286394bcb4e7c945c9d05d4b0a4f93a8a4b72f (patch)
tree9d7d02ad41791cf0d588bb31e61cd64890e216f9 /src/3rdparty/webkit/JavaScriptCore/API/JavaScript.h
parentfcd2540c1e5190b9edaebc6842263630a5d2da2b (diff)
downloadQt-49286394bcb4e7c945c9d05d4b0a4f93a8a4b72f.zip
Qt-49286394bcb4e7c945c9d05d4b0a4f93a8a4b72f.tar.gz
Qt-49286394bcb4e7c945c9d05d4b0a4f93a8a4b72f.tar.bz2
QGraphicsAnchorLayout: size hint updated in a simplified graph
This commit makes setAnchorSizeHintsFromItems() support a simplified graph. Instead of going recursively, since AnchorData doesn't have all needed information, we make a list with all anchors/vertexpairs with dependencies first. That way we are sure to fill all information, and the group anchors can peek at its children anchors (dependencies) and they'll have updated information. This solutions doesn't require refreshSizeHints(). Alternative solutions that we might consider are: complementing the AnchorData information or making refreshSizeHints() take two AnchorVertex as parameters and use the recursive approach. Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> Reviewed-by: Artur Duque de Souza <artur.souza@openbossa.org>
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/API/JavaScript.h')
0 files changed, 0 insertions, 0 deletions