<p>Steve, JC, thanks for the detailed replies!</p>
<p>Is there something which would prevent making the buttonhints for the wizard steps Q_INVOKABLE? </p>
<p>Cheers,<br>
Daniel</p>
<div class="gmail_quote">On Jun 2, 2011 2:26 PM, &quot;Jean-Christophe Fillion-Robin&quot; &lt;<a href="mailto:jchris.fillionr@kitware.com">jchris.fillionr@kitware.com</a>&gt; wrote:<br type="attribution">&gt; On Thu, Jun 2, 2011 at 1:06 PM, Steve Pieper &lt;<a href="mailto:pieper@ibility.net">pieper@ibility.net</a>&gt; wrote:<br>
&gt; <br>&gt;&gt; Hi Daniel -<br>&gt;&gt;<br>&gt;&gt; With the PythonQt wrapping, only properties, signals/slots, and<br>&gt;&gt; methods tagged with Q_INVOKABLE are available in python.<br>&gt;&gt;<br>&gt; <br>&gt; Correct.<br>
&gt; <br>&gt; <br>&gt;&gt; I would argue that we should try to expose the public API of our<br>&gt;&gt; widgets as much as possible to python but right now there is a lot of<br>&gt;&gt; functionality that is only available via C++.<br>
&gt;&gt;<br>&gt; <br>&gt; When the API of class is designed, efforts are put to elaborate it.<br>&gt; Similarly, the same thought process should be done regarding the usability<br>&gt; of the object from within python.<br>
&gt; <br>&gt; To validate the API, a set of test *are* (should be) developed. As of today,<br>&gt; these tests are written in Cpp. We could think of having tests also written<br>&gt; in Python.<br>&gt; <br>&gt;   -<br>&gt; <br>
&gt;&gt;<br>&gt;&gt; -Steve<br>&gt;&gt;<br>&gt;&gt; On Thu, Jun 2, 2011 at 12:57 PM, Daniel Haehn &lt;<a href="mailto:haehn@bwh.harvard.edu">haehn@bwh.harvard.edu</a>&gt;<br>&gt;&gt; wrote:<br>&gt;&gt; &gt; Hi guys,<br>&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am trying to hide the buttonbox on a ctkWorkflowWidgetStep in Python<br>&gt;&gt; &gt; but I can not access the method:<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; a = ctk.ctkWorkflowWidgetStep()<br>&gt;&gt; &gt; ...<br>
&gt;&gt; &gt; a.setButtonBoxHints(..) # does not exist<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Accessing the ButtonBoxHint enum with its values is possible.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Also, I am missing access to a.setBackButtonText(..).<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; Am I doing something wrong or is the doxygen documentation outdated?<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Thanks,<br>&gt;&gt; &gt; Daniel<br>&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Ctk-developers mailing list<br>&gt;&gt; &gt; <a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>&gt;&gt; &gt; <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
&gt;&gt; &gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Ctk-developers mailing list<br>&gt;&gt; <a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>&gt;&gt; <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
&gt;&gt;<br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; +1 919 869 8849<br></div>