09.06.2012 18:39, Aaron J. Seigo пишет:
On Saturday, June 9, 2012 16:27:38 Dmitry wrote:
I'm working on implementation of system tray in QML.
Is it possible to get absolute path to icon/image/movie in QML? I need
to put into QML code AnimatedImage item, but it requires a full path to
a movie (animation). I have only name of movie instead of its full path.
if the animation is in the package, then you can use a
MobileComponents.Package object
i have no idea what that is still in MobileComponents instead of Core.. marco?
if the animation is NOT in the package ... where is it? (somewhere in
$KDEDIRS? somewhere application specific? etc..)
Hello!
Animations are in /usr/share/icons/<theme>/<size> and if I use C++ I'll
load them using KIconLoader::loadMovie().
Thank you!
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel