On Tuesday 29 May 2007 16:42:39 +0800, Marco wrote:

>   In a Qt program, can I get the window size, colour depth, and
> another infomation?

On X11 systems, you can just call x11Info() on a QWidget to get some
information about the colour depth - see the QX11Info class documentation
for details.

The window size (including the window manager decorations) is found using
QWidget's frameGeometry() method.

David

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to