drawing, added export ot png support

Authored by asagtani on Jun 16 2018, 6:00 PM.

Description

drawing, added export ot png support

Details

Committed
asagtaniJun 16 2018, 6:00 PM
Parents
R2:063acddd8122: drawing, removed ColorPalette.qml
Branches
Unknown
Tags
Unknown
Tasks
T9025: drawing, Add export to png support
jjazeix added inline comments.
/src/activities/drawing/paint.js
231

the error should be displayed on a dialog, and you should leave the function if the path is not created

242

you should check if the file has been written or not and display an error if not

245

qsTr("Saved drawing to %1").arg(path + "/drawing" + i.toString() + ".png") instead of qsTr("..." + i + "...")

asagtani marked 3 inline comments as done.Jun 17 2018, 9:54 AM