qt6-bb10/tests/benchmarks/gui/graphicsview/functional/GraphicsViewBenchmark/widgets
Eskil Abrahamsen Blomfeldt 4d88d79aa5 Update usage of QFontMetrics::width() to new API
QFontMetrics(F)::width() has been deprecated and is replaced by
horizontalAdvance(). This updates all usage of it in tests and
documentation.

It is worth noting that many or most of the usages of
QFontMetrics::width() probably intended to use boundingRect().width(),
but since it currently works, I have not looked into that, just
replaced the function name mechanically.

Change-Id: Iec382e5bad0b50f37a6cfff841bfb46ed4d4555f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-12-08 15:06:32 +00:00
..
abstractitemcontainer.cpp
abstractitemcontainer.h
abstractitemview.cpp
abstractitemview.h
abstractscrollarea.cpp
abstractscrollarea.h
abstractviewitem.cpp
abstractviewitem.h
backgrounditem.cpp
backgrounditem.h
button.cpp
button.h
commandline.cpp
commandline.h
dummydatagen.cpp
dummydatagen.h
gvbwidget.cpp
gvbwidget.h
iconitem.cpp
iconitem.h
itemrecyclinglist.cpp
itemrecyclinglist.h
itemrecyclinglist.pri
itemrecyclinglistview.cpp
itemrecyclinglistview.h
label.cpp
label.h
listitem.cpp
listitem.h
listitemcache.cpp
listitemcache.h
listitemcontainer.cpp
listitemcontainer.h
listmodel.cpp
listmodel.h
listwidget.cpp
listwidget.h
mainview.cpp
mainview.h
menu.cpp
menu.h
recycledlistitem.cpp
recycledlistitem.h
resourcemoninterface.h
scrollbar.cpp
scrollbar.h
scroller.cpp
scroller.h
scroller_p.h
settings.cpp
settings.h
simplelist.cpp
simplelist.h
simplelistview.cpp
simplelistview.h
theme.cpp
theme.h
themeevent.cpp
themeevent.h
topbar.cpp
topbar.h
webview.cpp
webview.h
webview_p.h