Re: [PyQt] QTreeWidget and fixed column widths on window resize

2008-07-31 Thread Tyler Distad
> Not really. From the docs: > > > > stretchLastSection : bool > This property holds whether the last visible section in the header takes up > all the available space. > The default value is false. > Note: The horizontal headers provided by QTreeView are configured with this > prop

[PyQt] QTreeWidget and fixed column widths on window resize

2008-07-31 Thread Tyler Distad
exactly what I'm attempting.) However, I am completely unable to restrict the growth of the right-hand component. The only suggestion I can find online deals with overloading resizeEvent(), which seems ludicrously complicated for something like this. Is there any sort of a clean solution?

Re: [PyQt] Wrap C++ QWidget Subclass for use in PyQt4

2008-07-29 Thread Tyler Distad
t you provided helped me learn more about SIP. Tyler Distad ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Wrap C++ QWidget Subclass for use in PyQt4

2008-07-29 Thread Tyler Distad
SIP binding is written correctly and have attached it to this email, but there seems to be something else wrong in either my configure.py or in the readiness of the pictureflow code for binding. If anyone can offer help or advice on how to bind the pictureflow widget, I would be immensely grateful

[PyQt] Wrap C++ QWidget Subclass for use in PyQt4

2008-07-27 Thread Tyler Distad
s one of these widgets from within Python? I've looked at SIP, but I just don't understand the documentation. It appears that I would have to essentially translate the entire codebase into SIP-understandable macros. If so, that's more work than I'm able to handle right now.