PDA

View Full Version : Qmenu triggered and triggered (bool) and menus...



tonnot
28th September 2010, 10:03
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...

Zlatomir
28th September 2010, 10:23
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() (http://doc.trolltech.com/4.6/qaction.html#triggered) signal can return the checked value (bool), if the action is checkable.
Documentation: QMenu (http://doc.qt.nokia.com/4.6/qmenu.html), QAction (http://doc.trolltech.com/4.6/qaction.html)

tonnot
28th September 2010, 10:40
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.....

tbscope
28th September 2010, 10:48
But... this is what you get.....
Then... use something else.....