I can't see in your code a connect statement that connects to the mousePressEvent() slot.
Never mind I see now what you meant.