bool SaxsviewImage::minorTicksVisible() const { // // All axis are in sync, just pick one. // QwtScaleDraw *draw = p->scales[QwtPlot::xBottom]->scaleDraw(); return draw->tickLength(QwtScaleDiv::MinorTick) > 0; }
bool SaxsviewImage::majorTicksVisible() const { QwtScaleDraw *draw = p->scales[QwtPlot::xBottom]->scaleDraw(); return draw->tickLength(QwtScaleDiv::MajorTick) > 0; }