Skip to content

list view: Add pressed() and clicked() signals#516

Open
peter-ha wants to merge 1 commit intouwerat:masterfrom
edelhirsch:bugfix/515-listview-released
Open

list view: Add pressed() and clicked() signals#516
peter-ha wants to merge 1 commit intouwerat:masterfrom
edelhirsch:bugfix/515-listview-released

Conversation

@peter-ha
Copy link
Collaborator

@peter-ha peter-ha commented May 6, 2025

Resolves: #515

@peter-ha
Copy link
Collaborator Author

peter-ha commented May 6, 2025

  • pressed() only emitted with mousePress, not with key navigation
  • pressed() makes sense in addition to selectedRowChanged(), because it will
    be emitted also in the case of NoSelection, and emitted in case the row
    did not change
  • clicked() is also emitted when NoSelection is the current selection mode
  • clicked() is only emitted if the pressed row is the same as the released one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

list view: Allow for reacting to release events

1 participant