Resolved myself.
At ubuntu it's ok to to with before.
But at windows grab should be done from viewportQt Code:
tempEdit.grab().save("temp.png");To copy to clipboard, switch view to plain text mode
Qt Code:
tempEdit.viewport()->grab().save("temp.png");To copy to clipboard, switch view to plain text mode
Bookmarks