PDA

View Full Version : qlabel



weixj2003ld
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.

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