Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2324

Docs and stubs for QStyleOptionViewItem miss a lot of Public Variables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.5.0
    • None

      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 = ...
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            stsav012 Anton Yablokov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes