Re: Re: Plasma::PopupApplet improvements

2010-10-05 Thread Ivan Cukic
On Tuesday, 5. October 2010. 15.37.31 Chani wrote: On October 5, 2010 15:28:14 Ivan Cukic wrote: Hi all, There are a few things I wanted to ask your for opinions before implementing them: 1. bool isIconified() const Introducing this method that would return whether the applet is

Re: Re: Plasma::PopupApplet improvements

2010-10-05 Thread Ivan Cukic
2. void setPopupText(const QString text) and QString popupText() const This one I'm unsure about whether it is really needed - it would show an icon beside the text when the applet is in the iconified state. i don't think i see an use case for this (also because i don't think would

Re: Re: Plasma::PopupApplet improvements

2010-10-05 Thread Ivan Cukic
Some ppl want to replicate the gnome panel (yes, i know they are wrong, but ... :) ) well, if it doesn't have to be done with an existing menu applet, it is possible, just don't set any icon for the popup applet, then put a custom icon+label in the main layout and voilĂ  Meh, I'll skip

Re: Re: Plasma::PopupApplet improvements

2010-10-05 Thread Ivan Cukic
what's the name of that method? /me is wondering whether it'll be easy for newbies to tell which is which :) I think it will - bool isPopupShowing () const :) 2. void setPopupText(const QString text) and QString popupText() const This one I'm unsure about whether it is really needed -