summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/aspectratiolabel.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused code blocks and functionsKatja Marttila2020-11-041-3/+3
| | | | | | | | Results analyzed using cppcheck tools. Also add Q_DECL_OVERRIDE to overwrited functions. Change-Id: Iab5eb43206af0050c1dd84efb7ed860ab9594496 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Fix image aspect ratio not preserved when resizing windowArttu Tarkiainen2020-09-161-0/+63
As this is not currently possible using only QLabel, subclass it with a new AspectRatioLabel class to provide the functionality. This should be usable also on other places where we need scaling with aspect ratio maintaining. Task-number: QTIFW-1944 Change-Id: I32147b2b487573bb054fcf66b09eb3f8a0350ccd Reviewed-by: Katja Marttila <katja.marttila@qt.io>