I was hopeing someone (Rdale maybe? ;) could help me with this one, when I try:

class GloweyLabel < Plasma::Label
        slots   'linkHovered()',
        def initialize(par=nil)
                super nil
                Qt::Object.connect(self.nativeWidget, 
SIGNAL("linkHovered(QString)"), self, SLOT("linkHovered()") )
        end
        def linkHovered()
                puts 'link hovered'
                Plasma::Animator.self.animateElement(self, 
Plasma::Animator::ActivateAnimation)
        end
end

It crashes quickly after a linkHovered event. hmm

Trying to get any kind of animation on the label when a link is hovered in it

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to