Author Topic: setOverrideCursor  (Read 2019 times)

jlbeck

  • Newbie
  • *
  • Posts: 5
    • View Profile
setOverrideCursor
« on: June 14, 2004, 07:02:09 pm »
I\'m attempting to change the cursor during a long operation. Is this the correct
syntax?

  QApplication::setOverrideCursor( QCursor(waitCursor) );
    ...
  QApplication::restoreOverrideCursor();

It compiles and links clean but the cursor never changes.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
setOverrideCursor
« Reply #1 on: June 14, 2004, 07:27:50 pm »
cursor? what cursor?

You probably want to use
Code: [Select]
{

   QCopEnvelope e("QPE/System", "busy()" );

}

...

{

   QCopEnvelope e("QPE/System", "notBusy()" );

}
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

jlbeck

  • Newbie
  • *
  • Posts: 5
    • View Profile
setOverrideCursor
« Reply #2 on: June 15, 2004, 09:50:13 pm »
Thank you. I now have the world of QCopEnvelope to explore!