Improvements to Image element
authorYann Bodson <yann.bodson@nokia.com>
Tue, 5 Jul 2011 03:06:54 +0000 (13:06 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 20 Jul 2011 01:07:06 +0000 (03:07 +0200)
commita8925e668aca0e1d2b90308c8286e5bb68f9ee42
tree36b30e9aae31ac2afb001b0e581343ed892812fa
parent86896ff9b2e0387b0b265f927e7cc3f7b40f498b
Improvements to Image element

- add Image.Pad as a fillMode
- add horizontal and vertical alignment properties

Task-number: QTBUG-18291
Change-Id: Iaaf3b2d02c47ad01d2c8b49d146f1a9401b2558d
Reviewed-on: http://codereview.qt.nokia.com/1468
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/declarative/items/qsgimage.cpp
src/declarative/items/qsgimage_p.h
src/declarative/items/qsgimage_p_p.h
tests/systemtests/declarative/qsgimage/ImageNG.qml [new file with mode: 0644]
tests/systemtests/declarative/qsgimage/img-align.qml [new file with mode: 0644]
tests/systemtests/declarative/qsgimage/qt-logo.png [new file with mode: 0644]