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(); }
ModelLayer::ModelLayer(const std::string& name, osg::Node* node): _initOptions( ModelLayerOptions(name) ), _modelSource( new NodeModelSource(node) ) { copyOptions(); }
ModelLayer::ModelLayer( const ModelLayerOptions& options, ModelSource* source ) : _modelSource( source ), _initOptions( options ) { copyOptions(); }
ModelLayer::ModelLayer( const std::string& name, const ModelSourceOptions& options ) : _initOptions( ModelLayerOptions( name, options ) ) { copyOptions(); }
ModelLayer::ModelLayer( const ModelLayerOptions& options ) : _initOptions( options ) { copyOptions(); }