void MOOptVector::setCurPoint(int curPoint) { if(_usePoints && (curPoint!=_curPoint)) { _curPoint = curPoint; emit curScanChanged(); reset(); } }
void MOOptVector::setCurScan(int curScan) { if(_useScan && (curScan!=_curScan)) { _curScan = curScan; emit curScanChanged(); reset(); } }
void MOOptVector::setCurScan(int curScan) { if(_useScan && (curScan!=_curScan)) { _curScan = curScan; emit curScanChanged(); #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) // no idea how to use reset() in qt5 TODO! FIXME! #else reset(); #endif } }