Index: sources/gui/qml/components/IconButton.qml =================================================================== diff -u -r23f8a6036e22f80c3c5fd2834a2980bb62d2a34d -r4f7e0c9f1b844d4dfcd23c9d3bcd4d0200b1ae47 --- sources/gui/qml/components/IconButton.qml (.../IconButton.qml) (revision 23f8a6036e22f80c3c5fd2834a2980bb62d2a34d) +++ sources/gui/qml/components/IconButton.qml (.../IconButton.qml) (revision 4f7e0c9f1b844d4dfcd23c9d3bcd4d0200b1ae47) @@ -20,8 +20,8 @@ import "qrc:/components" TouchRect { id : _icon - property alias iconImage : _iconImage - property int iconSize : Variables.iconButtonSize + property int iconSize : Variables.iconButtonSize + property string iconImageSource : "" width : iconSize + 20 height : iconSize + 20 @@ -34,6 +34,6 @@ height : iconSize width : iconSize fillMode: Image.PreserveAspectFit - source : "" + source : iconImageSource } } Index: sources/gui/qml/pages/treatment/TreatmentSectionHeader.qml =================================================================== diff -u -r23f8a6036e22f80c3c5fd2834a2980bb62d2a34d -r4f7e0c9f1b844d4dfcd23c9d3bcd4d0200b1ae47 --- sources/gui/qml/pages/treatment/TreatmentSectionHeader.qml (.../TreatmentSectionHeader.qml) (revision 23f8a6036e22f80c3c5fd2834a2980bb62d2a34d) +++ sources/gui/qml/pages/treatment/TreatmentSectionHeader.qml (.../TreatmentSectionHeader.qml) (revision 4f7e0c9f1b844d4dfcd23c9d3bcd4d0200b1ae47) @@ -58,7 +58,7 @@ } visible : showLock - iconImage.source : editEnabled ? "qrc:/images/iUnlock" : "qrc:/images/iLock" + iconImageSource : editEnabled ? "qrc:/images/iUnlock" : "qrc:/images/iLock" onPressed : { editEnabled = !editEnabled _root.lockClicked() @@ -74,7 +74,7 @@ visible : showEdit enabled : editEnabled - iconImage.source: editEnabled ? "qrc:/images/iEdit" : "qrc:/images/iEditDisabled" + iconImageSource : editEnabled ? "qrc:/images/iEdit" : "qrc:/images/iEditDisabled" onPressed : _root.editClicked() } } Index: sources/gui/qml/pages/treatment/sections/TreatmentTime.qml =================================================================== diff -u -r23f8a6036e22f80c3c5fd2834a2980bb62d2a34d -r4f7e0c9f1b844d4dfcd23c9d3bcd4d0200b1ae47 --- sources/gui/qml/pages/treatment/sections/TreatmentTime.qml (.../TreatmentTime.qml) (revision 23f8a6036e22f80c3c5fd2834a2980bb62d2a34d) +++ sources/gui/qml/pages/treatment/sections/TreatmentTime.qml (.../TreatmentTime.qml) (revision 4f7e0c9f1b844d4dfcd23c9d3bcd4d0200b1ae47) @@ -99,7 +99,7 @@ horizontalCenter: parent.horizontalCenter } iconSize : 30 - iconImage.source : "qrc:/images/iEdit" + iconImageSource : "qrc:/images/iEdit" onClicked : _root.clicked() } }