Re: PYQT- How to prevent a dialog being resized in qtdesigner

2008-05-25 Thread Alex Gusarov
There is no simple way to do it. But it seems to be a meaningless - resizing dialog in Designer is equal to changing its geometry. On Mon, May 26, 2008 at 9:30 AM, bbmerong <[EMAIL PROTECTED]> wrote: > I have a question about qtdesigner. > > I'd like to know how to prevent a dialog being resized

PYQT- How to prevent a dialog being resized in qtdesigner

2008-05-25 Thread bbmerong
I have a question about qtdesigner. I'd like to know how to prevent a dialog being resized in qtdesigner. I'll wait for your answer. Then, Thank you in advance. -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt - How to prevent a dialog being resized?

2008-04-01 Thread Kelie
Thanks to all. I used the approach suggested by David. -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt - How to prevent a dialog being resized?

2008-04-01 Thread David Boddie
On Apr 1, 12:12 am, Kelie wrote: > > My question is as subject. I tried something like this and it doesn't > > work. > > > > def resizeEvent(self, event): > > self.size = event.oldSize() > > > > Any hint? > > If you use the Qt designer you can set the minimum- and maximum window > size to th

Re: PyQt - How to prevent a dialog being resized?

2008-04-01 Thread Chris Ortner
On Apr 1, 12:12 am, Kelie <[EMAIL PROTECTED]> wrote: > Hello, > > My question is as subject. I tried something like this and it doesn't > work. > > def resizeEvent(self, event): >     self.size = event.oldSize() > > Any hint? > > Thank you. If you use the Qt designer you can set the minimum- and m

Re: PyQt - How to prevent a dialog being resized?

2008-03-31 Thread hdante
On Mar 31, 7:12 pm, Kelie <[EMAIL PROTECTED]> wrote: > Hello, > > My question is as subject. I tried something like this and it doesn't > work. > > def resizeEvent(self, event): > self.size = event.oldSize() > > Any hint? > > Thank you. You should preset size hints: http://doc.trolltech.com/

PyQt - How to prevent a dialog being resized?

2008-03-31 Thread Kelie
Hello, My question is as subject. I tried something like this and it doesn't work. def resizeEvent(self, event): self.size = event.oldSize() Any hint? Thank you. -- http://mail.python.org/mailman/listinfo/python-list