<HTML>
<HEAD></HEAD>
<BODY BGCOLOR="white">
<FONT SIZE=2>
<BR>
for example, if you want to add "view" menu with "zoomIn, zoomOut" actions on menubar<BR>
<BR>
add belows in *App class <BR>
----------------------------<BR>
void slotZoomIn();<BR>
void slotZoomOut();<BR>
<BR>
KAction *zoomIn;<BR>
KAction *zoomOut;<BR>
KActionMenu *viewMenu;<BR>
-----------------------------<BR>
<BR>
and initiate them before createGUI() in initView() in the .cpp<BR>
-------------------------------- <BR>
zoomIn = new KAction( i18n( "Zoom in 10%" ), "viewmag+", 0, this, SLOT(slotZoomIn() ), actionCollection(), 0 );<BR>
zoomOut = new KAction( i18n( "Zoom out 10%" ), "viewmag-", 0, this, SLOT(slotZoomOut() ), actionCollection(), 0 );<BR>
<BR>
viewMenu = new KActionMenu(i18n("&View"), actionCollection(), "view_menu");<BR>
viewMenu->insert(zoomIn);<BR>
viewMenu->insert(zoomOut);<BR>
---------------------------------------<BR>
and edit "*ui.rc" XML gui file<BR>
<BR>
-*ui.rc--------------------------------------<BR>
<!DOCTYPE kpartgui><BR>
<kpartgui name="stereostudio" version="0.1"><BR>
<MenuBar><BR>
<Action name="view_menu"/> <----------- add it<BR>
<Action name="window_menu"/><BR>
</MenuBar><BR>
</kpartgui><BR>
------------------------------------<BR>
<BR>
then compile it, it may help you<BR>
<BR>
<BR>
from Korea <BR>
> <BR>
> -----¿øº»¸Þ½ÃÁö-----<BR>
> º¸³½»ç¶÷: "EricSorensen" <esorensen@arcormail.de><BR>
> ¹Þ´Â»ç¶÷: kdevelop@kdevelop.org<BR>
> ³¯Â¥: 2001/04/13(±Ý)06:41<BR>
> Á¦¸ñ: Menu Hell !<BR>
> <BR>
> I've looked and looked and looked and just can't seem to find the information <BR>
> I'm looking for. Can someone put me on track. How do I add a menu entry? <BR>
> Following the online documentation just leads to a dead end. Hacking through <BR>
> the KDevelop source code didn't help me much either. All advice welcome. <BR>
> <BR>
> By the way why does the Output-View sometimes show up 'detached' at the top <BR>
> of my screen when I start KDevelop new. I suspect it is after I reduce it's <BR>
> size more than it finds acceptable and then close the program. <BR>
> <BR>
> Thanks in advance.<BR>
> <BR>
> -<BR>
> to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:<BR>
> unsubscribe 퍈our-email-address?> <BR>
> <BR>
<BR>
<BR>
<BR>
<BR>
-------------<BR>
<BR>
Not so special, just a little different.<BR>
<BR>
from Dalsoogie.<BR>
<BR>
<BR><BR>
<IMG SRC="http://mail.sogang.ac.kr:80/cgi-auth/mailrcpt.cgi?userid=dalsoogie&maildomainname=sogang.ac.kr&msgid=20010414.AAA987195424@sogang.ac.kr">
</FONT>
</BODY></HTML>