Edit this page

NA-MIC Project Weeks

Back to Projects List

Transitioning 3D Slicer to QSS Styling

Key Investigators

Project Description

Currently 3D Slicer support both QStyle based styling and QtStylesheets. To improve custom apps and user experience, we woud like to move all styling to QSS.

Objective

  1. Allow users to modify theme colors / add new themes
  2. Support the existing Slicer Dark / Light themes through QSS

Approach and Plan

  1. Create QSS files for the existing Slicer Dark / Light themes
  2. Integrate qt-material package to support Material styles through python
  3. Create a SlicerThemes (?) extension which pulls in qt-material and add glue code

Progress and Next Steps

  1. Describe specific steps you have actually done.

Illustrations

qt-material package out of the box w / light blue theme

qt-material no tweaks

qt-material package with some manual tweaks to theme file

qt-material with some tweaks

Background and References

  1. Discourse post
  2. qt-material