Another question

Niko Sams niko.sams at gmail.com
Mon May 10 19:37:30 UTC 2010


On Mon, May 10, 2010 at 20:00, Victor Vicente de Carvalho
<victor.v.carvalho at gmail.com> wrote:
> 2010/5/10 Niko Sams <niko.sams at gmail.com>
>>
>> On Mon, May 10, 2010 at 00:24, Victor Vicente de Carvalho
>> <victor.v.carvalho at gmail.com> wrote:
>> > Hi folks,
>> > hi do I enable the debug window when hitting over a variable? I've
>> > managed
>> > to show my variables on "locals" window, but haven't figured how to show
>> > the
>> > window when hovering the mouse over it.
>> you mean the tooltip? Just hover the variable. If it doesn't work
>> check the console output (gdb activated
>> in kdebugdialog)
>
> Sorry Niko, I wasn't specific. I'm trying to do this (show the tooltip) on
> my plugin :)
> I know that variableUnderCursor is getting called and the expression is
> returned correctly, but the tooltip doesn't show up.
ah, I see.

do you call invoke the callback function that get passed to
Variable::attachMaybe(QObject *callback, const char *callbackMethod)?

(this is needed to decide if/when the tooltip should be shown or not)

Niko




More information about the KDevelop-devel mailing list