Indeed.

Let playlist be a member of MainWindow and in the slot you just call play() or stop(), depending on the checkbox's state.

Cheers,
_