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

List:       kde-panel-devel
Subject:    Another 4.2 applet inovation
From:       David Baron <d_baron () 012 ! net ! il>
Date:       2009-01-28 21:05:57
Message-ID: 200901282305.59447.d_baron () 012 ! net ! il
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.

[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;">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.<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>In my case, I had my own configuration \
dialog, accessable from the GUI and as a context menu action. So now, two appear.<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>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.</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