This sounds very simple and probably is but how do you manipulate the slider position of a QwtSlider for example to set a range of initial positions.
slider->setValue( value );
slider->setValue( value );
To copy to clipboard, switch view to plain text mode
Is it possible to disable a QwtSlider without greying out the associated scale.
The labels are painted with QPalette::Text, the ticks with QPalette::WindowText:
slider->setPalette( pal );
QPalette pal = slider->palette();
pal.setBrush( QPalette::Disabled, QPalette::Text,
pal.brush( QPalette::Active, QPalette::Text ) );
pal.setBrush( QPalette::Disabled, QPalette::WindowText,
pal.brush( QPalette::Active, QPalette::WindowText ) );
slider->setPalette( pal );
To copy to clipboard, switch view to plain text mode
Uwe
Bookmarks