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> |
||
|---|---|---|
| .. | ||
| analogclock | ||
| calculator | ||
| calendarwidget | ||
| charactermap | ||
| codeeditor | ||
| digitalclock | ||
| elidedlabel | ||
| groupbox | ||
| icons | ||
| imageviewer | ||
| lineedits | ||
| mousebuttons | ||
| movie | ||
| scribble | ||
| shapedclock | ||
| sliders | ||
| spinboxes | ||
| styles | ||
| stylesheet | ||
| tablet | ||
| tetrix | ||
| tooltips | ||
| validators | ||
| wiggly | ||
| windowflags | ||
| README | ||
| widgets.pro | ||
README
Qt comes with a large range of standard widgets that users of modern applications have come to expect. You can also develop your own custom widgets and controls, and use them alongside standard widgets. It is even possible to provide custom styles and themes for widgets that can be used to change the appearance of standard widgets and appropriately written custom widgets. Documentation for these examples can be found via the Examples link in the main Qt documentation.