Home: Use icon from AFM, display a black area with text if icon unloadable sandbox/mfritzsch/afw-icons
authormfritzsch <marcus_fritzsch@mentor.com>
Fri, 5 May 2017 14:49:03 +0000 (16:49 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Mon, 15 May 2017 16:25:15 +0000 (18:25 +0200)
commitbce6367036483490ff5a41fc182cfa97282313fb
tree5eae3f4ac68481ba4107144ea9e5bdac5390b76c
parent226982d32f334189b4f465a720a297548a42c077
Home: Use icon from AFM, display a black area with text if icon unloadable

* Try to find icons in the AFM_ICON_PATH.
* If none was found, use the builtin.
* If Home.qml cannot load the icon, display a shaded circle
  that approximates the size of the icons, and contains the
  icon name as text.
* Enables proper scrolling of Home icons (and clipping to its
  dimensions).

Change-Id: Ic921b357870648e675cda41985da2e985f4a0e6c
homescreen/homescreen.pro
homescreen/qml/Home.qml
homescreen/src/applicationmodel.cpp