Re: [PyQt] Problem calling a window

2009-01-14 Thread Sergio Jovani
It would be good you post more code, at least, Pro2MainWindow class. 2009/1/14 Sandro Dutra hexo...@gmail.com: I get a AttibuteError in mainWnd.exec_() If necessary, I can upload the complete code. Thanks in advance. 2009/1/13 Sergio Jovani lese...@gmail.com Hi, This is a little piece

Re: [PyQt] Force the ratio of a widget

2009-01-14 Thread Frédéric
Le 14/1/2009, Doug Bell do...@bellz.org a écrit: Calling resize inside a resizeEvent is not a good idea. You should let the layout do the work. Try overriding QLayoutItem.hasHeightForWidth() and QLayoutItem.heightForWidth(w) in a custom layout. Thanks :o) -- Frédéric

[PyQt] Qt as LGPL !!1!

2009-01-14 Thread Ville M. Vainio
http://dot.kde.org/1231920504/ Best news ever. -- Ville M. Vainio http://tinyurl.com/vainio ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Qt as LGPL !!1!

2009-01-14 Thread Fred Mailhot
2009/1/14 Ville M. Vainio vivai...@gmail.com: http://dot.kde.org/1231920504/ Best news ever. How will this affect PyQt's licensing? Fred. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] TreeWidget findItems function - Only applies to top-level items?

2009-01-14 Thread Marc Nations
I had an error pop up in my application and it was due to the findItems function only looking at the root node in its search. I had assumed that this function would look at all the items in the tree, not just the top-level. Is there any way to make this function look at the sub-level items as

[PyQt] UMDNJ New Jersey Meical School VANJHCS

2009-01-14 Thread Men's Health
Title: Men's Health Fitness Newsletter 1/13/09 WOMEN LOVE THESE MUSCLES We asked, and they answered: Women told us the top 10 muscles they love to see most. Here's how to build three that she's checking out. Get a better butt. She's looking for a posterior she can hold on

[PyQt] Re: PyQT | QT4-X11

2009-01-14 Thread Jelle
I used macport qt4-x11, which builded just perfectly, its really impressive how `native` the demos looks on x11 in fact. Then I had a pretty good thing going trying to compile PyQT. I only had to set line 1511 of configure.py from args = -spec macx-g++ + args to args = -spec

Re: [PyQt] Force the ratio of a widget

2009-01-14 Thread Frédéric
Le 14/1/2009, Doug Bell do...@bellz.org a écrit: Try overriding QLayoutItem.hasHeightForWidth() and QLayoutItem.heightForWidth(w) in a custom layout. It does not seems to work :o( The layout does not remains sqaure... Here is part the code involved: def hasHeightForWidth(self): return

[PyQt] Re: Qt as LGPL !!1!

2009-01-14 Thread Jelle
How will this affect PyQt's licensing? In nearly every possible way, for the better ;') http://arstechnica.com/news.ars/post/20090114-nokia-qt-lgpl-switch-huge-win-for-cross-platform- development.html ___ PyQt mailing listPyQt