Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign generated signals a unique name #52

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ramonfelder
Copy link
Contributor

When saving a session setup, the trace view refers to signals using their internal_name().
Without this change, internal_name() would return an empty string for all generated signals.
This leads to name collisions in the session settings file.

When saving a session setup, the trace view refers to signals using their internal_name().
Without this change, internal_name() would return an empty string for all generated signals.
This leads to name collisions in the session settings file.
@ramonfelder
Copy link
Contributor Author

Let me know if you prefer some other mechanism like numbering all generated signals just before a session setup is saved.

FYI: I'm also working on a feature to save/restore a complete trace tree including signal groups and vertical positions. This will also depend on some kind of unique identifier for all signals.

The mingw cross compilation script in sigrok-utils freezes Qt at version 5.7 for Windows XP support.
Qt5.7 does not support QUuid::WithoutBraces.
Rationale for removing the braces: They are encoded using an escape sequence in the settings file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants