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

bug report for Qt for Python example - EditableTreeModel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • None
    • 6.3
    • Documentation
    • None
    • Manjaro VSCodium Python3.10

    Description

      the example runs but the default text does not show

      It appears that the Signal objects declared in treemodel.py are not connected to any slot,  and in  setHeaderData(), the statement
      self.headerDataChanged(orientation, section, section)
      is missing `.emit`
       
      Seems to be a problem in both PySide6 and Qt6 versions of example.

      Attachments

        1. image-2022-10-04-13-36-24-357.png
          image-2022-10-04-13-36-24-357.png
          69 kB
        2. image-2022-10-04-13-40-00-004.png
          image-2022-10-04-13-40-00-004.png
          69 kB
        3. image-2022-10-04-13-42-24-340.png
          image-2022-10-04-13-42-24-340.png
          69 kB
        4. main.py
          0.3 kB
        5. mainwindow.py
          6 kB
        6. README.md
          2 kB
        7. treeitem.py
          3 kB
        8. treemodel.py
          8 kB

        Activity

          People

            jaime02 Jaime Resano
            twallace51 twallace51
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: