[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: signalplotter widget in javascript
From: Kevin Krammer <krammer () kde ! org>
Date: 2012-07-24 8:39:40
Message-ID: 201207241039.48177.krammer () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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
["signature.asc" (application/pgp-signature)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic