QML and paths to images

2012-06-09 Thread Dmitry
Hello! 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. Thank you!

Re: QML and paths to images

2012-06-09 Thread Dmitry
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

Re: QML and paths to images

2012-06-09 Thread Aaron J. Seigo
On Saturday, June 9, 2012 18:56:46 Dmitry wrote: Animations are in /usr/share/icons/theme/size and if I use C++ I'll load them using KIconLoader::loadMovie(). ah .. from icons. hm. question: is the QML implementation you are working on pure QML, or is it a mix of C++ and QML? -- Aaron J.

Re: QML and paths to images

2012-06-09 Thread Dmitry
09.06.2012 19:21, Aaron J. Seigo пишет: On Saturday, June 9, 2012 18:56:46 Dmitry wrote: Animations are in /usr/share/icons/theme/size and if I use C++ I'll load them using KIconLoader::loadMovie(). ah .. from icons. hm. question: is the QML implementation you are working on pure QML, or is

Re: QML and paths to images

2012-06-09 Thread Marco Martin
On Saturday 09 June 2012, Aaron J. Seigo wrote: 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