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

ENH: Example how to use dynamic properties and stylesheets #4

Closed
wants to merge 1 commit into from

Conversation

Punzo
Copy link
Owner

@Punzo Punzo commented Apr 25, 2024

Bare bones example how to use dynamic properties and stylesheets in CTK to replace QPalette hard coded colors.

This would allow slicer customizations to replace the colors by simply defining them in the styleSheet.

Reference: commontk#1201

@Punzo
Copy link
Owner Author

Punzo commented Apr 25, 2024

hey @sjh26, @lassoan @jcfr @pieper this is just an bare bones example how we could modify CTK color dynamic changes. I would appreciate a lot if you can provide feedback. Then if you agree on a solution, I can apply the solution to all the CTK classes that uses the QPalette.

@Punzo Punzo deleted the branch visualDICOMBrowserENH May 6, 2024 07:42
@Punzo Punzo closed this May 6, 2024
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.

1 participant