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
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel