[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: XML UI Framework
From: Michael Goffioul <goffioul () imec ! be>
Date: 2001-05-30 14:44:23
[Download RAW message or body]
"Mark W. Webb" wrote:
>
> I have created about 10 menu items( KAction ) objects, and have added them to
> the menu bar of my application. I was just wondering if there was a way to
> programatically add the KAction objects that I have created directly to the
> menu bar without using the XML UI Framework.
KAction::plug(QWidget*)
where the widget would be a QPopupMenu object. See KAction documentation.
But using a ui file is easier, you can add your own actions in it, and you
don't need to recompile it if you want to change something.
Michael.
--
------------------------------------------------------------------
Michael Goffioul IMEC-DESICS-MIRA
e-mail: goffioul@imec.be (Mixed-Signal and RF Applications)
Tel: +32/16/28-8510 Kapeldreef, 75
Fax: +32/16/28-1515 3001 HEVERLEE, BELGIUM
------------------------------------------------------------------
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic