comparison layer/SliceLayer.cpp @ 1382:2df1af7ac752 spectrogramparam

Add oversampling option to spectrum as well
author Chris Cannam
date Wed, 07 Nov 2018 11:37:51 +0000
parents d79e21855aef
children 86f319dd6ab9
comparison
equal deleted inserted replaced
1381:2f4476993ae6 1382:2df1af7ac752
366 { 366 {
367 if (!m_sliceableModel || !m_sliceableModel->isOK() || 367 if (!m_sliceableModel || !m_sliceableModel->isOK() ||
368 !m_sliceableModel->isReady()) return; 368 !m_sliceableModel->isReady()) return;
369 369
370 paint.save(); 370 paint.save();
371 paint.setRenderHint(QPainter::Antialiasing, false); 371 paint.setRenderHint(QPainter::Antialiasing, m_plotStyle == PlotLines);
372 paint.setBrush(Qt::NoBrush); 372 paint.setBrush(Qt::NoBrush);
373 373
374 if (v->getViewManager() && v->getViewManager()->shouldShowScaleGuides()) { 374 if (v->getViewManager() && v->getViewManager()->shouldShowScaleGuides()) {
375 if (!m_scalePoints.empty()) { 375 if (!m_scalePoints.empty()) {
376 paint.setPen(QColor(240, 240, 240)); //!!! and dark background? 376 paint.setPen(QColor(240, 240, 240)); //!!! and dark background?