[PyKDE] Eric project browser glitch with really long method signature

Mike C. Fletcher mcfletch at rogers.com
Fri Sep 17 03:44:37 BST 2004


class Test( object ):
    def createSaleResponse(
        self, protocol, sale,
        communicationControl = 0, # approval
        terminalDisplay="Approved",
        approvalCode="",
        authorizationCode="AUTHORISED",
        timestamp=None,
        **named
    ):
        """Just a sample with a really long signature"""

Steps to reproduce: store given code in a module, add it to a project 
and browse the signature in the Project Browser window you'll see the 
signature wrap onto two lines (with the bottom half of the top line and 
the top half of the bottom showing up).  That's fine as a strategy for 
preventing insane column widths, but the column is still sized to the 
full width of the text (i.e. the VCS status column is pushed *way* over 
to the right with a lot of blank white space in front of it), which 
leads me to think the wrapped label wasn't intended.

Enjoy,
Mike

________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com




More information about the PyQt mailing list