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