qt5base-lts/tests/auto/corelib/tools
Marc Mutz 5b2dfbc649 Long live QSize(F)::grownBy/shrunkBy()
These functions tighten the integration of QMargins(F) with the rest
of the geometry classes by providing a way to apply margins to sizes
(and later, rects).

Apply them in a few obvious cases across QtWidgets.

[ChangeLog][QtCore][QSize/QSizeF] Added grownBy(QMargin(F))/shrunkBy(QMargin(F)).

Change-Id: I8a549436824cdb7fb6125a8cde89d5bf02826934
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2019-08-22 11:38:54 +02:00
..
collections Merge remote-tracking branch 'origin/5.13' into dev 2019-08-01 01:00:10 +02:00
containerapisymmetry Introduce QT_NO_LINKED_LIST and mark QtBase (almost) free of it 2019-07-12 14:26:30 +02:00
qalgorithms Remove usages of deprecated APIs of corelib 2019-07-05 11:25:46 +02:00
qarraydata Q_ARRAY_LITERAL: protect the check for literal types 2019-07-06 19:07:04 +00:00
qarraydata_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qbitarray QBitArray: fix fromBits() and actually test it 2019-08-08 20:27:04 -07:00
qcache Updated license headers 2016-01-21 18:55:18 +00:00
qcommandlineparser Remove usages of deprecated APIs of corelib 2019-07-05 11:25:46 +02:00
qcontiguouscache Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qcryptographichash QCryptographicHash: Add a static method to retrieve hash length 2018-04-10 12:17:43 +00:00
qeasingcurve Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qexplicitlyshareddatapointer Add nullptr comparison to Q{Explicitly,}SharedDataPointer 2018-03-18 17:28:26 +00:00
qfreelist Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qhash Add QT_NO_JAVA_STYLE_ITERATORS and mark QtBase free of it 2019-07-03 14:48:37 +02:00
qhash_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qhashfunctions qhashfunctions.h: add specializations of std::hash for some Qt types 2019-05-29 11:22:20 +02:00
qline Remove the remaining usages of deprecated APIs of qtbase 2019-08-01 06:48:27 +02:00
qlinkedlist QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
qlist QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
qlist_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qmacautoreleasepool Add missing dependencies for tst_qmacautoreleasepool 2018-08-29 02:47:45 +00:00
qmakearray corelib/tools: add qMakeArray() API 2018-07-25 06:57:44 +00:00
qmap Add QT_NO_JAVA_STYLE_ITERATORS and mark QtBase free of it 2019-07-03 14:48:37 +02:00
qmap_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qmargins Updated license headers 2016-01-21 18:55:18 +00:00
qmessageauthenticationcode Updated license headers 2016-01-21 18:55:18 +00:00
qoffsetstringarray corelib/tools: Fix auto detection of QOffsetStringArray::m_offset type 2018-08-28 14:42:46 +00:00
qpair core: Add deduction guides for QPair 2019-03-25 19:48:29 +00:00
qpoint QPoint/F: add transposed() 2019-08-07 23:09:06 +03:00
qpointf QPoint/F: add transposed() 2019-08-07 23:09:06 +03:00
qqueue Updated license headers 2016-01-21 18:55:18 +00:00
qrect Improve rounding of QRect::toRect 2017-06-26 21:35:38 +00:00
qringbuffer QRingBuffer: avoid reallocations of the data 2017-12-30 10:15:10 +00:00
qscopedpointer Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qscopedvaluerollback Use move more consistently in QScopedValueRollback 2019-03-27 07:56:15 +00:00
qscopeguard Introduce QScopeGuard 2018-07-21 17:47:35 +00:00
qset QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
qsharedpointer Remove usages of deprecated APIs of corelib 2019-07-05 11:25:46 +02:00
qsize Long live QSize(F)::grownBy/shrunkBy() 2019-08-22 11:38:54 +02:00
qsizef Long live QSize(F)::grownBy/shrunkBy() 2019-08-22 11:38:54 +02:00
qstl Updated license headers 2016-01-21 18:55:18 +00:00
qtimeline Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qvarlengtharray QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
qvector QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
qvector_strictiterators Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
qversionnumber Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
tools.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00