QStyleOptionViewItemV4 Class Reference
|
Константа | Значение | Описание |
---|---|---|
QStyleOptionViewItemV4::Version | 4 | 4 |
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.
This enum is used to represent the placement of the item on a row. This can be used to draw items differently depending on their placement, for example by putting rounded edges at the beginning and end, and straight edges in between.
Константа | Значение | Описание |
---|---|---|
QStyleOptionViewItemV4::Invalid | 0 | The ViewItemPosition is unknown and should be disregarded. |
QStyleOptionViewItemV4::Beginning | 1 | The item appears at the beginning of the row. |
QStyleOptionViewItemV4::Middle | 2 | The item appears in the middle of the row. |
QStyleOptionViewItemV4::End | 3 | The item appears at the end of the row. |
QStyleOptionViewItemV4::OnlyOne | 4 | The item is the only one on the row, and is therefore both at the beginning and the end. |
Constructs a QStyleOptionViewItemV4 object.
Создаёт копию other.
Constructs a QStyleOptionViewItemV4 copy of the other style option which can be either of the QStyleOptionViewItemV3 or QStyleOptionViewItem types.
See also version.
Assigns the other style option to this style option. The other style option can be either of the QStyleOptionViewItemV3 or QStyleOptionViewItem types.
Copyright © 2008 Nokia | Торговые марки | Qt 4.4.3 |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |