Another 4.2 applet inovation

David Baron d_baron at 012.net.il
Thu Jan 29 08:45:25 CET 2009


On Wednesday 28 January 2009 23:57:45 Richard Dale wrote:
> 2009/1/28 David Baron <d_baron at 012.net.il>
>
> > Now, whether or not one setHasConfiguationInterface( true), there is
> > always a configuration context menu entry. This will, if nothing else is
> > created for it, have the keyboard shortcut option. Whether or not it is
> > needed or relevant to the applet.
> >
> >
> > In my case, I had my own configuration dialog, accessable from the GUI
> > and as a context menu action. So now, two appear.
> >
> >
> > Shoehorning my dialog into the KConfigDialog may not work. It hs its own
> > buttons and interface, does not appear, and then it gets destroyed there
> > causing a crash. Is it possible and how to incorporate the keyboard
> > shortcut into mine and not have a separate entry for this? Or can the
> > selection of the configuration interface be set to simply run my dialog
> > and I would not include it as an addAction and such. I am using the
> > keyboard shortcut now.
>
> Yes, that's right - see the recent thread
> 'Applet::flushPendingConstraintsEvents()
> calls setHasConfigurationInterface(true)\ for the cause of the problem.
>
> -- Richard

Bug, not a feature?

So how might I get the key-shortcut config into my config dialog (which maybe 
I should tab by now with new goodies :-) ) ??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090129/5fca60a1/attachment.htm 


More information about the Plasma-devel mailing list