summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_dialogs_qfontdialog.cpp
diff options
context:
space:
mode:
authorEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-07-09 18:12:29 (GMT)
committerEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-07-22 18:04:54 (GMT)
commit22a6ce9b329a081d07296533980d374b0c7ad88b (patch)
treedf9fd2c5d3ea409f715eee60ae38e6a07f457c29 /doc/src/snippets/code/src_gui_dialogs_qfontdialog.cpp
parent4419654149be34e646fdff4c4f2897292a129d33 (diff)
downloadQt-22a6ce9b329a081d07296533980d374b0c7ad88b.zip
Qt-22a6ce9b329a081d07296533980d374b0c7ad88b.tar.gz
Qt-22a6ce9b329a081d07296533980d374b0c7ad88b.tar.bz2
QGraphicsAnchorLayout: Do not create center anchors by default
Previously we would create two half anchors internally to each item added to the layout. These anchors are meant to enforce the central anchorage point remains on its position. It is not effecient however, to create these anchors for all items if not all of them will have anchors linked to their center. This commit removes the creation of center anchors, the idea is to postpone this to the moment their are really needed, therefore reducing the number of variables and constraints sent to the simplex solver on the average case. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
Diffstat (limited to 'doc/src/snippets/code/src_gui_dialogs_qfontdialog.cpp')
0 files changed, 0 insertions, 0 deletions