Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.5.0
-
None
Description
The docs for QStyleOptionViewItem completely miss the following variables:
- direction
- fontMetrics
- palette
- rect
- state
- styleObject
- type
- version
The stubs for QStyleOptionViewItem (file PySide6/QtWidgets.pyi) miss all the variables:
backgroundBrush: QBrush = ... checkState: CheckState = ... decorationAlignment: AlignmentFlag = ... decorationPosition: Position = ... decorationSize: QSize = ... direction: LayoutDirection = ... displayAlignment: AlignmentFlag = ... features: ViewItemFeature = ... font: QFont = ... fontMetrics: QFontMetrics = ... icon: QIcon = ... index: QModelIndex = ... locale: QLocale = ... palette: QPalette = ... rect: QRect = ... showDecorationSelected: bool = ... state: StateFlag = ... styleObject: object | None = ... text: str = ... textElideMode: TextElideMode = ... type: int = ... version: int = ... viewItemPosition: ViewItemPosition = ... widget: QTableView = ...
Attachments
Issue Links
- relates to
-
PYSIDE-2263 QColorConstants type hints are incomplete
- Closed