Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94876

Keep double clicking on the QTableWidget, the QItemDelegate can't create QWidget any more

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 6.2.0 Alpha
    • Fix Version/s: None
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Platform/s:
      All

      Description

      when I create a QTableWidget ,add create a custom class inherited from QItemDelegate´╝î I override the createEditor,setEditorData and setModelData function. then, I create a other custom class A inherited from QWidget,In class A ,I create a QPushButton,when I click the QPushButton,it will close the A object. in the createEditor function,I create a QPushButton and return it.when I Keep double clicking in the QTableWidget cell,the cell is disabled and can't create A object any more.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            donghl dong hualin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes