[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Another 4.2 applet inovation
From:       David Baron <d_baron () 012 ! net ! il>
Date:       2009-01-29 7:45:25
Message-ID: 200901290945.27591.d_baron () 012 ! net ! il
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wednesday 28 January 2009 23:57:45 Richard Dale wrote:
> 2009/1/28 David Baron <d_baron@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 :-) ) ??

[Attachment #5 (text/html)]

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



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic