Results 1 to 1 of 1
Hi all,
I'm running a fresh install of Fedora 15 (fully updated), KDE 4.6.5, Qt 4.7.4 and writing a simple Amarok interface for my SK theme. I've posted the relevant ...
- 10-12-2011 #1Just Joined!
- Join Date
- Nov 2005
- Location
- USA
- Posts
- 40
superkaramba clickarea only responds to mouse wheel events?
Hi all,
I'm running a fresh install of Fedora 15 (fully updated), KDE 4.6.5, Qt 4.7.4 and writing a simple Amarok interface for my SK theme. I've posted the relevant code below, and everything seems to be working correctly, except that the clickareas will only respond (correctly, though) to mouse wheel events. Left-clicking does nothing. Just wondering if anyone else has run across this issue. Barring a proper fix, is there a way to remap left-button clicks (ONLY when hovering over the superkaramba area defined in the .theme file) to emulate mouse-wheel events? I'd be happy to post any other relevant information. Thanks in advance!
#AMAROK MONITOR
<group> x=0 y=360
text x=15 y=5 value="Amarok:" fontsize=14, color=0,255,0
image x=10 y=20 path="image/amarok.png"
clickarea x=10 y=20 w=64 h=64 onclick="amarok"
#TRACK INFORMATION
text x=80 y=22 value="Title: "
text x=127 y=22 sensor=program program="qdbus org.kde.amarok /Player GetMetadata | grep title: | cut -c8-" interval=1000
text x=80 y=34 value="Artist: "
text x=127 y=34 sensor=program program="qdbus org.kde.amarok /Player GetMetadata | grep albumartist: | cut -c14-" interval=1000
text x=80 y=46 value="Album: "
text x=127 y=46 sensor=program program="qdbus org.kde.amarok /Player GetMetadata | grep album: | cut -c8-" interval=1000
text x=80 y=58 value="Time: "
text x=127 y=58 sensor=program program="echo $(./newtime)" interval=1000
#BUTTON IMAGES
image x=72 y=70 path="image/amar-back.png"
image x=105 y=70 path="image/amar-stop.png"
image x=138 y=70 path="image/amar-play.png"
image x=171 y=70 path="image/amar-pause.png"
image x=204 y=70 path="image/amar-next.png"
#CLICKABLE AREAS
clickarea x=72 y=70 h=32 w=32 preview=false onclick="qdbus org.kde.amarok /Player Prev" name="Previous"
clickarea x=105 y=70 h=32 w=32 preview=false onclick="qdbus org.kde.amarok /Player Stop" name="Stop"
clickarea x=138 y=70 h=32 w=32 preview=false onclick="qdbus org.kde.amarok /Player Play" name="Play"
clickarea x=171 y=70 h=32 w=32 preview=false onclick="qdbus org.kde.amarok /Player Pause" name="Pause"
clickarea x=204 y=70 h=32 w=32 preview=false onclick="qdbus org.kde.amarok /Player Next" name="Next"
</group>


Reply With Quote