Unable to load images for pushbuttons from relative path

Eitzenberger Thomas eth at gmx.at
Tue Mar 31 10:10:43 CEST 2009


Hi,

someone on #plasma told me i could ask for help via this emailaddr  too....

I need a pushbutton in the parley applet to trigger playing the sound file

The button shall show up green if the url is valid and orange if not, grey if 
checking/ongoing

Up to now I was only able to get the pushbutton showing up with the images 
using absolute URLS

I tried with "widgets/play_green.png" "widgets/play_green" and also tried to 
embedd teh images in to the svg file but there I am stranded as the PushButton 
doesnt want a QPixmap but a path QString.....

Any help would be appreciated...

For discussions you can find my also on skype (user EItzenberger Thomas) and 
on MSN (user eth at gmx.at)

Thanx for any feedback
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090331/e1983ec4/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parley_plasma_cardet.svg
Type: image/svg+xml
Size: 35313 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090331/e1983ec4/attachment-0001.svg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parley_plasma.cpp
Type: text/x-c++src
Size: 13690 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090331/e1983ec4/attachment-0001.cpp 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parley_plasma.h
Type: text/x-chdr
Size: 3042 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090331/e1983ec4/attachment-0001.h 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: play_grey.png
Type: image/png
Size: 2222 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090331/e1983ec4/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeLists.txt
Type: text/x-cmake
Size: 763 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090331/e1983ec4/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: play_green.png
Type: image/png
Size: 8505 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090331/e1983ec4/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: play_red.png
Type: image/png
Size: 9312 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090331/e1983ec4/attachment-0005.png 


More information about the Plasma-devel mailing list