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

Consider converting text boxes to NumericUpDown editors #353

Open
bparks13 opened this issue Oct 28, 2024 · 0 comments
Open

Consider converting text boxes to NumericUpDown editors #353

bparks13 opened this issue Oct 28, 2024 · 0 comments
Assignees
Milestone

Comments

@bparks13
Copy link
Member

Specifically in Rhs2116StimulusSequenceDialog, consider changing all editors from text boxes to NumericUpDown editors. This allows logic to be embedded in the editor to define minimum and maximum values, and also could allow for easier adjusting.

For time-based properties, the ticks can be based on some discrete number of samples per tick (i.e., one sample is ~33 ms, so one tick could be set to 3 samples, which would be ~100 ms). This can also be updated dynamically if the scale is on the order of tens of seconds.

For amplitude-based properties, the ticks can be based on the current step size, and each tick is one sample of the current step size.

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

No branches or pull requests

1 participant