Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QString QAction::text [read, write, inherited]

the action's descriptive text

If the action is added to a menu, the menu option will consist of the icon (if there is one), the text, and the shortcut (if there is one). If the text is not explicitly set in the constructor, or by using setText(), the action's description icon text will be used as text. There is no default text.

See also:
iconText

Definition at line 53 of file qaction.h.

Referenced by QMenu::keyPressEvent(), and QMenuBar::keyPressEvent().


Generated by  Doxygen 1.6.0   Back to index