UCL / SkullBaseNavigation

Other
2 stars 1 forks source link

WIP: Resolve "Use different Qt theme/style" - [closed] #90

Closed tdowrick closed 3 years ago

tdowrick commented 3 years ago

In GitLab by @ThomasDowrick on May 14, 2019, 13:53

Merges 8-use-different-qt-theme-style -> update-volume-colour-maps

Closes #8

tdowrick commented 3 years ago

In GitLab by @ThomasDowrick on May 14, 2019, 14:38

Normal slicer theme: image

Dark theme: image

tdowrick commented 3 years ago

In GitLab by @ThomasDowrick on May 14, 2019, 14:43

In Slicer 4.8:

There is a bug which stops us setting the dark theme in code. Instead, from Slicer main window:

Edit->Application Settings->Appearance->Style->Dark Slicer
Also check 'Save user interface size ...' box
image

Then to make the buttons look nicer:

app = qt.QApplication.instance()
app.setStyle('Plastique')

If we ever use Slicer 4.10, it can be done in code:

app = qt.QApplication.instance()
app.setStyle('Dark Slicer')
tdowrick commented 3 years ago

In GitLab by @ThomasDowrick on May 14, 2019, 14:44

closed