Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

How can I set the cursor to busy-mode/in progress from my qgis plugin (cpp)?

I couldn't find anything in the API documentation.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

This is just a normal Qt thing. You can do:

QApplication::setOverrideCursor(Qt::WaitCursor);
share|improve this answer
    
Thank you a lot, works fine. I didn't knew that i can get the QApplication from Qt, because it's a plugin of QGis. –  schmiddor Dec 13 '12 at 11:08
    
Well QGIS is built on Qt so you can use any of the Qt libs –  Nathan W Dec 13 '12 at 11:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.