Results 1 to 4 of 4

Thread: Qmenu triggered and triggered (bool) and menus...

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Qmenu triggered and triggered (bool) and menus...

    Whats the diference between them ? (triggered and triggered(bool).

    Why we access to the menu slot is made by clicking right mouse button ?
    What is the purpose of signal & slots editor ?
    Thanks
    PD:
    And Why I spent a lot of time to know how to use menús ....
    I spent almost 1 hour searching ( and find at qtforum.org) for a way to play exit from menú.....
    Nokia, please, work a little bit your tutorials...

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qmenu triggered and triggered (bool) and menus...

    There is a menu example in the Examples folder which come with Qt SDK, this should be the first thing to look when you search for a Qt "tutorial".
    Of course you already need to know basic Qt, and basic C++, then these examples are very good: simple and helpful.

    LE: i didn't really answered your questions,
    The triggered() signal can return the checked value (bool), if the action is checkable.
    Documentation: QMenu, QAction
    Last edited by Zlatomir; 28th September 2010 at 10:30.

  3. #3
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qmenu triggered and triggered (bool) and menus...

    Ok, I have seen all this documentation.
    The menus examples area built by hand, not using Designer....
    And, I sincerely does not understand how it is imposible to find any link at QT to know how to find an app by code !
    By now, the QT free official documentation is mediocre.
    But... this is what you get.....

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Qmenu triggered and triggered (bool) and menus...

    Quote Originally Posted by tonnot View Post
    But... this is what you get.....
    Then... use something else.....

Similar Threads

  1. QUdpSocket readyRead() signal not triggered
    By deionut in forum Newbie
    Replies: 2
    Last Post: 26th October 2010, 18:19
  2. Finding which widget has triggered a slot
    By ouekah in forum Newbie
    Replies: 4
    Last Post: 26th April 2010, 13:40
  3. Replies: 1
    Last Post: 11th April 2010, 14:21
  4. Capture the triggered event of MacWindowToolBarButtonHint
    By alexandersv in forum Qt Programming
    Replies: 0
    Last Post: 11th October 2009, 17:05
  5. Replies: 1
    Last Post: 29th February 2008, 23:04

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.