Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved[ Pyside crashing when connecting the currentChanged signal of the model
Forum Update on Tuesday, May 27th 2025

[solved[ Pyside crashing when connecting the currentChanged signal of the model

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    koen
    wrote on 4 Jul 2013, 04:22 last edited by
    #1

    Not sure how to delete a post, so I'll edit it. I ran into this I guess. https://bugreports.qt-project.org/browse/PYSIDE-79

    Hello all,

    I did not see a python specific forum, I apologize if this is not the right place for this question.

    I cant get the combination of a QSortFilterProxyModel and selectionModel to work, it crashes my script.

    If I take the example: http://qt.gitorious.org/pyside/pyside-examples/blobs/master/examples/itemviews/basicsortfiltermodel.py

    and add:

    @self.proxyView.selectionModel().currentChanged.connect(self.handleSelectionChanged)@

    to the init()

    and use:

    @def handleSelectionChanged(self, current, previous):
    print 'hello'@

    as the callback, the script keeps crashing on me. Is this expected behavior?

    Any information would be appreciated.

    Koen-

    1 Reply Last reply
    0

    1/1

    4 Jul 2013, 04:22

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved