Right clicking on applet on panel gets different events

2009-12-30 Thread Dong Tiger
Hi, The applet has a QWidget embedded through QGraphicsProxyWidget. When moved to a panel, the first several right clicking will trigger QGraphicsView::contextMenuEvent, which is expected. But after that, QGraphicsProxyWidget::mouseReleaseEvent will be triggered instead. Here is the backtraces

Re: Plasma::Package::registerPackage stops working?

2009-07-26 Thread Dong Tiger
2009/7/25 Aaron J. Seigo ase...@kde.org On Friday 24 July 2009, Dong Tiger wrote: After removing the line of X-KDE-ParentApp=, it appears in the dialog. aha! and looking at the code in libplasma, the reason for that is fairly obvious. i'll be committing (and backporting) a fix

Re: Plasma::Package::registerPackage stops working?

2009-07-24 Thread Dong Tiger
After removing the line of X-KDE-ParentApp=, it appears in the dialog. 2009/7/23 Dong Tiger idlecat...@gmail.com Below is the generated desktop file for one Google gadget. [Desktop Entry] Comment=Got Weather? Displays weather conditions inside a 3D glass sphere. Encoding=UTF-8 Icon

Re: Plasma::Package::registerPackage stops working?

2009-07-23 Thread Dong Tiger
...@kde.org On Wednesday 22 July 2009, Dong Tiger wrote: 2009/7/23 Aaron J. Seigo ase...@kde.org On Wednesday 22 July 2009, Dong Tiger wrote: I found I can't add Google Gadget into plasma any more. Google Gadget in plasma uses Plasma::Package::registerPackage to add gadgets

Plasma::Package::registerPackage stops working?

2009-07-22 Thread Dong Tiger
Hi, I found I can't add Google Gadget into plasma any more. Google Gadget in plasma uses Plasma::Package::registerPackage to add gadgets into plasma. It used to work. I saw there is another method installPackage in Plasma::Package. Should it be used instead of registerPackage? One more thing I

Re: Plasma::Package::registerPackage stops working?

2009-07-22 Thread Dong Tiger
Now I remember installPackage is used to install plasmoid from local file. I can use plasmodviewer to run installed google gadgets but they just don't show up in the Add Widget... dialog. 2009/7/22 Marco Martin notm...@gmail.com On Wednesday 22 July 2009, Dong Tiger wrote: Hi, I found I

Re: How to adjust applet size according to its child QGraphicsWidget?

2009-02-25 Thread Dong Tiger
. The question is how can I do it? When the embedded QGraphicsWidget need to enlarge, say from 200x200 to 400x400, how can I decide what the applet size should be? 2008/12/30 Dong Tiger idlecat...@gmail.com Hi, A QGraphicsWidget is embeded into Plasma::Applet through QGraphicsLinearLayout. When

How to adjust applet size according to its child QGraphicsWidget?

2008-12-30 Thread Dong Tiger
Hi, A QGraphicsWidget is embeded into Plasma::Applet through QGraphicsLinearLayout. When this QGraphicsWidget's size changes, how to get the applet's size adjusted accordingly? The code snippet looks like: child = new MyGraphicsWidget(applet); layout = new QGraphicsLinearLayout(applet);

Congratulations and some ideas

2008-11-28 Thread Dong Tiger
Hi all, I see KDE4.2 beta1 is warmly welcomed by community. I have used KDE4.2 all the time for a few months. I have to say it's getting greater and greater. Congratulations to all people here:) I have a few ideas that I would like to have (Maybe in KDE4.3). First is that applications can be

Re: custom widget browsers, Add Applet dialog

2008-10-14 Thread Dong Tiger
Cool! Thanks Aaron. -- Tiger 2008/10/14 Aaron J. Seigo [EMAIL PROTECTED] hi all.. i've made it possible to add a custom widget browser to the Add Applet dialog via a PackageStructure plugin. this should allow things to happen like the Google Gadgets to launch the browser dialog for the GG

Re: A screen shot and a question

2008-09-16 Thread Dong Tiger
2008/9/16 Aaron J. Seigo [EMAIL PROTECTED] On Tuesday 16 September 2008, Marco Martin wrote: On Tuesday 16 September 2008, Dong Tiger wrote: Hi all, I tried to make Google Gadgets(GG in short) to work on plasma panel. Here is a screen shot of a vertical panel with 3 GGs