screenRec.x() and .y() should be directly those offsets needed
Attach a file by drag & drop or click to upload