QStyleOptionSlider MyIntervalSliderOptions::getUpperHandleOptions() const
{
	QStyleOptionSlider opt = copyOptions();
	opt.subControls = QStyle::SC_SliderHandle;
	opt.sliderPosition = m_upperPosition;
	opt.sliderValue = m_upperValue;
	return opt;
}
QStyleOptionSlider MyIntervalSliderOptions::getGrooveOptions() const
{
	QStyleOptionSlider opt = copyOptions();
	opt.subControls = QStyle::SC_SliderGroove | QStyle::SC_SliderTickmarks;
	return opt;
}
QStyleOptionSlider MyIntervalSliderOptions::getCommonOptions() const
{
	return copyOptions();
}
Beispiel #4
0
ModelLayer::ModelLayer(const std::string& name, osg::Node* node):
_initOptions( ModelLayerOptions(name) ),
_modelSource( new NodeModelSource(node) )
{
    copyOptions();
}
Beispiel #5
0
ModelLayer::ModelLayer( const ModelLayerOptions& options, ModelSource* source ) :
_modelSource( source ),
_initOptions( options )
{
    copyOptions();
}
Beispiel #6
0
ModelLayer::ModelLayer( const std::string& name, const ModelSourceOptions& options ) :
_initOptions( ModelLayerOptions( name, options ) )
{
    copyOptions();
}
Beispiel #7
0
ModelLayer::ModelLayer( const ModelLayerOptions& options ) :
_initOptions( options )
{
    copyOptions();
}