import QtQuick 2.0 HMIButton { id:btnCloseApp property string bgImageStyle: systemCtrl.style width: 89 height: 76 btnImg: btnCloseApp.pressed?("qrc:MATERIAL/MATERIAL_FUNCTION_CLOSE_BUTTON"+bgImageStyle):(""+bgImageStyle) Image { id: closeImg anchors.centerIn: btnCloseApp height: 44;width: 44 source: "qrc:MATERIAL/MATERIAL_ICON_CLOSE"+bgImageStyle } }