[Kde-games-devel] Re: KToolBar ?
cantabile.03 at wanadoo.fr
Thu Aug 21 21:37:30 BST 2003
Le jeu 21/08/2003 à 02:34, Neil Stevens a écrit :
> To create menubars and toolbars you should use the XML GUI system. There is
> a tutorial for it at
> Doing it this way means a lot less work for you, because you don't have to
> manage the menubars and toolbars yourself.
> Notice that in addition to the KStandardActions in kdelibs, there are
> game-specific ones in libkdegames' kstdgameaction.h
Well, I looked (and praticed) these examples. It's okay for menus but I
still don't understand how you make a button in the toolbar for a
For example, I created this in my test app (setupActions()):
(void)new KAction(i18n("&Stop"), QIconSet(QPixmap("/pics/stop.png")),0,
this, SLOT(slotstop()),actionCollection(), "stop_anim");
How do I make this appear in a toolbar ? So far, every toolbar I can see
Thanks for your help (and patience).
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
More information about the KDevelop