View Full Version : How to display in memory image in QGraphicsTextItem
lni
18th February 2010, 13:22
I have an QImage created dynamically.
How do I display it in the QGraphicsTextItem?
Thanks
JohannesMunk
18th February 2010, 14:14
Doesn't that work the usual way, through QTextDocument::addResource?
You can access the document through QGraphicsTextItem::document() .
http://wiki.qtcentre.org/index.php?title=Drop_files_and_images_on_QTextEdit
HIH
Johannes
lni
18th February 2010, 15:57
Doesn't that work the usual way, through QTextDocument::addResource?
You can access the document through QGraphicsTextItem::document() .
http://wiki.qtcentre.org/index.php?title=Drop_files_and_images_on_QTextEdit
HIH
Johannes
Excellent!Thank you!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.