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

Make QObjects hashable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 1.1.0
    • PySide
    • None
    • 54cce10fa8a9942450c9e1a9d9a9d2a1b688f243

    Description

      Hi, as suggested in the IRC of #Pyside, I have a problem with a code (which I use actually in PyQt, and works fine): http://pastebin.com/cScM9y33 The error is: self.pages[clientsModuleItem] = ClientsModule(self)TypeError: unhashable type: 'PySide.QtGui.QListWidgetItem'. I need the QListWidgetItem as key to referente the value (which is a widget class) since I use in a method like this: http://pastebin.com/WBuQ7fTR which is triggered by the signal.

      Attachments

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

        Activity

          People

            hugopl Hugo Parente Lima
            gusarg Gustavo A. Díaz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes