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

Create contrast widget for the project window #44

Open
StephenNneji opened this issue Oct 9, 2024 · 0 comments · May be fixed by #63
Open

Create contrast widget for the project window #44

StephenNneji opened this issue Oct 9, 2024 · 0 comments · May be fixed by #63
Assignees

Comments

@StephenNneji
Copy link
Contributor

StephenNneji commented Oct 9, 2024

This should be a widget for the contrasts list in the project class. The widget should be placed in the Contrast tab and should be laid out similar to the mock below.

  • The list of contrast are shown on the left of the widget. This is a replacement for the previous tab based arrangement, changing the selected contrast name from the list should update the other widgets
  • In the edit mode a new empty contrast is created when the plus button is pressed and the selected contrast(s) removed when the trash button is clicked.
  • Resampling and repeat layers checkboxes should selectable in both display and edit mode, if their implementations do not lead to any drastic changes.
  • Repeat layers has not been implemented yet in RAT so this can be left out if this is still the case when implementing. In the design the 1x signifies the number of times to repeat. The x should be added as a suffix, the user should only have to type the actual number
  • If the project is domains and standard layer, the model layer becomes the domain contrasts instead and the domain ratio option is available
  • For Custom layers and XY projects, the layer/domain contrast is replaced with the custom files.
  • While at least one contrasts is required, the contrast list can still be empty. We could either make it so it can never be empty (create a default and prevent it from being deleted) or create an empty screen as shown below

Screenshot 2024-10-16 115308
Screenshot 2024-10-16 122236

Custom Layer or XY
Screenshot 2024-10-16 122252

Domains
Screenshot 2024-10-16 115709

Empty
Screenshot 2024-10-16 115738

@StephenNneji StephenNneji changed the title Create widget for Contrast Create contrast widget for the project window Oct 17, 2024
@alexhroom alexhroom self-assigned this Nov 22, 2024
@alexhroom alexhroom linked a pull request Jan 20, 2025 that will close this issue
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 a pull request may close this issue.

2 participants