RE: [PyQt] Collapse/expand frame

2009-08-20 Thread Peter Shinners
Peter Jansen Cc: pyqt@riverbankcomputing.com Subject: Re: [PyQt] Collapse/expand frame I've done some testing. The majour problem here seems to be QVBoxLayout is sending resizeEvent (or doing something else that sends such event) to all the children widgets that has their own Layouts. And t

Re: [PyQt] Collapse/expand frame

2009-08-19 Thread Alexei Puzikov
I've done some testing. The majour problem here seems to be QVBoxLayout is sending resizeEvent (or doing something else that sends such event) to all the children widgets that has their own Layouts. And this causes flickering. Anybody can figure out why? A. On Fri, Aug 14, 2009 at 11:50 PM, Han

Re: [PyQt] Collapse/expand frame

2009-08-14 Thread Hans-Peter Jansen
Am Freitag, 14. August 2009 schrieb Alexei Puzikov: > >> Actually, you do, as soon as you'll pass over some amount of controls. > >> > >> I have the editor here that reimplements the screenshot (it's Maya, > >> btw) and in worst situations contains approx. 4500 controls. And I'm > >> still unable t

Re: [PyQt] Collapse/expand frame

2009-08-14 Thread Alexei Puzikov
>> Actually, you do, as soon as you'll pass over some amount of controls. >> >> I have the editor here that reimplements the screenshot (it's Maya, btw) >> and in worst situations contains approx. 4500 controls. And I'm still >> unable to remove >> flickering on switch - basically, the layout refre

Re: [PyQt] Collapse/expand frame

2009-08-14 Thread Hans-Peter Jansen
Am Freitag, 14. August 2009 schrieb Scott Ballard: > Thanks for all the feedback. Are there any good tutorials for > implementing your own custom widgets/layouts? (if no one has an > implementation of this) Here is one: http://doc.trolltech.com/qq/qq26-pyqtdesigner.html and another: http://diotav

Re: [PyQt] Collapse/expand frame

2009-08-13 Thread Scott Ballard
Thanks for all the feedback. Are there any good tutorials for implementing your own custom widgets/layouts? (if no one has an implementation of this) Cheers, -Scott Alexei Puzikov wrote: I'm really looking for a frame that has the collapse/expand ability built into it. See the

Re: [PyQt] Collapse/expand frame

2009-08-13 Thread Alexei Puzikov
>> I'm really looking for a frame that has the collapse/expand ability >> built into it. See the image in the link. You can see the Texture Map >> submenu  collapsed/expanded. Any thoughts? >> >> www.scottballard.net/collapsibleFrame.jpg > > I see - why don't you BYO. This kind of widget is uncommo

Re: [PyQt] Collapse/expand frame

2009-08-13 Thread Alexei Puzikov
Well - have you tried to do that with 1500 controls? A. On Fri, Aug 14, 2009 at 9:24 AM, Håvard Gulldahl wrote: > On Thu, Aug 13, 2009 at 7:51 PM, Scott Ballard wrote: >> I'm really looking for a frame that has the collapse/expand ability built >> into it. See the image in the link. You can see t

Re: [PyQt] Collapse/expand frame

2009-08-13 Thread Håvard Gulldahl
On Thu, Aug 13, 2009 at 7:51 PM, Scott Ballard wrote: > I'm really looking for a frame that has the collapse/expand ability built > into it. See the image in the link. You can see the Texture Map submenu >  collapsed/expanded. Any thoughts? > > www.scottballard.net/collapsibleFrame.jpg > I've done

Re: [PyQt] Collapse/expand frame

2009-08-13 Thread Hans-Peter Jansen
Am Donnerstag, 13. August 2009 schrieb Scott Ballard: > I'm really looking for a frame that has the collapse/expand ability > built into it. See the image in the link. You can see the Texture Map > submenu collapsed/expanded. Any thoughts? > > www.scottballard.net/collapsibleFrame.jpg I see - why

Re: [PyQt] Collapse/expand frame

2009-08-13 Thread Scott Ballard
I'm really looking for a frame that has the collapse/expand ability built into it. See the image in the link. You can see the Texture Map submenu collapsed/expanded. Any thoughts? www.scottballard.net/collapsibleFrame.jpg Many thanks! -Scott Hans-Peter Jansen wrote: Am Mittwoch, 12. August

Re: [PyQt] Collapse/expand frame

2009-08-12 Thread Hans-Peter Jansen
Am Mittwoch, 12. August 2009 schrieb Scott Ballard: > Does anyone know of a way to collapse/expand a frame or a group box that > contains widgets in it? I don't see anything in the docs or Google about > it, but it would seem like something common. Try .hide()/.show() resp. .setVisible(bool) Pete