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

List:       kdevelop
Subject:    =?euc-kr?B?UmU6IFJlOiBNZW51IEhlbGwgIQ==?=
From:       dalsoogie () sogang ! ac ! kr
Date:       2001-04-14 8:29:59
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

Sorry, I didn't know XML file don't be seen on html ;-)

I attached it with this letter

originally, we don't need KAction and KStdAction implementation, KDE does it,
but if we need additional menu and tool bars, we declare them and just connect it, \
but as I know, we should edit gui file generated by KDevelop by any text editor. its \
name will be "**ui.rc" in the project directory..it defines some menu and toolbar, \
but might not standard menu (StdAction), standard action will be implemented inside \
of KDE, simply KDE does it, in stead of us

thanks, happy linuxing!!


from Korea,, so far from you..
> 
> 
> -----¿øº»¸Þ½ÃÁö-----
> º¸³½»ç¶÷: "EricSorensen" 
> ¹Þ´ »ç¶÷: kdevelop@kdevelop.org
> ³¯ ¥: 2001/04/13(±Ý)11:37
> Á¦¸ñ: Re: Menu Hell !
> 
> 
> > 
> 
> > for example, if you want to add "view" menu with "zoomIn, zoomOut" actions
> > on menubar
> 
> > add belows in *App class 
> 
> > ----------------------------
> 
> > void slotZoomIn();
> 
> > void slotZoomOut();
> 
> > 
> 
> > KAction *zoomIn;
> 
> > KAction *zoomOut;
> 
> > KActionMenu *viewMenu;
> 
> 
> DONE !
> 
> > -----------------------------
> 
> > 
> 
> > and initiate them before createGUI() in initView() in the .cpp
> 
> 
> createGUI is at the bottom of *App::initActions(), but I inserted the 
> code above it.
> 
> > -------------------------------- 
> 
> > zoomIn = new KAction( i18n( "Zoom in 10%" ), "viewmag+", 0, this, \
> > SLOT(slotZoomIn() ), actionCollection(), 0 );
> 
> > zoomOut = new KAction( i18n(> "Zoom out 10%" ), "viewmag-", 0, this, \
> > SLOT(slotZoomOut() ), actionCollection(), 0 ); 
> > viewMenu = new KActionMenu(i18n("&View"), actionCollection(),
> > "view_menu");
> viewMenu->insert(zoomIn);
> > viewMenu->insert(zoomOut);
> 
> 
> This is also done.  and it compiles quite nicely and does
> absolutely nothing (that I can see)
> 
> 
> What do you say that I should do with my XML file.  I use QDesigner (Qt 2.3.0)
> and KDevelop 1.4
> > ---------------------------------------
> 
> > and edit "*ui.rc" XML gui file
> 
> > 
> 
> > -*ui.rc--------------------------------------
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> > 
> 
> > 
> 
> > 
> 
> > ------------------------------------
> 
> > 
> 
> > then compile it, it may help you
> 
> at least the project compiles again.
> 
> My project was initially created with the new project wizzard (KDE 2 Normal - \
> Project). The problem may be that I don't see where the 'Top' menubar is defined.  \
> I suspect that I  never get around to adding menu entries to THAT menubar.  The \
> default KDE 2 project inserts a dozen or so 'KStdAction' in *App::initActions() but \
> never defines the MenuBar itself.  Obviously I don't know where to look or what to \
> do.  I get the feeling that I  missed someting here :-)
> 
> Any further advice for me?  Thank you for you efforts.
> 
> Eric Sorensen - an American lost some where in Germany
> 
> 
> > 
> 
> > 
> 
> > from Korea 
> 
> > 
> > 
> > 
> 
> > 
> 
> > -------------
> 
> > 
> 
> > Not so special, just a little different.
> 
> > 
> 
> > from Dalsoogie.
> 
> 
> 
> 
> -
> to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with \
> the following body: unsubscribe 퍈our-email-address?> 
> 




-------------

Not so special, just a little different.

from Dalsoogie.


[Attachment #5 (text/html)]

<HTML>
<HEAD></HEAD>
<BODY BGCOLOR="white">
<FONT SIZE=2>
Sorry, I didn't know XML file don't be seen on html ;-)<BR>
<BR>
I attached it with this letter<BR>
<BR>
originally, we don't need KAction and KStdAction implementation, KDE does it,<BR>
but if we need additional menu and tool bars, we declare them and just connect it, \
but as I know, we should edit gui file generated by KDevelop by any text editor. its \
name will be "**ui.rc" in the project directory..it defines some menu and toolbar, \
but might not standard menu (StdAction), standard action will be implemented inside \
of KDE, simply KDE does it, in stead of us<BR> <BR>
thanks, happy linuxing!!<BR>
<BR>
<BR>
from Korea,, so far from you..<BR>
> <BR>
> <BR>
> -----¿øº»¸Þ½ÃÁö-----<BR>
> º¸³½»ç¶÷: "EricSorensen" <esorensen@arcormail.de><BR>
> ¹Þ´ »ç¶÷: kdevelop@kdevelop.org<BR>
> ³¯ ¥: 2001/04/13(±Ý)11:37<BR>
> Á¦¸ñ: Re: Menu Hell !<BR>
> <BR>
> <BR>
> > <BR>
> <BR>
> > for example, if you want to add "view" menu with "zoomIn, zoomOut" actions<BR>
> > on menubar<BR>
> <BR>
> > add belows in *App class <BR>
> <BR>
> > ----------------------------<BR>
> <BR>
> > void slotZoomIn();<BR>
> <BR>
> > void slotZoomOut();<BR>
> <BR>
> > <BR>
> <BR>
> > KAction *zoomIn;<BR>
> <BR>
> > KAction *zoomOut;<BR>
> <BR>
> > KActionMenu *viewMenu;<BR>
> <BR>
> <BR>
> DONE !<BR>
> <BR>
> > -----------------------------<BR>
> <BR>
> > <BR>
> <BR>
> > and initiate them before createGUI() in initView() in the .cpp<BR>
> <BR>
> <BR>
> createGUI is at the bottom of *App::initActions(), but I inserted the <BR>
> code above it.<BR>
> <BR>
> > -------------------------------- <BR>
> <BR>
> > zoomIn = new KAction( i18n( "Zoom in 10%" ), "viewmag+", 0, this, \
> > SLOT(slotZoomIn() ), actionCollection(), 0 );<BR>
> <BR>
> > zoomOut = new KAction( i18n(> "Zoom out 10%" ), "viewmag-", 0, this, \
> > SLOT(slotZoomOut() ), actionCollection(), 0 );<BR> <BR>
> > viewMenu = new KActionMenu(i18n("&View"), actionCollection(),<BR>
> > "view_menu");<BR>
> viewMenu->insert(zoomIn);<BR>
> > viewMenu->insert(zoomOut);<BR>
> <BR>
> <BR>
> This is also done.  and it compiles quite nicely and does<BR>
> absolutely nothing (that I can see)<BR>
> <BR>
> <BR>
> What do you say that I should do with my XML file.  I use QDesigner (Qt 2.3.0)<BR>
> and KDevelop 1.4<BR>
> > ---------------------------------------<BR>
> <BR>
> > and edit "*ui.rc" XML gui file<BR>
> <BR>
> > <BR>
> <BR>
> > -*ui.rc--------------------------------------<BR>
> <BR>
> > <BR>
> <BR>
> > <BR>
> <BR>
> > <BR>
> <BR>
> > <----------- add it<BR>
> <BR>
> > <BR>
> <BR>
> > <BR>
> <BR>
> > <BR>
> <BR>
> > ------------------------------------<BR>
> <BR>
> > <BR>
> <BR>
> > then compile it, it may help you<BR>
> <BR>
> at least the project compiles again.<BR>
> <BR>
> My project was initially created with the new project wizzard (KDE 2 Normal - \
> Project).<BR> The problem may be that I don't see where the 'Top' menubar is \
> defined.  I suspect that I <BR> never get around to adding menu entries to THAT \
> menubar.  The default KDE 2<BR> project inserts a dozen or so 'KStdAction' in \
> *App::initActions() but never defines the<BR> MenuBar itself.  Obviously I don't \
> know where to look or what to do.  I get the feeling that I <BR> missed someting \
> here :-)<BR> <BR>
> Any further advice for me?  Thank you for you efforts.<BR>
> <BR>
> Eric Sorensen - an American lost some where in Germany<BR>
> <BR>
> <BR>
> > <BR>
> <BR>
> > <BR>
> <BR>
> > from Korea <BR>
> <BR>
> > <BR>
> > <BR>
> > <BR>
> <BR>
> > <BR>
> <BR>
> > -------------<BR>
> <BR>
> > <BR>
> <BR>
> > Not so special, just a little different.<BR>
> <BR>
> > <BR>
> <BR>
> > from Dalsoogie.<BR>
> <BR>
> <BR>
> <BR>
> <BR>
> -<BR>
> to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with \
> the following body:<BR> unsubscribe &#54088;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.AAA987236015@sogang.ac.kr">
 </FONT>
</BODY></HTML>


["stereostudioui.rc" (application/octet-stream)]
-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe »your-email-address«


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

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