Page MenuHomePhabricator

Double threshold slider not drawn correctly on MacOS
Closed, ResolvedPublic

Description

The double threshold slider used in the volume visualisation bundle is not drawn correctly in a MacOS version. See attached screenshot.

Event Timeline

The volume visualization bundle uses the double slider from the qxt package,
which was introduced for the Mitk3M3 application.

its the only place in mitk that uses that package todate,
and we have no experience with it.

my assumption is, that it is closely related to that qt stylesheets

maybe Jan, you can have a look at it?,
as i have no idea about qt "skinning"

(In reply to comment #1)

The volume visualization bundle uses the double slider from the qxt package,
which was introduced for the Mitk3M3 application.

its the only place in mitk that uses that package todate,
and we have no experience with it.

my assumption is, that it is closely related to that qt stylesheets

maybe Jan, you can have a look at it?,
as i have no idea about qt "skinning"

I will take look at it.

The qxtspanslider isn't drawn correctly when using the standard Qt-MAC Style, possible fix for this bug is to change the QStyle of the slider ( take e.g. QPlastiqueStyle ) directly from the constructor of QmitkTransferFunctionWidget.

(In reply to comment #5)

Also reported to qxt-developer,

Reply from qxt-developer: It is a limitation of QMacStyle.

[SVN revision 21998]
FIX (#3355): Changing the QStyle for qxtSpanSlider to QPlastiqueStyle.

Merging "applicazion modules" component with "ExtApp plugins"