Hello to all dedicated Kommander users,
This is the announcement where I poltely shoot myself. I was
talking with
Andras about signals and slots in the editor and filtering.
He didn't seem to
know the code, so I decided to look at it and reference it.
However when I
did I thought "I can fix this". Next thing I know
I had a working
Now you can access more slots directly in the signal/slot
dialog including
move(int,int), show(), hide() and more. I chose those that
made sense with
the new abilities of Kommander.
While pondering this I thought it stunk that the dialog had
sender info
including Actions, but had no receiver info for Actions.
Luck of the draw,
and the next draw was there was the code underneath it. Not
considering
myself a C++ guru I didn't try this prior to release, but I
moved a line of
code that put the action list on both Listboxes, compliled
and viola! It
works. This got me wondering if I had mucked up my prior
calls to connect().
It appears that connect must validate widgets, which would
use the child list
of Kommander widgets and cause the call to fail with an
error that the widget
doesn't exist. I'm sure Andras put this in to be safe, but
forgot how weird
we really are in Kommander.
So the current functionality in SVN cannot be duplicated
with Connect() or
Action.setVisible(0). It can be duplicated by hard coding it
in at the end of
the XML in the signals and slots section.
If you have the SVN version you can now directly check and
set the status of
Actions with signals and slots. Unfortunately this means in
some cases you
have to send a boolean value. That means using an invisible
checkbox for
instance.
There are a few other things missing yet. Another fix BTW
was enabling the
Timer widget to set the interval when not active. If we make
enough changes
and there is an interest I may do another KDE3x release.
--
Eric Laffoon
Project Lead - kdewebdev module
_______________________________________________
Kommander mailing list
Kommander kdewebdev.org
http://mail.kdewebdev.org/mailman/listinfo/kommander
|