<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="markdown-here-wrapper" data-md-url="Thunderbird"
      style="" markdown-here-wrapper-content-modified="true">
      <p style="margin: 0px 0px 1.2em !important;">Hi all,</p>
      <p style="margin: 0px 0px 1.2em !important;">In a QWizard page I
        am trying to register a field with a widget’s custom property to
        supply the desired field value but I can’t get it to work.<br>
        This is the line I am using to register the field and to link it
        to the signal that informs the field to update it’s value:</p>
      <pre style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace;font-size: 1em; line-height: 1.2em;margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;white-space: pre; overflow: auto; border-radius: 3px; border: 1px solid rgb(204, 204, 204); padding: 0.5em 0.7em; display: block !important;">self.registerField('to_list', self.notes_widget.to_list_widget, 'get_all_data', 'notes_widget.to_list_widget.current_data_changed')
</code></pre>
      <p style="margin: 0px 0px 1.2em !important;">When I query the
        field later via self.field(;to_list’) I just get None.</p>
      <p style="margin: 0px 0px 1.2em !important;">As a sanity check I
        hooked up the signal to a test slot like this:</p>
      <pre style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace;font-size: 1em; line-height: 1.2em;margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;white-space: pre; overflow: auto; border-radius: 3px; border: 1px solid rgb(204, 204, 204); padding: 0.5em 0.7em; display: block !important;">self.notes_widget.to_list_widget.current_data_changed.connect(self.test)
 test(self):
    print 'to test:', self.notes_widget.to_list_widget.get_all_data()
</code></pre>
      <p style="margin: 0px 0px 1.2em !important;">The latter works just
        fine.<br>
        Can anybody spot what I’m doing wrong?</p>
      <p style="margin: 0px 0px 1.2em !important;">Cheers,<br>
        frank</p>
      <div
title="MDH:SGkgYWxsLDxicj48YnI+SW4gYSBRV2l6YXJkIHBhZ2UgSSBhbSB0cnlpbmcgdG8gcmVnaXN0ZXIgYSB3aWRnZXQncyBjdXN0b20gcHJvcGVydHkgdG8gc3VwcGx5IHRoZSBkZXNpcmVkIGZpZWxkIHZh
bHVlIGJ1dCBJIGNhbid0IGdldCBpdCB0byB3b3JrLjxicj5UaGlzIGlzIHRoZSBsaW5lIEkgYW0g
dXNpbmcgdG8gcmVnaXN0ZXIgdGhlIGZpZWxkIGFuZCB0byBsaW5rIGl0IHRvIHRoZSBzaWduYWwg
dGhhdCBpbmZvcm1zIHRoZSBmaWVsZCB0byB1cGRhdGUgaXQncyB2YWx1ZTo8YnI+YGBgPGJyPnNl
bGYucmVnaXN0ZXJGaWVsZCgndG9fbGlzdCcsIHNlbGYubm90ZXNfd2lkZ2V0LnRvX2xpc3Rfd2lk
Z2V0LCAnZ2V0X2FsbF9kYXRhJywgJ25vdGVzX3dpZGdldC50b19saXN0X3dpZGdldC5jdXJyZW50
X2RhdGFfY2hhbmdlZCcpPGJyPmBgYDxicj5XaGVuIEkgcXVlcnkgdGhlIGZpZWxkIGxhdGVyIHZp
YSBzZWxmLmZpZWxkKDt0b19saXN0JykgSSBqdXN0IGdldCBOb25lLjxicj48YnI+QXMgYSBzYW5p
dHkgY2hlY2sgSSBob29rZWQgdXAgdGhlIHNpZ25hbCB0byBhIHRlc3Qgc2xvdCBsaWtlIHRoaXM6
PGJyPjxicj5gYGA8YnI+c2VsZi5ub3Rlc193aWRnZXQudG9fbGlzdF93aWRnZXQuY3VycmVudF9k
YXRhX2NoYW5nZWQuY29ubmVjdChzZWxmLnRlc3QpPGJyPiB0ZXN0KHNlbGYpOjxicj7CoMKgwqAg
cHJpbnQgJ3RvIHRlc3Q6Jywgc2VsZi5ub3Rlc193aWRnZXQudG9fbGlzdF93aWRnZXQuZ2V0X2Fs
bF9kYXRhKCk8YnI+YGBgPGJyPjxicj5UaGUgbGF0ZXIgd29ya3MganVzdCBmaW5lLjxicj5DYW4g
YW55Ym9keSBzcG90IHdoYXQgSSdtIGRvaW5nIHdyb25nPzxicj48YnI+Q2hlZXJzLDxicj5mcmFu
        azxicj48YnI+"
style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0;">​</div>
    </div>
    <div class="moz-signature markdown-here-signature">-- <br>
      <p> </p>
      <!-- A { text-decoration:none } -->
      <table style="width: 524px; height: 58px;" border="0">
        <tbody>
          <tr>
            <td style="text-align: right;"><a
                href="http://www.ohufx.com"><img
                  src="http://ohufx.com/images/ohufxLogo_50x50.png"
                  alt="ohufxLogo 50x50"></a> </td>
            <td style="text-align: center;"> <br>
            </td>
            <td style="text-align: left;"><strong><span
                  style="font-size: 8pt;"><a
                    href="http://ohufx.com/compositing.html">vfx
                    compositing</a></span> | <span style="font-size:
                  8pt;"><strong><a
                      href="http://ohufx.com/customising.html">workflow
                      customisation and consulting</a></strong> </span>
              </strong> </td>
          </tr>
          <tr>
            <td style="text-align: right;"> </td>
            <td style="text-align: center;"> </td>
            <td style="text-align: left;"><strong><span
                  style="font-size: 8pt;"><a
                    href="http://ohufx.com/compositing.html"> </a></span></strong>
              <br>
            </td>
          </tr>
          <tr>
            <td style="text-align: right;"><a
                href="http://www.nukepedia.com/nubridge"><img
                  src="http://nukepedia.com/images/nuBridge/logo/nuBridge_logo.png"
                  alt=""> </a> </td>
            <td style="text-align: center;"> <br>
            </td>
            <td style="text-align: center;">
              <p style="text-align: left;"><a style="color: #999;
                  font-size: 10px; font-family: Arial, Helvetica,
                  sans-serif;" href="http://www.nukepedia.com/nubridge">Your
                  gateway to over 1,000 free tools... right inside of
                  Nuke</a>
                <style><!--A{text-decoration:none}--></style> </p>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>