Results 1 to 5 of 5

Thread: Identifying which QAction was toogled in a simple way

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Identifying which QAction was toogled in a simple way

    QAction is an implementation of part of the Command Pattern, not a GUI widget. When you addAction() to a tool bar it creates a visible button on your behalf. When you addAction() to a QMenuBar/QMenu widget the widget paints a menu entry for you. QActions added to a QWidget can provide a context menu. The same QAction can be attached to many GUI objects.

  2. The following user says thank you to ChrisW67 for this useful post:

    Momergil (30th January 2014)

Similar Threads

  1. identifying the position of a circle in image
    By qtlearner123 in forum Newbie
    Replies: 2
    Last Post: 26th April 2012, 07:14
  2. Identifying signal emitter
    By alan lenton in forum Qt Programming
    Replies: 4
    Last Post: 7th October 2009, 18:16
  3. Identifying QThreads
    By TheGrimace in forum Newbie
    Replies: 2
    Last Post: 18th March 2008, 17:39
  4. Identifying file when filename is not enough
    By drhex in forum Qt Programming
    Replies: 4
    Last Post: 9th November 2006, 21:44
  5. QAction
    By mickey in forum Qt Programming
    Replies: 7
    Last Post: 17th July 2006, 10:42

Tags for this Thread

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.