On Tue 29-May-07, Marco wrote: > Hi, > In a Qt program, can I get the window size, colour depth, and > another infomation? > > Thanks!!
app = QApplication(sys.argv) desktop = app.desktop() That'll give you a QDesktopWidget that gives you the screen geometry. Not sure about the others, could look at QApplication's API, and maybe QWidget. -- Mark Summerfield, Qtrac Ltd., www.qtrac.eu _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
