drawTiles: QRect to QRectF
add apply button to properties dialog
v0.40