Qt 3 Support Members for QMenuBarThe following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code. Public Types
Public Functions
Signals
Protected Functions
Member Type Documentation
|
Constant | Value |
---|---|
QMenuBar::Never | 0 |
QMenuBar::InWindowsStyle | 1 |
Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.
Use shortcut() on the relevant QAction instead.
See also setAccel().
Use activate() on the relevant QAction instead.
Use triggered() instead.
Returns true if the menu bar automatically resizes itself when its parent widget is resized; otherwise returns false.
This feature is provided to help porting to Qt 4. We recommend against using it in new code.
See also setAutoGeometry().
Use setText() on the relevant QAction instead.
This is an overloaded member function, provided for convenience.
Use setText() on the relevant QAction instead.
This is an overloaded member function, provided for convenience.
Use setIcon() and setText() on the relevant QAction instead.
Use connect() on the relevant QAction instead.
Use actions().count() instead.
Use disconnect() on the relevant QAction instead.
Use actions instead.
Use style()->pixelMetric(QStyle::PM_MenuBarPanelWidth, this) instead.
Use hovered() instead.
Use icon() on the relevant QAction instead.
Use actions instead.
Use actions().indexOf(action) on the relevant QAction instead.
Use one of the insertAction() or addAction() overloads instead.
This is an overloaded member function, provided for convenience.
Use one of the insertAction() or addAction() overloads instead.
This is an overloaded member function, provided for convenience.
Use one of the insertAction(), addAction(), insertMenu(), or addMenu() overloads instead.
This is an overloaded member function, provided for convenience.
Use one of the insertAction() or addAction() overloads instead.
This is an overloaded member function, provided for convenience.
Use one of the insertAction(), addAction(), insertMenu(), or addMenu() overloads instead.
This is an overloaded member function, provided for convenience.
Use one of the insertMenu(), or addMenu() overloads instead.
This is an overloaded member function, provided for convenience.
Use one of the insertMenu(), or addMenu() overloads instead.
This is an overloaded member function, provided for convenience.
Use one of the insertAction(), addAction(), insertMenu(), or addMenu() overloads instead.
This is an overloaded member function, provided for convenience.
Use one of the insertMenu(), or addMenu() overloads instead.
Use insertAction() instead, using a separator action. For example, to add a separator after the previously added action use code like this:
QAction *action = new QAction(this); action->setSeparator(true); menubar->addAction(action);
Use activeAction() instead.
Use isChecked() on the relevant QAction instead.
Use isEnabled() on the relevant QAction instead.
Use isVisible() on the relevant QAction instead.
Use actionAt() instead.
Use QAction::data() instead.
See also setItemParameter().
Use actionGeometry() on the relevant QAction instead.
Use QPixmap(icon()) on the relevant QAction instead.
Use removeAction() instead.
Use removeAction() instead.
This function is provided only to make old code compile.
See also setSeparator().
Use setShortcut() on the relevant QAction instead.
See also accel().
Sets whether the menu bar should automatically resize itself when its parent widget is resized.
This feature is provided to help porting to Qt 4. We recommend against using it in new code.
See also autoGeometry().
Use setChecked() on the relevant QAction instead.
See also isItemChecked().
Use setEnabled() on the relevant QAction instead.
See also isItemEnabled().
Use QAction::setData() instead.
See also itemParameter().
Use setVisible() on the relevant QAction instead.
See also isItemVisible().
This function is provided only to make old code compile.
See also separator().
Use setWhatsThis() on the relevant QAction instead.
See also whatsThis().
Use text() on the relevant QAction instead.
Use whatsThis() on the relevant QAction instead.
See also setWhatsThis().
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 4.1 | |
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