src/hbwidgets/sliders/hbslidertickmarkslabel.cpp
changeset 23 e6ad4ef83b23
parent 21 4633027730f5
equal deleted inserted replaced
21:4633027730f5 23:e6ad4ef83b23
   154          HbStyleOptionSlider opt;
   154          HbStyleOptionSlider opt;
   155          initStyleOption(&opt);
   155          initStyleOption(&opt);
   156          opt.orientation = d->slider->orientation();
   156          opt.orientation = d->slider->orientation();
   157          opt.text = (d->slider->majorTickLabels( )).at(i);
   157          opt.text = (d->slider->majorTickLabels( )).at(i);
   158          HbStylePrivate::updatePrimitive(textItem,HbStylePrivate::P_SliderTickMark_majorlabel,&opt);
   158          HbStylePrivate::updatePrimitive(textItem,HbStylePrivate::P_SliderTickMark_majorlabel,&opt);
   159 	}
   159     }
   160     int minimum = d->slider->minimum();
   160     int minimum = d->slider->minimum();
   161     int maximum = d->slider->maximum();
   161     int maximum = d->slider->maximum();
   162     int majorTickInterval = d->slider->majorTickInterval ( );
   162     int majorTickInterval = d->slider->majorTickInterval ( );
   163     int minorTickInterval = d->slider->minorTickInterval ( );
   163     int minorTickInterval = d->slider->minorTickInterval ( );
   164     qreal span = 0;
   164     qreal span = 0;