Yes, it would be very nice if you could open a PDF file, read it into a "QPDFDocument", display it in a "QPDFView", and then print it, but unfortunately there are no such things yet.
Yes, it would be very nice if you could open a PDF file, read it into a "QPDFDocument", display it in a "QPDFView", and then print it, but unfortunately there are no such things yet.
Hi all,
I have written some sample data to a text file. I would like to print the contents of the file to my printer in A4 size. Could anyone please tell me how will the code be in order to do this ?
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Roonyunlimited (11th July 2012)
@Roonyunlimited: First you dig two long-dead threads out of the past, and then you ask the same question twice within 10 minutes. That's not very polite.
If you have a *new* question, ask it in a *new* thread, then wait for an answer, at least a day. If no one answers, it is either becuase no one knows the answer or because they are waiting for you to do some very basic research on your own (like reading the Qt docs).
Roonyunlimited (11th July 2012)
@d_stranz: Thank you for your reply. I will surely keep your tips in mind. I am new to these kind of stuffs like asking my question in the forum to get answers. I just finished QT console programming. So I am new to QT GUI. I have been referring on how to do programs in QT GUI but the code given in the websites I searched was a bit hard and confusing to understand. That is why I decided to ask this questions to someone who has had experience in QT GUI programming. I apologize if I have offended you in any way.
Have you looked at the Qt tutorials, examples, and demos that come with Qt itself? There must be at least 50 demo programs that cover all areas of Qt. Searching random web sites for examples of Qt is not a very good way to learn it.I have been referring on how to do programs in QT GUI but the code given in the websites I searched was a bit hard and confusing to understand.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks