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

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 6.2.0 Alpha
    • Widgets: Itemviews
    • None
    • 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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            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