[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] New vs new signals - signatures
From:       Glenn Linderman <v+pyqt () g ! nevcal ! com>
Date:       2012-06-29 18:34:55
Message-ID: 4FEDF54F.8010804 () g ! nevcal ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 6/29/2012 2:00 AM, Phil Thompson wrote:
>>> They should be interchangeable. In the current of PyQt a bound signal
> has
>>> >>a "signal" attribute that is the corresponding C++ signal so you can
>>> >>check
>>> >>what signature is actually being used.
>> >
>> >Not sure exactly what you mean here, I have tried the following
>> >
>> >print self.picker.selected.signal
>> >
>> >and get "'PyQt4.QtCore.pyqtBoundSignal' object has no attribute
> 'signal'"
>
> What version of PyQt? Like I said, this is available in the current
> version.

Actually, Phil, you didn't quite get that said... the word "version" was 
omitted... but we will overlook that because you are so timely and 
responsive with all your help on this list... but it may have caused a 
bit of confusion for John in this case.


[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#330033">
    <div class="moz-cite-prefix">On 6/29/2012 2:00 AM, Phil Thompson
      wrote:<br>
    </div>
    <blockquote cite="mid:4af8ce495cabc2eb2f1e19d80daf873e@localhost"
      type="cite">
      <blockquote type="cite" style="color: #000000;">
        <blockquote type="cite" style="color: #000000;">
          <pre wrap="">They should be interchangeable. In the current of PyQt a bound \
signal </pre>
        </blockquote>
      </blockquote>
      <pre wrap="">has
</pre>
      <blockquote type="cite" style="color: #000000;">
        <blockquote type="cite" style="color: #000000;">
          <pre wrap=""><span class="moz-txt-citetags">&gt;&gt; </span>a "signal" \
attribute that is the corresponding C++ signal so you can <span \
class="moz-txt-citetags">&gt;&gt; </span>check <span \
class="moz-txt-citetags">&gt;&gt; </span>what signature is actually being used. \
</pre>  </blockquote>
        <pre wrap=""><span class="moz-txt-citetags">&gt; </span>
<span class="moz-txt-citetags">&gt; </span>Not sure exactly what you mean here, I \
have tried the following <span class="moz-txt-citetags">&gt; </span>
<span class="moz-txt-citetags">&gt; </span>print self.picker.selected.signal
<span class="moz-txt-citetags">&gt; </span>
<span class="moz-txt-citetags">&gt; </span>and get "'PyQt4.QtCore.pyqtBoundSignal' \
object has no attribute </pre>
      </blockquote>
      <pre wrap="">'signal'"

What version of PyQt? Like I said, this is available in the current
version.</pre>
    </blockquote>
    <br>
    Actually, Phil, you didn't quite get that said... the word "version"
    was omitted... but we will overlook that because you are so timely
    and responsive with all your help on this list... but it may have
    caused a bit of confusion for John in this case.<br>
    <br>
  </body>
</html>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic