[Qt-interest] Mouse Press Event on GroupBox

Andre Somers andre at familiesomers.nl
Wed Feb 3 11:00:16 CET 2010


Sambhav wrote:
> Hi,
>  
> I need to call a function when mouse is pressed over the GroupBox 
> widget. How can I do this ?
>  
Subclass it, and reimplement the mousePressEvent to do what you want, or 
to emit a signal you defined yourself in your subclass, and connect to 
that.

André




More information about the Qt-interest-old mailing list