PySide6.QtWidgets.QStyleOptionMenuItemV2

class QStyleOptionMenuItemV2

The QStyleOptionMenuItemV2 class enhances QStyleOptionMenuItem with new members.

Inheritance diagram of PySide6.QtWidgets.QStyleOptionMenuItemV2

Added in version 6.11.

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

class StyleOptionVersion
PySide6.QtWidgets.QStyleOptionMenuItemV2.mouseDown
PySide6.QtWidgets.QStyleOptionMenuItemV2.unused
__init__()

Constructs a QStyleOptionMenuItemV2 , initializing the members variables to their default values.

__init__(other)
Parameters:

otherQStyleOptionMenuItemV2

Constructs a copy of the other style option.

__init__(version)
Parameters:

version – int

Constructs a copy of the other style option.