View Full Version : qlabel

10th September 2012, 04:02
I create my label inherited from QLabel,and add it into a QWidget.
Now I want to do the following thing,how to do?
If the mouse is moving on my label,the mouse becomes waiting-state,if the mouse is out of my label, the mouse becomes normal state.

Thank you.

10th September 2012, 05:53
QCursor and QWidget::setCursor()