[vtkusers] Change cursor in QVTKwidget

G G greenlander1986 at gmail.com
Thu Apr 14 11:03:12 EDT 2011


Hi, I am trying to set cursor to my application, but I set cursor and I
cannot set it back
qVTK1 is QTVKWidget object. I tried set cursor in another way, but I set
only Qt::WaitCursor and I dont know how to set back Qt::ArrowCursor
If you hepl me, I will be very happy :)

     //QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
     //setCursor(QCursor(Qt::WaitCursor));
     qVTK1->setCursor(QCursor(Qt::WaitCursor));
     this->getCheckedSource();
     this->data1->Set_seriespath(fileName.toStdString());
     this->data1->Set_filepath("");
     this->data1->loadingData(qVTK1, this->orientation);
     qVTK1->setCursor(QCursor(Qt::ArrowCursor));
     //setCursor(QCursor(Qt::ArrowCursor));
     //QApplication::restoreOverrideCursor();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110414/eeadc342/attachment.htm>


More information about the vtkusers mailing list