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

Feature request for QListWidget in-place editing.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.8.0
    • None
    • Linux Mint 18.1

      Qt 5.8.0

      PyQt5 5.8.2

       

    Description

      When enabled, a QListWidget object supports the in-place editing of it's list items.  It provides the following methods for interacting with the editor:

      • void QListWidget::openPersistentEditor(QListWidgetItem *item)
      • void QListWidget::closePersistentEditor(QListWidgetItem *item)
      • void QListWidget::editItem(QListWidgetItem *item)

      I would like to request some additional in-place editing features.

      First, a method returning the status of the editor.:

      • bool QListWidget::isPersistentEditorOpen(QListWidgetItem *item)

      Second, some signals that are emitted when the editor state changes:

      • void QListWidget::persistentEditorOpened(QListWidgetItem *item)
      • void QListWidget::persistentEditorCloseded(QListWidgetItem *item)
      • void QListWidget::persistentEditorClosedChanged(QListWidgetItem *item)

      The last signal would only be emitted when the editor is closed and the list item text has changed.

      Thanks,

      Dave

      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
            dave909 David Price
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes