Results 1 to 3 of 3

Thread: Actions and what to do with them?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Actions and what to do with them?

    Suppose you have a lot of menu items, yet not every user needs all of them and different users need different set of menu items. I bet you would allow your users to customize menus, but how?

    You need a list of objects that describe all possible menu items. Such object would have to hold some text, an icon, tool tip, status tip, "What's this?" text, shortcut and some information about the method that must be called when the menu item is activated and so on.

    Which class you should use in such situation?

    PS. In fact there is no QMenuItem class in Qt 4 (except for Qt 3 Support module). Guess what class is there instead
    Last edited by jacek; 20th January 2006 at 22:10.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.