QStyleOptionQ3ListViewItem Class Reference |
Constant | Value | Description |
---|---|---|
QStyleOptionQ3ListViewItem::None | 0x00 | A standard item. |
QStyleOptionQ3ListViewItem::Expandable | 0x01 | The item has children that can be shown. |
QStyleOptionQ3ListViewItem::MultiLine | 0x02 | The item is more than one line tall. |
QStyleOptionQ3ListViewItem::Visible | 0x04 | The item is visible. |
QStyleOptionQ3ListViewItem::ParentControl | 0x08 | The item's parent is a type of item control (Q3CheckListItem::Controller). |
The Q3ListViewItemFeatures type is a typedef for QFlags<Q3ListViewItemFeature>. It stores an OR combination of Q3ListViewItemFeature values.
See also features, Q3ListViewItem::isVisible(), Q3ListViewItem::multiLinesEnabled(), and Q3ListViewItem::isExpandable().
This enum is used to hold information about the type of the style option, and is defined for each QStyleOption subclass.
Constant | Value | Description |
---|---|---|
QStyleOptionQ3ListViewItem::Type | SO_Q3ListViewItem | The type of style option provided (SO_Q3ListViewItem for this class). |
The type is used internally by QStyleOption, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own QStyleOption subclass and your own styles.
See also StyleOptionVersion.
This enum is used to hold information about the version of the style option, and is defined for each QStyleOption subclass.
Constant | Value | Description |
---|---|---|
QStyleOptionQ3ListViewItem::Version | 1 | 1 |
The version is used by QStyleOption subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.
See also StyleOptionType.
Constructs a QStyleOptionQ3ListViewItem, initializing the members variables to their default values.
Constructs a copy of the other style option.
This variable holds the number of children the item has.
This variable holds the features for this item.
This variable is a bitwise OR of the features of the item. The deafult value is None.
See also Q3ListViewItemFeature.
This variable holds the height of the item.
This doesn't include the height of the item's children. The default height is 0.
See also Q3ListViewItem::height().
This variable holds the Y-coordinate for the item.
The default value is 0.
See also Q3ListViewItem::itemPos().
This variable holds the total height of the item, including its children.
The default total height is 0.
See also Q3ListViewItem::totalHeight().
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