void ToolController::setSmoothing(int smoothing) { if(m_smoothing != smoothing) { m_smoothing = smoothing; if(smoothing>0) m_smoother.setSmoothing(smoothing); emit smoothingChanged(smoothing); } }
void GazerGui::on_smoothCheckBox_stateChanged(int state) { emit smoothingChanged(state == Qt::Checked); }