diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2011-11-24 15:14:53 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2011-11-25 17:12:58 +0100 |
commit | 6c36a2a9ad5e495d31c2e20e7e76e57a0ede684f (patch) | |
tree | 99e1d8ce8543fa6982b37826f8dadb0ed1979cd9 /src/plugins/qtsupport/qtsupport.pro | |
parent | 9e0cae5dac4d388caa948205a8e72cda199a213f (diff) |
Cropping the examples screen shots to "Areas of interest".
The cropping coordinates are stored in a file
images_areasofinterest.xml. A tool to create/maintain the cropping
coordinates is included in this patch.
Then changes to Delegate.qml prevent QML from scaling the image.
If scaling is needed it is now the job of the Image provider.
dropshadow.png had to be adjusted because the border had different
widths and heights.
Change-Id: Ib25db896d40eeec0e0a373c971931dc5cabf3cbe
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'src/plugins/qtsupport/qtsupport.pro')
-rw-r--r-- | src/plugins/qtsupport/qtsupport.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/qtsupport/qtsupport.pro b/src/plugins/qtsupport/qtsupport.pro index 25ffad2f14..088a61e7d0 100644 --- a/src/plugins/qtsupport/qtsupport.pro +++ b/src/plugins/qtsupport/qtsupport.pro @@ -25,7 +25,8 @@ HEADERS += \ profilereader.h \ qtparser.h \ gettingstartedwelcomepage.h \ - exampleslistmodel.h + exampleslistmodel.h \ + screenshotcropper.h SOURCES += \ qtsupportplugin.cpp \ @@ -41,7 +42,8 @@ SOURCES += \ profilereader.cpp \ qtparser.cpp \ gettingstartedwelcomepage.cpp \ - exampleslistmodel.cpp + exampleslistmodel.cpp \ + screenshotcropper.cpp FORMS += \ showbuildlog.ui \ |