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