Re: Debug plasma applications

2013-07-08 Thread Marco Martin
On Monday 08 July 2013, Leonardo Giordani wrote: > Seems that plasmoidviewer is gone in favour of plasma-windowed, but I need > to check the behaviour of my plasmoid in a panel and plasma-windowed cannot > do this. > I can easily load the plasmoid in my panel, but I do not know how to get > debug i

Re: Debug plasma applications

2013-07-08 Thread Leonardo Giordani
Found it. Thanks. By the way: plasmate is a great idea =) Is it possible to load a compiled .so in plasmoidviewer without installing the applet and running kbuildsycoca4? Leonardo Giordani Author of The Digital Cat My profile on About.me

Re: Debug plasma applications

2013-07-08 Thread Sebastian Kügler
On Monday, July 08, 2013 14:12:18 Leonardo Giordani wrote: > Found it. Thanks. By the way: plasmate is a great idea =) > > Is it possible to load a compiled .so in plasmoidviewer without installing > the applet and running kbuildsycoca4? Nope, that's not possible due to how the plugin loader work

Bounding rect question

2013-07-08 Thread Leonardo Giordani
In Clock::prepareFont() (kde-workspace/plasma/generic/applets/digital-clock/clock.cpp) I find the following code tmpRect = fm.boundingRect(rect, flags, text); which extracts the bounding rect of the given text written using the given font. I do not understand why the function requires a QRect as

Re: Bounding rect question

2013-07-08 Thread Christoph Feck
On Monday 08 July 2013 18:53:02 Leonardo Giordani wrote: > tmpRect = fm.boundingRect(rect, flags, text); > > which extracts the bounding rect of the given text written using > the given font. I do not understand why the function requires a > QRect as input. The result is a QRect, not a QSize, so