Menu Hell !

Christian Couder Christian.Couder at fr.alcove.com
Sat Apr 14 04:58:37 UTC 2001


Hi,

Did you try something like this:

  file_menu = new QPopupMenu;
  file_menu->insertItem(SmallIconSet("filenew"),i18n("&New..."),
  	this,SLOT(slotFileNew()),0,ID_FILE_NEW);
  file_menu->insertItem(SmallIconSet("fileopen"),i18n("&Open..."),
	this, SLOT(slotFileOpen()),0 ,ID_FILE_OPEN);

  menuBar()->insertItem(i18n("&File"), file_menu);                              

Bye,
Christian.

On Thu, Apr 12, 2001 at 08:41:50PM -0100, Eric Sorensen wrote:
> I've looked and looked and looked and just can't seem to find the information 
> I'm looking for.  Can someone put me on track.  How do I add a menu entry?  
> Following the online documentation just leads to a dead end.  Hacking through 
> the KDevelop source code didn't help me much either.  All advice welcome.  


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list