UCL / SkullBaseNavigation

Other
2 stars 1 forks source link

Use different Qt theme/style #8

Closed tdowrick closed 3 years ago

tdowrick commented 3 years ago

In GitLab by @ThomasDowrick on Nov 6, 2018, 09:12

The default style/theme is currently being used. Is it better to customise to make it look more 'professional'?

tdowrick commented 3 years ago

In GitLab by @MattClarkson on Dec 10, 2018, 11:44

@JonathanShapey - moving this to next milestone, as its optional.

tdowrick commented 3 years ago

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

created branch 8-use-different-qt-theme-style to address this issue

tdowrick commented 3 years ago

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

created merge request !13 to address this issue

tdowrick commented 3 years ago

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

mentioned in merge request !13

tdowrick commented 3 years ago

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

Normal slicer theme: image

Dark theme: image

tdowrick commented 3 years ago

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

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 Jun 5, 2019, 11:44

Closing as not really urgent/needed. Can reopen in future.

tdowrick commented 3 years ago

In GitLab by @ThomasDowrick on Jun 5, 2019, 11:44

closed