[Qt-interest] How to layout off-line.
Malyushytsky, Alex
alex at wai.com
Tue Sep 8 20:54:19 CEST 2009
Does Non-Gui mode means it runs on the system which does not support graphics?
According to my understanding you can't use QLayout without QWidgets.
At the same time if your system supports GUI, it does not have to be visible.
So running from command line might not prevent you to create an instance of the widgets (even hidden).
If this not an option you might need to create your own layout class which will work with bounding boxes.
Regards,
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of william.crocker at analog.com
Sent: Tuesday, September 08, 2009 7:23 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] How to layout off-line.
Gang:
My application displays a complex scene of custom
widgets. These scenes are conveniently arranged
using the Qt Layout system and classes.
I need to support printing of these presentations
when the application runs in non-GUI mode,
perhaps from the command line.
So, the question is, how do I layout the scene
for off-line printing if the Qt layout system assumes
inheritance from QWidget which requires an X11
(GUI) connection?
Thanks in advance.
Bill
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."
"Please consider our environment before printing this email."
More information about the Qt-interest-old
mailing list