aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qpixmap
Commit message (Collapse)AuthorAgeFilesLines
* Fix clang warnings about repetitive type namesFriedemann Kleint2019-06-041-2/+2
| | | | | | | | Fix warning like: warning: use auto when initializing with new/reinterpret_cast to avoid duplicating the type name [modernize-use-auto] Change-Id: I46919c041f6a217e098b82c9f7f6548e0a0a9ec5 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix various clang warningsFriedemann Kleint2019-06-041-3/+3
| | | | | | | | | - Use static QFileInfo::exists() - Fix else after return/break - Use Q_ENUM Change-Id: I08d5b48224e5b43c795929765b4ab4c0b137224f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Introduce nullptrFriedemann Kleint2019-06-051-9/+9
| | | | | | | | Apply Fixits by Qt Creator. Introduce more member initialization. Change-Id: I81c6860188f0e1592c4df2435ff7f91500456741 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Add imageToHBITMAP(), imageFromHBITMAP()Friedemann Kleint2018-04-181-0/+18
| | | | | | | | | | | | | Add new functions for image conversions wrapping their QtGui equivalents. [ChangeLog][QtWin] Added functions imageToHBITMAP() and imageFromHBITMAP() for conversion between QImage and HBITMAP, preserving the format where possible. Task-number: QTBUG-51124 Change-Id: I212b2dff182dce3a9b08753b6435d01b75bb5434 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Adjust to qtConfig() changes in qtbaseLars Knoll2016-08-191-1/+1
| | | | | | Change-Id: Ia72129947858da59a05a7114a5b35514e443909f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-beta1Liang Qi2016-04-083-0/+0
|\ | | | | | | Change-Id: I0ce2094980fbd70c017fea7748cbc5c224d974cc
| * Purge sRGB chunks from PNGs in tests.Edward Welbourne2016-03-313-0/+0
| | | | | | | | | | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce Change-Id: Iec1361cbf9cfbe6412e7934666c6868efda80eb1 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-03-071-7/+9
|\| | | | | | | Change-Id: Idd177eb0d33d08a1556858c8dc594c6ac38cbc18
| * tst_qpixmap: Fix warnings as shown by Qt Creator's Clang based code model.Friedemann Kleint2016-02-261-7/+9
| | | | | | | | | | | | | | | | | | Remove C-style casts and fix integer conversion issues. Task-number: QTBUG-50804 Task-number: QTBUG-51124 Change-Id: I6e30a7e62f3f8d389d0b3d1ba81dad2df8417d04 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-191-17/+12
|/ | | | | | | | | | | From Qt 5.7 -> tools & applications are lisenced under GPL v3 with some exceptions, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one (in those files which will be under GPL 3 with exceptions) Change-Id: I10ac49da8041433a9505a48bf440bf001ed9563b Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Update copyright headersv5.5.0-alpha1Antti Kokko2015-02-161-7/+7
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: Ia5781193927251d6b6786f53a9b1cfba9e6d0782 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Update license headers and add new license filesAntti Kokko2014-08-241-19/+11
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I4852e1e3fb306319e63d919675acad9a64e43db6 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Fix build with dynamic GL.Friedemann Kleint2014-05-281-0/+1
| | | | | Change-Id: I9dafdea8745e680a20c162496f3b5089b38037de Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
* Change camel-case header <QWinFunctions> to <QtWin>Sze Howe Koh2013-10-291-1/+1
| | | | | | | | | | | Name the header after its namespace, to reduce the number of names developers must remember. Change-Id: I7b653886c1b504678d73117dfa4a9bfe2a2edbc4 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Rename namespace QtWinExtras to QtWin.Friedemann Kleint2013-09-101-6/+6
| | | | | | | | | As discussed on mailing list. Change-Id: I7ef41d758730998e365d9e616118c4a7c811eebf Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Rename the QWinExtras namespace to QtWinExtrasJ-P Nurmi2013-08-281-6/+6
| | | | | Change-Id: I24cc4cfa5b51d14bc70a895d625c98e49af4537d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Add test for the Windows QPixmap conversion functions.Friedemann Kleint2013-08-2711-0/+299
Re-add the part of the QPixmap-tests dealing with the conversion functions. Change-Id: I49af7adb0b16e8b380061058815284d15c21c6ed Reviewed-by: J-P Nurmi <jpnurmi@digia.com>