[PyQt] How to start an app in max size?

2012-01-16 Thread Fabien Lafont
How can I run an app in fullscreen i.e in max size? I've tried showFullScreen() but it hides the windows bar. thx, Fab ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] How to start an app in max size?

2012-01-16 Thread Nick Gaens
You're looking for QWidget::showMaximized(). Link to docs: http://developer.qt.nokia.com/doc/qt-4.8/qwidget.html#showMaximized. On Mon, Jan 16, 2012 at 11:43, Fabien Lafont lafont.fab...@gmail.comwrote: How can I run an app in fullscreen i.e in max size? I've tried showFullScreen() but it

Re: [PyQt] How to start an app in max size?

2012-01-16 Thread Fabien Lafont
Thanks! 2012/1/16 Nick Gaens m...@nickgaens.com: You're looking for QWidget::showMaximized(). Link to docs: http://developer.qt.nokia.com/doc/qt-4.8/qwidget.html#showMaximized. On Mon, Jan 16, 2012 at 11:43, Fabien Lafont lafont.fab...@gmail.com wrote: How can I run an app in fullscreen

Re: [PyQt] ui gives different look in Designer than when loaded

2012-01-16 Thread Tony Peña
You can set this enviroment of the GUI to any plataform fixing the theme with this like when you see in the Qt-Designer with View-Form adding this lines as example in the def main(): QApplication.setStyle(QStyleFactory.create(Cleanlooks))

[PyQt] QTreeView with floating background image

2012-01-16 Thread Marc Rossi
Hi. Want an image (QPixmap) as background of my QTreeView fixed in the lower right corner of the viewport at all times. Did this for a QTableView by installing an event filter and drawing the pixmap when I receive Paint events on the viewport. This doesn't seem to work for the QTreeView,