Putting an image on a button and later using this image for a print out with text results...
-
I am having some troubles in getting a image on a test reults sheet for printing? Any hits would be greatly appreciated!
-
Hi and welcome to devnet,
What have you tried ? What is failing ?
-
Qimage
QPixmap //to grab the image
QPainter
QViewport
QFont -
That's just a set of classes, did you read the Qt Print module documentation ?
Posting the code where you are trying to print would be a plus
-
I finally just used a std::ostringstream and put in quotes HTML syntax to handle the items to be printed....
It is working now - thanks