signalplotter widget in javascript
Kevin Krammer
krammer at kde.org
Tue Jul 24 08:39:40 UTC 2012
Hi,
On Friday, 2012-07-20, Kai MX wrote:
> Hello,
>
> how can one use the SignalPlotter widget in JavaScript?
>
> In the KDE Techbase
> (http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API-UIEle
> ments#SignalPlotter) there are only a few properties listed for JavaScript.
> The important methods like setVerticalRange and addSamples are not listed.
> (compared to
> http://api.kde.org/4.x-api/kdelibs-apidocs/plasma/html/classPlasma_1_1Sign
> alPlotter.html) I do not know how to use this widget without these methods.
> Which possibilities do I have?
All functions marked with Q_INVOKABLE should also be callable the JavaScript.
Seems you should be good for addSamples() but you're out of luck for
setVerticalRange().
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120724/bca8ee87/attachment.sig>
More information about the Plasma-devel
mailing list