Re: [PyQt] PyQt should not ignore functools.partial signature

2011-10-14 Thread Luper Rouch
2011/10/13 Phil Thompson p...@riverbankcomputing.com On Wed, 12 Oct 2011 15:57:17 +0200, Luper Rouch luper.ro...@gmail.com wrote: PyQt seems to ignore the signature of functools.partial objects (the 'args' and 'keywords' attributes [1]), when connecting a callable. Here is an example

Re: [PyQt] PyQt should not ignore functools.partial signature

2011-10-14 Thread Phil Thompson
On Fri, 14 Oct 2011 11:10:03 +0200, Luper Rouch luper.ro...@gmail.com wrote: 2011/10/13 Phil Thompson p...@riverbankcomputing.com On Wed, 12 Oct 2011 15:57:17 +0200, Luper Rouch luper.ro...@gmail.com wrote: PyQt seems to ignore the signature of functools.partial objects (the 'args' and

[PyQt] Determine size of a button

2011-10-14 Thread Joe M
Hello, I am writing an application (a songbook). In one of the parts, I have a custom widget, that displays some information in lines. One line looks like this QLabel (with fixed size) QPushButton QPushButton an instance looks like Genre: Rock Folk Metal (genre = label, Rock = first