09.08.2012 14:27, Marco Martin пишет:
On Thursday 09 August 2012, Dmitry wrote:
http://doc-snapshot.qt-project.org/5.0/qml-qtquick2-context2d.html
Hello, Mark!
I think, you haven't understood me right. I don't want to port current
C++ system monitor applet because it hasn't been intended to be placed
on a panel. I don't need visualization (plotter) at all. If I put
current system monitor applet on panel it will looks strange and
acquires too much space.
by the way that's what the formfactor mechanism for plasmoids is for.
the same plasmoid should adapt itself for an optimal visualization wether is
in the desktop, an horizontal panel or a vertical one, just check the
plasmoid.formFactor property and adapt the layout by consequence ;)
Hmmm.... If I create pure QML applet then it isn't possible to handle
changing of plasmoid.formFactor & plasmoid.location (:
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel