QSoftMenuBar Class Reference
|
Constant | Value | Description |
---|---|---|
QSoftMenuBar::EditFocus | 1 | apply the label setting when the widget has edit focus. |
QSoftMenuBar::NavigationFocus | 2 | apply the label setting when the widget does not have edit focus. |
QSoftMenuBar::AnyFocus | 3 | apply the label setting regardless of focus state. |
Constant | Value |
---|---|
QSoftMenuBar::IconLabel | 0 |
QSoftMenuBar::TextLabel | 1 |
Constant | Value |
---|---|
QSoftMenuBar::NoLabel | 0 |
QSoftMenuBar::Options | 1 |
QSoftMenuBar::Ok | 2 |
QSoftMenuBar::Edit | 3 |
QSoftMenuBar::Select | 4 |
QSoftMenuBar::View | 5 |
QSoftMenuBar::Cancel | 6 |
QSoftMenuBar::Back | 7 |
QSoftMenuBar::BackSpace | 8 |
QSoftMenuBar::Next | 9 |
QSoftMenuBar::Previous | 10 |
QSoftMenuBar::EndEdit | 11 |
QSoftMenuBar::RevertEdit | 12 |
QSoftMenuBar::Deselect | 13 |
QSoftMenuBar::Finish | 14 |
Adds menu to widget for focus state.
See also removeMenuFrom().
Clears any label set for widget and key in focus state.
See also setLabel().
Creates and returns a standard "Edit" menu used for QLineEdit and QTextEdit.
Returns 0 if the clipboard functionality has been disabled in Qt for Embedded Linux.
Returns true if the widget has a menu assigned to it in focus state.
See also menuFor().
Returns the list of soft keys (i.e. keys with a corresponding label in the soft menu bar).
Returns the QMenu assigned to widget in focus state. If a QMenu does not yet exist for the widget, an empty menu will be created with widget as its parent.
See also addMenuTo().
Returns the key that activates menus managed by the soft menu bar.
Removes the menu from widget for focus state.
See also addMenuTo().
Sets whether Cancel is available for widget when a menu associated with it is shown. The Cancel option is only shown if the widget's top level window is a QDialog. If enable is true a Cancel menu action will be displayed for a dialog.
The default is true.
Sets whether the Help menu option is available for widget when a menu associated with it is shown. The Help option will only be shown if there is a help file available. If enable is true the help menu option may be displayed for the widget.
The default is true.
Sets whether the Input Method menu option is available for widget when a menu associated with it is shown. If enable is true an Input Method menu action may be displayed for the widget.
The default is true.
When widget gains the specified focus state, the label for key is set to text and pixmap.
This is an overloaded member function, provided for convenience.
When widget gains the specified focus state, the label for key is set to the standard label.
Returns all widgets that have added menu to the menu bar for focus state.
See also addMenuTo(), removeMenuFrom(), menuFor(), and hasMenu().
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com