Skip to content

Commit

Permalink
External resource progress
Browse files Browse the repository at this point in the history
  • Loading branch information
sjh26 committed Jun 26, 2024
1 parent 467aa12 commit 17e6ea9
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions PW41_2024_MIT/Projects/UpdatedIconsAndThemeSwitching/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ We will be working on integrating new icons, QSS support, and better dynamic the
If there are specific steps that you could not complete then you can describe them here, too. -->


1. Possible approach - External RCC
1. External resource binaries
- Refactor out current resources into an external resource file
- [Dynamically Loaded Resources](https://doc.qt.io/qt-6/qresource.html#dynamic-resource-loading)
- Load dark vs. light resources at startup
Expand All @@ -76,17 +76,26 @@ We will be working on integrating new icons, QSS support, and better dynamic the
# Illustrations

<!-- Add pictures and links to videos that demonstrate what has been accomplished. -->
## Example of New icons
![image](https://raw.githubusercontent.com/Slicer/slicer-media-assets/main/SlicerIcons/SlicerSVG/SeparateStyles/LightThemeIcons/SpatialProbes/SlicerSlicePlanesOptions.svg)
![image](https://raw.githubusercontent.com/Slicer/slicer-media-assets/main/SlicerIcons/SlicerSVG/SeparateStyles/LightThemeIcons/Modules/SegmentEditorModule.svg)
![image](https://raw.githubusercontent.com/Slicer/slicer-media-assets/main/SlicerIcons/SlicerSVG/SeparateStyles/LightThemeIcons/Modules/WelcomeModule.svg)

## Switching with external resources in test extension

### Slicer Dark:
![SlicerDark](https://github.com/NA-MIC/ProjectWeek/assets/25040869/fbb2c794-a1d6-4bf4-b490-0c3fa7ddd341)


### Slicer Light:
![SlicerLight](https://github.com/NA-MIC/ProjectWeek/assets/25040869/bdaa9be2-2b56-4357-bc36-ea95927a2d2b)


# Background and References

<!-- If you developed any software, include link to the source code repository.
If possible, also add links to sample data, and to any relevant publications. -->
- [Icon document](https://docs.google.com/document/d/1OYhRzBFjwT6dUOIDVL_II8ZQ8QUwDl68wbtt3eIV1ao/edit?usp=sharing)
- [Repo](https://github.com/Slicer/slicer-media-assets)
- [Icon design document](https://docs.google.com/document/d/1OYhRzBFjwT6dUOIDVL_II8ZQ8QUwDl68wbtt3eIV1ao/edit?usp=sharing)
- [Asset repo](https://github.com/Slicer/slicer-media-assets)
- [Testing extension](https://github.com/sjh26/SlicerIconSwitch)

0 comments on commit 17e6ea9

Please sign in to comment.