[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> \
> 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>
_______________________________________________
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