Add ability to add image to QTextElement