how to access data from dataEngine::query in javascript?
Aaron J. Seigo
aseigo at kde.org
Tue Jun 29 20:18:17 CEST 2010
On June 29, 2010, Thomas Fjellstrom wrote:
> It is not absolutely necessary. But I can see wanting to group by type. I'm
which can be accomplished in the visualization by looking at the type. which
is, i suppose, why you asked for something like a getSourcesByProperty method.
i'd prefer not to offer that as it is not generic enough: most visualizations
have no need for it, and others would want/need something more complex. it's
easier, for now at least, to just put such filtering in the visualization
code.
> > to me, it would seem more natural to just list the hosts and the
> > visualization can initially iterate over all sources() and then connect
> > to the sourceAdded and sourceRemoved signals to be notified when hosts
> > come and go.
> >
> > that would resolve your issue fairly neatly?
>
> It is the first design I thought of. I'm not entirely convinced that
> grouping is necessary, but if you have a lot of hosts, you may want to hide
> entire groups of them. With libvirt and Zeroconf/DNDSD sources you could
> easily have many tens, or hundreds of hosts just appear if you walk into an
> office building, a data center, or you're sharing a busy wifi network that
> happens to have wifi-separation turned off. And you may also be interested
> in /some/ of those hosts but not all, so you may not want to turn off the
> dynamic sources.
... which should be possible in the visualization.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100629/f44ac269/attachment.sig
More information about the Plasma-devel
mailing list