QCheckBox Class Reference |
![]() | A checkbox shown in the Macintosh widget style. |
![]() | A checkbox shown in the Windows XP widget style. |
![]() | A checkbox shown in the Plastique widget style. |
See also QAbstractButton, QRadioButton, and GUI Design Handbook: Check Box.
This property holds whether the checkbox is a tri-state checkbox.
The default is false; i.e. the checkbox has only two states.
Access functions:
Constructs a checkbox with the given parent, but with no text.
The parent argument is passed on to the QAbstractButton constructor.
Constructs a checkbox with the given parent and text.
The parent argument is passed on to the QAbstractButton constructor.
Returns the check box's check state.
See also setCheckState() and Qt::CheckState.
Initialize option with the values from this QCheckBox. This method is useful for subclasses when they need a QStyleOptionButton, but don't want to fill in all the information themselves.
See also QStyleOption::initFrom().
Sets the check box's check state to state.
See also checkState() and Qt::CheckState.
This signal is emitted whenever the check box's state changes, i.e. whenever the user checks or unchecks it.
state contains the check box's new ToggleState.
| 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.3 | |
| 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