Page MenuHomePhabricator

Range slider for two values
Closed, ResolvedPublic

Description

Check if Qwt has one or find a "volunteer" to implement one.

Related Objects

Event Timeline

Just had a quick look: Qwt has extra sliders, but no such "range slider".

Qt Labs has recently released a demo for embedded devices, which includes code for a QtMultiSlider, maybe we can borrow the code from there:

http://labs.trolltech.com/blogs/2009/03/23/embedded-widgets-source-code-released/

http://qt.nokia.com/developer/embedded-widget-demos

Also, there is another extension pack for Qt, the Qt eXtension library" Qxt (available in version 0.5):

http://www.libqxt.org/

They also offer a range slider, called "QxtSpanSlider". Couldn't find a screenshot though.

Haven't found code for the Qt lab slider.

Would prefer qxt, anyway. Licence is CPL 1.0 or LGPL 2.1, users choice.

Hi guys,

with your okay I would add qxt to the public MITK's utilities.
It is a Qt extension which adds some nice new widgets, like the 2 value slider.
Also offers some improved Qt widgets, e.g. buttons with rich text support or improved lists.
Michi, some of these could be interesting for data manager.

After file cleanup it has now only 580 kB.

I also think this could be a good option... Also, according to the change history, the project has seen various recent and regular updates, probably more than Qwt.

[SVN revision 19798]
ADD (#2750): Added qxt, which e.g. features the two button slider

Xin, can you please use this slider. I think we filed this bug during your GUI demo.