<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Arial'; font-size:7pt; font-weight:400; font-style:normal;">On Wednesday 28 January 2009 23:57:45 Richard Dale wrote:<br>
> 2009/1/28 David Baron <d_baron@012.net.il><br>
><br>
> > Now, whether or not one setHasConfiguationInterface( true), there is<br>
> > always a configuration context menu entry. This will, if nothing else is<br>
> > created for it, have the keyboard shortcut option. Whether or not it is<br>
> > needed or relevant to the applet.<br>
> ><br>
> ><br>
> > In my case, I had my own configuration dialog, accessable from the GUI<br>
> > and as a context menu action. So now, two appear.<br>
> ><br>
> ><br>
> > Shoehorning my dialog into the KConfigDialog may not work. It hs its own<br>
> > buttons and interface, does not appear, and then it gets destroyed there<br>
> > causing a crash. Is it possible and how to incorporate the keyboard<br>
> > shortcut into mine and not have a separate entry for this? Or can the<br>
> > selection of the configuration interface be set to simply run my dialog<br>
> > and I would not include it as an addAction and such. I am using the<br>
> > keyboard shortcut now.<br>
><br>
> Yes, that's right - see the recent thread<br>
> 'Applet::flushPendingConstraintsEvents()<br>
> calls setHasConfigurationInterface(true)\ for the cause of the problem.<br>
><br>
> -- Richard<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Bug, not a feature?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>So how might I get the key-shortcut config into my config dialog (which maybe I should tab by now with new goodies :-) ) ??</p></body></html>