Hi,
I have the following code :
m_pSliderMapper->setMapping( m_pSlider[0], 0 );
connect( m_pSlider[0], SIGNAL(valueChanged(int)),m_pSliderMapper,SLOT(map()));
connect( m_pSliderMapper, SIGNAL(mapped(int)),this,SLOT(ChangeTheTimer(int,int)) );
m_pSliderMapper->setMapping( m_pSlider[0], 0 );
connect( m_pSlider[0], SIGNAL(valueChanged(int)),m_pSliderMapper,SLOT(map()));
connect( m_pSliderMapper, SIGNAL(mapped(int)),this,SLOT(ChangeTheTimer(int,int)) );
To copy to clipboard, switch view to plain text mode
Where m_pSliderMapper is QSignalMapper and m_pSlider is QSlider. Can anyone see a reason why the ChangeTheTimer slot is not being called when I move the slider?
Regards,
Steve
Bookmarks