[Ctk-developers] ctkMatrixWidget: setValue not invokable from Python

Julien Finet julien.finet at kitware.com
Tue Aug 16 13:48:34 EDT 2011


Either that or we make a Q_PROPERTY named "values":
Q_PROPERTY( QVector<double> values READ values WRITE setValues)

There is already: ctkMatrixWidget::setVector(QVector<double>), maybe it
could be renamed into setValues and values() should then also be written.

Julien.

On Tue, Aug 16, 2011 at 12:37 PM, Daniel Haehn <haehn at bwh.harvard.edu>wrote:

> Hi guys,
>
> it seems that it is not possible to set a value of a ctkMatrixWidget
> from Python?
>
> Shall we just enable Q_INVOKABLE on the ctkMatrixWidget::setValue method?
>
> Thanks,
> Daniel
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110816/850d41da/attachment.html>


More information about the Ctk-developers mailing list