[Qt-interest] Creating menu's with pull down menu and actions

AngelWarrior srikanth.bemineni at gmail.com
Fri May 29 07:12:28 CEST 2009


QAction is used to connect mutiple action into one
ex
1. press file save from the pull down menu
2. press file save icon on the toolbar
3. or use ctrl-s to invoke the file save action

To interconnect all these we use qaction.Advantage is that you can sync all
type of actions in a particular widget to one common slot.So that all of
them go to the same path or do the same action.

qAction is not an alternative for qpulldown

With Regards
AG


On Thu, May 28, 2009 at 10:40 PM, shwetha sankethi <
shwetha.sankethi at gmail.com> wrote:

> Hello all,
>                 I would like to know the difference in creating Menu's with
> Pulldown menu and with Action's. Is there any advantage in creating it with
> actions ?
>
> Regards
> Shwetha
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>


-- 
_/\_
With Regards
SB Angel Warrior
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090529/954af86f/attachment.html 


More information about the Qt-interest-old mailing list